| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../inspector/inspector-test.js"></script> | 4 <script src="../inspector/inspector-test.js"></script> |
| 5 <script src="../inspector/resources-test.js"></script> | 5 <script src="../inspector/resources-test.js"></script> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 function onload() | 8 function onload() |
| 9 { | 9 { |
| 10 if (window.testRunner) | 10 if (window.testRunner) |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 function callback() | 22 function callback() |
| 23 { | 23 { |
| 24 InspectorTest.domStorageModel().enable(); | 24 InspectorTest.domStorageModel().enable(); |
| 25 var storages = InspectorTest.domStorageModel().storages(); | 25 var storages = InspectorTest.domStorageModel().storages(); |
| 26 for (var i = 0; i < storages.length; ++i) { | 26 for (var i = 0; i < storages.length; ++i) { |
| 27 InspectorTest.addResult("SecurityOrigin: " + storages[i].securityOri
gin); | 27 InspectorTest.addResult("SecurityOrigin: " + storages[i].securityOri
gin); |
| 28 InspectorTest.addResult("IsLocalStorage: " + storages[i].isLocalStor
age); | 28 InspectorTest.addResult("IsLocalStorage: " + storages[i].isLocalStor
age); |
| 29 } | 29 } |
| 30 InspectorTest.completeTest(); | 30 InspectorTest.completeTest(); |
| 31 } | 31 } |
| 32 InspectorTest.runAfterPendingDispatches(callback); | 32 InspectorTest.deprecatedRunAfterPendingDispatches(callback); |
| 33 } | 33 } |
| 34 | 34 |
| 35 </script> | 35 </script> |
| 36 | 36 |
| 37 </head> | 37 </head> |
| 38 <body onload="onload()"> | 38 <body onload="onload()"> |
| 39 <p>Tests that Web Inspector gets populated with DOM storages according to securi
ty origins found in the page.</p> | 39 <p>Tests that Web Inspector gets populated with DOM storages according to securi
ty origins found in the page.</p> |
| 40 </body> | 40 </body> |
| 41 </html> | 41 </html> |
| OLD | NEW |