5 if (window
.testRunner
) {
6 testRunner
.dumpAsText();
7 testRunner
.setCanOpenWindows();
8 testRunner
.waitUntilDone();
13 document
.getElementById("logger").innerHTML
+= a
+ "<br>";
18 if (!window
.localStorage
) {
19 log("window.localStorage DOES NOT exist");
26 window
.localStorage
.setItem("FOO", "BAR");
27 log("Value for FOO is " + window
.localStorage
.getItem("FOO"));
28 window
.open("resources/window-open-second.html");
35 <body onload=
"runTest();">
36 This is a test to make sure the localStorage object for multiple windows in the same security origin share the same global storage area.
<br>
37 <div id=
"logger"></div>