| 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 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 } |
| OLD | NEW |