Skip to content
Permalink
Browse files

Auto merge of #23552 - Eijebong:fix-23511, r=jdm

Prevent the error from triggering a page error in Worker-nested-importScripts-error

Fixes #23511

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23552)
<!-- Reviewable:end -->
  • Loading branch information...
bors-servo committed Jun 12, 2019
2 parents 8e78357 + ecd6926 commit cbfa8397797c6263eee10c16a237d76e61077963
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 cbfa839

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