summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/browsing-the-web/history-traversal/unset_context_name.html
blob: 6814ed50e2f5ecb7b4fc46d47d6feedb87eb466e (plain)
1
2
3
4
5
6
7
<!doctype html>
<!-- test must be run in a top level browsing context -->
<title>window.name after navigating to a different origin</title>
<script>
window.name = "test_window";
location.href = location.href.replace("http://", "http://www.").replace("unset_context_name", "unset_context_name-1");
</script>