blob: b3e5a79a8b728ab6581eeafb98a43a514e761f43 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<div id="console"></div>
<script>
String.prototype.foo = "FAIL: Visible in isolated world.";
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.evaluateScriptInIsolatedWorld(
0,
"document.getElementById('console').innerHTML = ''.foo");
}
</script>
</body>
</html>