Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector-enabled/dom-storage-open.html

Issue 1877223003: DevTools: deprecate InspectorTest.runAfterPendingDispatches (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698