diff options
Diffstat (limited to 'testing/web-platform/tests/html/semantics/scripting-1/the-script-element/promise-reject-and-remove.html')
-rw-r--r-- | testing/web-platform/tests/html/semantics/scripting-1/the-script-element/promise-reject-and-remove.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/promise-reject-and-remove.html b/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/promise-reject-and-remove.html new file mode 100644 index 0000000000..a3b2730e56 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/promise-reject-and-remove.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script> +async_test(t => { + window.onload = t.step_func_done(); +}, 'Removing iframe in promise reject handler should not crash'); +</script> +<iframe src="resources/promise-reject-and-remove-iframe.html"></iframe> |