Bug 1794339 [wpt PR 36358] - Add tests for javascript: URL task queuing, a=testonly
commited4bd2f1dd7c555704e9cadb4c3241f68e8afbcb
authorDomenic Denicola <d@domenic.me>
Thu, 13 Oct 2022 16:07:59 +0000 (13 16:07 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 21 Oct 2022 10:37:36 +0000 (21 10:37 +0000)
treef6215bf5381605665071db5ff5601df57affda15
parentc9425a027fd2889daa26ef6ed7bdc335b0c0744f
Bug 1794339 [wpt PR 36358] - Add tests for javascript: URL task queuing, a=testonly

Automatic update from web-platform-tests
Add tests for javascript: URL task queuing

See https://github.com/whatwg/html/issues/3730. Follows the spec in https://github.com/whatwg/html/pull/6315.

--
Delete failing-in-all-browsers 029.html

See some discussion in https://github.com/whatwg/html/issues/3730 about this test. However, it is very broken, and when we remove the brokenness, it becomes redundant with the just-added javascript-url-task-queuing.html. In particular, it's assuming beforeunload will fire. But beforeunload will never fire for a javascript: URL that returns a non-string value, since we're never in danger of unloading the document.

--

wpt-commits: b9d6751e534aed6a8d9eb1e7e51640f968b943bb1a2f69d137c5ccbaaf678bf372a1a410ced97eed
wpt-pr: 36358
testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-task-queuing.html [new file with mode: 0644]
testing/web-platform/tests/html/semantics/scripting-1/the-script-element/execution-timing/029.html [deleted file]