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

Side by Side Diff: LayoutTests/fast/js/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 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 testPassed = function(msg) { 671 testPassed = function(msg) {
668 workerPort.postMessage('PASS:' + msg); 672 workerPort.postMessage('PASS:' + msg);
669 } 673 }
670 finishJSTest = function() { 674 finishJSTest = function() {
671 workerPort.postMessage('DONE:'); 675 workerPort.postMessage('DONE:');
672 } 676 }
673 debug = function(msg) { 677 debug = function(msg) {
674 workerPort.postMessage(msg); 678 workerPort.postMessage(msg);
675 } 679 }
676 } 680 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698