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

Side by Side Diff: webkit/data/layout_tests/chrome/http/tests/security/isolatedWorld/string-prototype.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 <script>
6 String.prototype.foo = "FAIL: Visible in isolated world.";
7 if (window.layoutTestController) {
8 layoutTestController.dumpAsText();
9 layoutTestController.queueScriptInIsolatedWorld(
10 "document.getElementById('console').innerHTML = ''.foo");
11 }
12 </script>
13 </body>
14 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698