3 This is a test of a page whose sessionStorage namespace cannot be merged.
6 <title>Prerender Page
</title>
9 var pageWasPrerendered
= false;
10 // Read sessionStorage.value. This should make the merge invalid.
11 var sessionStorageValue
= sessionStorage
.value
;
13 function DidPrerenderPass() {
14 pageWasPrerendered
= true;
18 // Verify the sessionStorage value didn't change.
19 function DidDisplayPass() {
20 return !pageWasPrerendered
&& sessionStorageValue
=== sessionStorage
.value
;