async_test(t => { const frame = document.createElement("frame"), form = document.createElement("form"); t.add_cleanup(() => frame.remove()); form.action = "/common/blank.html"; form.target = "doesnotmattertwobits"; frame.name = "doesnotmattertwobits"; document.body.appendChild(frame); frame.onload = t.step_func(() => { if(frame.contentWindow.location.href === "about:blank") return; assert_unreached(); }); form.submit(); t.step_timeout(() => { assert_equals(frame.contentWindow.location.href, "about:blank"); t.done(); }, 500); }, "