summaryrefslogtreecommitdiffstats
path: root/dom/browser-element/mochitest/file_browserElement_ForwardName.html
blob: 60b41bbc64a937bd94ac5d5491ba9c76e58817b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html>
<body>
<script>

if (window.name == 'foo') {
  alert("success:window.name == 'foo'");
}
else {
  alert("failure:window.name == '" + window.name + "', expected 'foo'");
}

window.open('file_browserElement_ForwardName.html#finish', 'foo');
</script>
</body>
</html>