blob: 8482fb695c89613340c0f0d54e87ed3ad63ffe96 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/js-test.js"></script>
<script>
var jsTestIsAsync = true;
description('Test that an inner global captured in a closure acts as if its creating context is detached when the creating context is navigated.');
var loadCount = 0;
function maybeFinishTest()
{
if (++loadCount < 2)
return;
savedClosure();
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body>
<iframe src="resources/property-access-in-closure-after-navigation-child.html" onload="maybeFinishTest()"></iframe>
</body>
</html>