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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/resources/css-protocol-test.js

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 function initialize_cssTest() 1 function initialize_cssTest()
2 { 2 {
3 3
4 InspectorTest.dumpStyleSheetText = function(styleSheetId, callback) 4 InspectorTest.dumpStyleSheetText = function(styleSheetId, callback)
5 { 5 {
6 InspectorTest.sendCommandOrDie("CSS.getStyleSheetText", { styleSheetId: styl eSheetId }, onStyleSheetText); 6 InspectorTest.sendCommandOrDie("CSS.getStyleSheetText", { styleSheetId: styl eSheetId }, onStyleSheetText);
7 function onStyleSheetText(result) 7 function onStyleSheetText(result)
8 { 8 {
9 InspectorTest.log("==== Style sheet text ===="); 9 InspectorTest.log("==== Style sheet text ====");
10 InspectorTest.log(result.text); 10 InspectorTest.log(result.text);
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 { 194 {
195 if (!omitLog) 195 if (!omitLog)
196 InspectorTest.log("Dumping inline style: "); 196 InspectorTest.log("Dumping inline style: ");
197 InspectorTest.log("{"); 197 InspectorTest.log("{");
198 InspectorTest.dumpStyle(result.inlineStyle, 0); 198 InspectorTest.dumpStyle(result.inlineStyle, 0);
199 InspectorTest.log("}"); 199 InspectorTest.log("}");
200 InspectorTest.loadAndDumpMatchingRulesForNode(nodeId, callback, omitLog) 200 InspectorTest.loadAndDumpMatchingRulesForNode(nodeId, callback, omitLog)
201 } 201 }
202 } 202 }
203 } 203 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698