Skip to content
Permalink
Browse files

Prevent the error from triggering a page error in Worker-nested-impor…

…tScripts-error

Fixes #23511
  • Loading branch information...
Eijebong committed Jun 11, 2019
1 parent b3eed5b commit ecd6926ac215661d38d2deb1ac71de1903f1bfab
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/wpt/web-platform-tests/workers/Worker-nested-importScripts-error.html
@@ -12,6 +12,7 @@
}).then(e => {
assert_equals(e.type, "error");
assert_true(e.filename.indexOf('invalidScript.js') >= 0);
e.preventDefault();
});
}, 'Tests that errors from the import scripts come from the expected file.')
</script>

0 comments on commit ecd6926

Please sign in to comment.
You can’t perform that action at this time.