Skip to content

Commit

Permalink
Prevent the error from triggering a page error in Worker-nested-impor…
Browse files Browse the repository at this point in the history
…tScripts-error

Fixes #23511
  • Loading branch information
Eijebong committed Jun 11, 2019
1 parent b3eed5b commit ecd6926
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -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.