Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: LayoutTests/http/tests/security/isolatedWorld/image-properties.html

Issue 13954010: Eliminate "temporary" and "uninitialized" isolated worlds (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <div id="console"></div> 4 <div id="console"></div>
5 <script> 5 <script>
6 Image.foo = "FAIL: Visible in isolated world."; 6 Image.foo = "FAIL: Visible in isolated world.";
7 if (window.testRunner) { 7 if (window.testRunner) {
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 testRunner.evaluateScriptInIsolatedWorld( 9 testRunner.evaluateScriptInIsolatedWorld(
10 0, 10 1,
11 "document.getElementById('console').innerHTML = Image.foo"); 11 "document.getElementById('console').innerHTML = Image.foo");
12 } 12 }
13 </script> 13 </script>
14 </body> 14 </body>
15 </html> 15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698