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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/debugger/scriptParsedHash.html

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 years, 6 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 <html> 1 <html>
2 <head> 2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource s/inspector-protocol-test.js"></script>
4 <script> 4 <script>
5 function test() 5 function test()
6 { 6 {
7 var hashes = new Set(["1C6D2E82E4E4F1BA4CB5762843D429DC872EBA18", 7 var hashes = new Set(["1C6D2E82E4E4F1BA4CB5762843D429DC872EBA18",
8 "EBF1ECD351E7A3294CB5762843D429DC872EBA18", 8 "EBF1ECD351E7A3294CB5762843D429DC872EBA18",
9 "22D0043331237371241FC675A984B967025A3DC0"]); 9 "22D0043331237371241FC675A984B967025A3DC0"]);
10 InspectorTest.sendCommandOrDie("Debugger.enable", {}, function() { 10 InspectorTest.sendCommandOrDie("Debugger.enable", {}, function() {
11 InspectorTest.eventHandler["Debugger.scriptParsed"] = function(messageOb ject) 11 InspectorTest.eventHandler["Debugger.scriptParsed"] = function(messageOb ject)
12 { 12 {
13 if (hashes.has(messageObject.params.hash)) 13 if (hashes.has(messageObject.params.hash))
(...skipping 14 matching lines...) Expand all
28 function step2() 28 function step2()
29 { 29 {
30 InspectorTest.completeTest(); 30 InspectorTest.completeTest();
31 } 31 }
32 } 32 }
33 </script> 33 </script>
34 </head> 34 </head>
35 <body onLoad="runTest();"> 35 <body onLoad="runTest();">
36 </body> 36 </body>
37 </html> 37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698