Update web-platform-tests to revision 887d08e63a19b14acf3217df77f12c121a792fed

This commit is contained in:
WPT Sync Bot 2019-06-18 10:23:53 +00:00
parent 97ad913dc2
commit a41065a1f4
65 changed files with 1433 additions and 463 deletions

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Dynamic import triggered from inactive context should not crash</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="container">
<iframe></iframe>
</div>
<script>
test(() => {
const iframe = document.querySelector('iframe');
const otherWindow = iframe.contentWindow;
iframe.remove();
// Below should not crash
otherWindow.eval(`import('foobar');`);
}, 'dynamic import from inactive context should not crash');
</script>