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

Side by Side Diff: LayoutTests/http/tests/security/isolatedWorld/storage-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 localStorage.clear(); 6 localStorage.clear();
7 localStorage.foo = "Visible"; 7 localStorage.foo = "Visible";
8 sessionStorage.clear(); 8 sessionStorage.clear();
9 sessionStorage.foo = "Visible"; 9 sessionStorage.foo = "Visible";
10 if (window.testRunner) { 10 if (window.testRunner) {
11 testRunner.dumpAsText(); 11 testRunner.dumpAsText();
12 testRunner.evaluateScriptInIsolatedWorld( 12 testRunner.evaluateScriptInIsolatedWorld(
13 0, 13 1,
14 "document.getElementById('console').innerHTML = localStorage.foo + ' and ' + sessionStorage.foo"); 14 "document.getElementById('console').innerHTML = localStorage.foo + ' and ' + sessionStorage.foo");
15 } 15 }
16 </script> 16 </script>
17 </body> 17 </body>
18 </html> 18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698