Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / domstorage / localstorage / window-open.html
blobd5efac72cf55c65634c3241b1c4181f6c63c9604
1 <html>
2 <head>
3 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.setCanOpenWindows();
8 testRunner.waitUntilDone();
11 function log(a)
13 document.getElementById("logger").innerHTML += a + "<br>";
16 function runTest()
18 if (!window.localStorage) {
19 log("window.localStorage DOES NOT exist");
20 return;
22 localStorage.clear();
24 window.log = log;
26 window.localStorage.setItem("FOO", "BAR");
27 log("Value for FOO is " + window.localStorage.getItem("FOO"));
28 window.open("resources/window-open-second.html");
33 </script>
34 </head>
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>
38 </body>
39 </html>