<!DOCTYPE html>
<html>
<body>
<div id="output"></div>
<script>
window.focus();

// This should not pick up the 'bar' defined in the isolated world from the parent
// document, or the 'hotdog' defined in previous runs of this frame.
testRunner.evaluateScriptInIsolatedWorld(1,
  "document.getElementById('output').appendChild(document.createTextNode(window.bar + ',' + window.hotdog));");

// Next time we run, we also shouldn't see this 'hotdog'.
testRunner.evaluateScriptInIsolatedWorld(1, "var hotdog = 'hotdog';");

parent.iframeComplete(document.getElementById("output").textContent);
</script>
</body>
</html>
