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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/resources/layer-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_layersTest() 1 function initialize_layersTest()
2 { 2 {
3 3
4 var layers; 4 var layers;
5 var layerTreeChangeCallback; 5 var layerTreeChangeCallback;
6 6
7 InspectorTest.step = function(test) 7 InspectorTest.step = function(test)
8 { 8 {
9 InspectorTest.sendCommand(test.command, test.parameters, function(messageObj ect) { 9 InspectorTest.sendCommand(test.command, test.parameters, function(messageObj ect) {
10 if (messageObject.hasOwnProperty("error")) { 10 if (messageObject.hasOwnProperty("error")) {
(...skipping 28 matching lines...) Expand all
39 return; 39 return;
40 } 40 }
41 InspectorTest.eventHandler["LayerTree.layerTreeDidChange"] = onLayerTreeChan ged; 41 InspectorTest.eventHandler["LayerTree.layerTreeDidChange"] = onLayerTreeChan ged;
42 InspectorTest.setLayerTreeChangeCallback(callback); 42 InspectorTest.setLayerTreeChangeCallback(callback);
43 InspectorTest.sendCommand("DOM.getDocument", {}, function() { 43 InspectorTest.sendCommand("DOM.getDocument", {}, function() {
44 InspectorTest.sendCommand("LayerTree.enable", {}, function() { }); 44 InspectorTest.sendCommand("LayerTree.enable", {}, function() { });
45 }); 45 });
46 } 46 }
47 47
48 } 48 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698