Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / inspector-enabled / dom-storage-open.html
blob91dd5e5288b82b1bee31e417ce6759a44e0c6aec
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../inspector/inspector-test.js"></script>
5 <script src="../inspector/resources-test.js"></script>
6 <script>
8 function onload()
10 if (window.testRunner)
11 testRunner.waitUntilDone();
13 window.sessionStorage["inspector"] = "true";
15 if (window.testRunner)
16 testRunner.showWebInspector();
17 runTest();
20 function test()
22 function callback()
24 InspectorTest.domStorageModel().enable();
25 var storages = InspectorTest.domStorageModel().storages();
26 for (var i = 0; i < storages.length; ++i) {
27 InspectorTest.addResult("SecurityOrigin: " + storages[i].securityOrigin);
28 InspectorTest.addResult("IsLocalStorage: " + storages[i].isLocalStorage);
30 InspectorTest.completeTest();
32 InspectorTest.runAfterPendingDispatches(callback);
35 </script>
37 </head>
38 <body onload="onload()">
39 <p>Tests that Web Inspector gets populated with DOM storages according to security origins found in the page.</p>
40 </body>
41 </html>