OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |