summaryrefslogtreecommitdiff
path: root/toolkit/components
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-10-19 09:15:54 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-10-19 09:15:54 +0200
commit8c3d0aaca0d1db89a3a23665cfde43980c6191ed (patch)
tree08c8d4370db7134397aba0e54302f7a10b8e19a9 /toolkit/components
parentea5b5766a92bc13fc7eb9dc484e133a7a0638d50 (diff)
downloaduxp-8c3d0aaca0d1db89a3a23665cfde43980c6191ed.tar.gz
Fix a test (#670)
Diffstat (limited to 'toolkit/components')
-rw-r--r--toolkit/components/thumbnails/test/test_thumbnails_interfaces.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/toolkit/components/thumbnails/test/test_thumbnails_interfaces.js b/toolkit/components/thumbnails/test/test_thumbnails_interfaces.js
index 8272b2e069..a8fe514182 100644
--- a/toolkit/components/thumbnails/test/test_thumbnails_interfaces.js
+++ b/toolkit/components/thumbnails/test/test_thumbnails_interfaces.js
@@ -22,10 +22,4 @@ function run_test() {
null, null);
ok(uri instanceof Ci.nsIFileURL, "moz-page-thumb:// is a FileURL");
ok(uri.file, "This moz-page-thumb:// object is backed by a file");
-
- // and check that the error case works as specified
- let bad = Services.io.newURI("moz-page-thumb://wronghost/?url=http%3A%2F%2Fwww.mozilla.org%2F",
- null, null);
- Assert.throws(() => handler.resolveURI(bad), /NS_ERROR_NOT_AVAILABLE/i,
- "moz-page-thumb object with wrong host must not resolve to a file path");
}