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/browsing_context_name.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>Retaining window.name on history traversal</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<pre id="step_log"></pre>
<script>
var t = async_test();
t.step(() => {
win = window.open("browsing_context_name-0.html");
t.add_cleanup(() => win.close());
});
</script>