<!DOCTYPE html> | |
<html> | |
<body> | |
<div id="console"></div> | |
<script> | |
window.foo = "FAIL: Visible in isolated world."; | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.evaluateScriptInIsolatedWorld( | |
0, | |
"document.getElementById('console').innerHTML = window.foo"); | |
} | |
</script> | |
</body> | |
</html> |