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

Side by Side Diff: chrome/test/data/prerender/prerender_session_storage.html

Issue 797443002: Remove prerender sessionStorage namespace merging (1/2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
OLDNEW
(Empty)
1 <html>
2 <!--
3 This test checks to make sure that the prerendered page was loaded with the
4 correct sessionStorage namespace.
5 -->
6 <head>
7 <title>Prerender Page</title>
8
9 <script>
10 var pageWasPrerendered = false;
11
12 function DidPrerenderPass() {
13 pageWasPrerendered = true;
14 return true;
15 }
16
17 // Verify the sessionStorage value was set.
18 function DidDisplayPass() {
19 return pageWasPrerendered && sessionStorage.value === "hello";
20 }
21 </script>
22
23 </head>
24 <body></body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698