diff options
Diffstat (limited to 'tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/resources/promise-reject-and-remove-iframe.html')
-rw-r--r-- | tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/resources/promise-reject-and-remove-iframe.html | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/resources/promise-reject-and-remove-iframe.html b/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/resources/promise-reject-and-remove-iframe.html deleted file mode 100644 index 6da274469f8..00000000000 --- a/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/resources/promise-reject-and-remove-iframe.html +++ /dev/null @@ -1,12 +0,0 @@ -<!DOCTYPE html> -<script> -const promise = Promise.reject(); - -window.onload = () => { - promise.catch(() => parent.document.querySelector('iframe').remove()); -}; -</script> - -<!-- Load a slow script to delay window.onload for a while. - Without this, crashes are flaky. --> -<script src="/common/slow.py"></script> |