Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

  • This test has a WPT meta file that expects 1 subtest issues.
  • This WPT test may be referenced by the following Test IDs:
// META: title=Child that immediately stops window during loading does not crash
// META: script=../resources/helpers.js
// This test reproduces Servo issue https://github.com/servo/servo/issues/44720
async_test((test) => {
addIframe().then(iframe => {
iframe.contentWindow.addEventListener("unload", test.step_func_done(() => {
assert_equals(
iframe.contentWindow.location.href,
);
}));
iframe.src = "./resources/child-immediately-stops-during-loading.html";
});
});