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