1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML//EN">
4 <script src=
"../inspector/inspector-test.js"></script>
5 <script src=
"../inspector/resources-test.js"></script>
10 if (window
.testRunner
)
11 testRunner
.waitUntilDone();
13 window
.sessionStorage
["inspector"] = "true";
15 if (window
.testRunner
)
16 testRunner
.showWebInspector();
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
);
38 <body onload=
"onload()">
39 <p>Tests that Web Inspector gets populated with DOM storages according to security origins found in the page.
</p>