From 8c3d0aaca0d1db89a3a23665cfde43980c6191ed Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Fri, 19 Oct 2018 09:15:54 +0200 Subject: Fix a test (#670) --- toolkit/components/thumbnails/test/test_thumbnails_interfaces.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'toolkit/components/thumbnails') 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"); } -- cgit v1.2.3