blob: 355268e41e721f08ae55f6bb066e3150b756e4f1 [file] [log] [blame]
<p>
This page tests whether declaring a variable named "name" changes the window's
name in the DOM. If the test passes, you'll see a PASS message below.
</p>
<pre id="console">FAIL</pre>
<script>
function pass()
{
document.getElementById("console").innerHTML = "PASS";
if (window.layoutTestController)
layoutTestController.notifyDone();
}
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
}
var name = "test";
window.open("javascript:pass()", "test");
</script>