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

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

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 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 // svg/dynamic-updates tests set enablePixelTesting=true, as we want to dump tex t + pixel results 1 // svg/dynamic-updates tests set enablePixelTesting=true, as we want to dump tex t + pixel results
2 if (self.testRunner) 2 if (self.testRunner) {
3 testRunner.dumpAsText(self.enablePixelTesting); 3 if (self.enablePixelTesting)
4 testRunner.dumpAsTextWithPixelResults();
5 else
6 testRunner.dumpAsText();
7 }
4 8
5 var description, debug, successfullyParsed, errorMessage; 9 var description, debug, successfullyParsed, errorMessage;
6 10
7 (function() { 11 (function() {
8 12
9 function getOrCreate(id, tagName) 13 function getOrCreate(id, tagName)
10 { 14 {
11 var element = document.getElementById(id); 15 var element = document.getElementById(id);
12 if (element) 16 if (element)
13 return element; 17 return element;
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 testPassed = function(msg) { 561 testPassed = function(msg) {
558 workerPort.postMessage('PASS:' + msg); 562 workerPort.postMessage('PASS:' + msg);
559 } 563 }
560 finishJSTest = function() { 564 finishJSTest = function() {
561 workerPort.postMessage('DONE:'); 565 workerPort.postMessage('DONE:');
562 } 566 }
563 debug = function(msg) { 567 debug = function(msg) {
564 workerPort.postMessage(msg); 568 workerPort.postMessage(msg);
565 } 569 }
566 } 570 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698