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

Side by Side Diff: LayoutTests/inspector-protocol/layers/layer-protocol-test.js

Issue 183703003: Remove more testRunner.display() calls from LayoutTests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ditch fast/text/font-initial changes too Created 6 years, 9 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 | Annotate | Revision Log
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 }
49
50 function onLoad()
51 {
52 if (window.testRunner)
53 window.testRunner.display();
54 }
55
56 window.addEventListener("load", onLoad, false);
OLDNEW
« no previous file with comments | « LayoutTests/inspector-protocol/layers/get-layers.html ('k') | LayoutTests/inspector/extensions/extensions-events.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698