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

Side by Side Diff: LayoutTests/http/tests/inspector/inspector-test.js

Issue 26110004: Defer the real work in updateCompositingLayers until it's really needed. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: patch for landing Created 7 years, 2 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 var initialize_InspectorTest = function() { 1 var initialize_InspectorTest = function() {
2 2
3 var results = []; 3 var results = [];
4 var resultsSynchronized = false; 4 var resultsSynchronized = false;
5 5
6 function consoleOutputHook(messageType) 6 function consoleOutputHook(messageType)
7 { 7 {
8 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu ments, 1)); 8 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu ments, 1));
9 } 9 }
10 10
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 setTimeout(step, 100); 473 setTimeout(step, 100);
474 } 474 }
475 475
476 function runTest(enableWatchDogWhileDebugging) 476 function runTest(enableWatchDogWhileDebugging)
477 { 477 {
478 if (!window.testRunner) 478 if (!window.testRunner)
479 return; 479 return;
480 480
481 testRunner.dumpAsText(); 481 testRunner.dumpAsText();
482 testRunner.waitUntilDone(); 482 testRunner.waitUntilDone();
483 testRunner.display();
483 484
484 function initializeFrontend(initializationFunctions) 485 function initializeFrontend(initializationFunctions)
485 { 486 {
486 if (window.InspectorTest) { 487 if (window.InspectorTest) {
487 InspectorTest.pageLoaded(); 488 InspectorTest.pageLoaded();
488 return; 489 return;
489 } 490 }
490 491
491 InspectorTest = {}; 492 InspectorTest = {};
492 493
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 evaluateInWebInspector: function(callId, script) 617 evaluateInWebInspector: function(callId, script)
617 { 618 {
618 window.opener.postMessage(["evaluateInWebInspector", callId, script], "* "); 619 window.opener.postMessage(["evaluateInWebInspector", callId, script], "* ");
619 }, 620 },
620 621
621 display: function() { } 622 display: function() { }
622 } 623 }
623 624
624 if (!window.testRunner && window.opener) 625 if (!window.testRunner && window.opener)
625 window.testRunner = new StandaloneTestRunnerStub(); 626 window.testRunner = new StandaloneTestRunnerStub();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698