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

Side by Side Diff: webkit/data/layout_tests/chrome/http/tests/security/isolatedWorld/iframe-document-properties.html

Issue 149193: Add some test for isolated worlds. These tests don't run properly at the mom... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div id="console"></div>
5 <iframe src="about:blank"></iframe>
6 <script>
7 frames[0].document.foo = "FAIL: Visible in isolated world.";
8 if (window.layoutTestController) {
9 layoutTestController.dumpAsText();
10 layoutTestController.queueScriptInIsolatedWorld(
11 "document.getElementById('console').innerHTML = frames[0].document.foo");
12 }
13 </script>
14 </body>
15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698