Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/browsers/browsing-the-web/history-traversal/window-name-after-same-origin-main-frame-navigation.html - WPT Dashboard Interop Dashboard
<!DOCTYPE HTML>
<title>window.name after a same-origin main frame navigation</title>
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
<body>
<script>
var win;
async_test(function(t) {
win = window.open("support/window-name-after-same-origin-main-frame-navigation-1.sub.html")
addEventListener("message", t.step_func_done(e => assert_true(e.data)));
}).add_cleanup(() => {if (win) {win.close()}});
</script>