Chromium Code Reviews| Index: pkg/unittest/lib/test_controller.js |
| diff --git a/pkg/unittest/lib/test_controller.js b/pkg/unittest/lib/test_controller.js |
| index 68b83bfe0a33f260a8ec4bcc9285d8c2b7868975..efdf2b441c8b5461afc4aeb296cbdb0a4ba9aca4 100644 |
| --- a/pkg/unittest/lib/test_controller.js |
| +++ b/pkg/unittest/lib/test_controller.js |
| @@ -91,7 +91,12 @@ function notifyDone() { |
| function processMessage(msg) { |
| // TODO(ricow): REMOVE, debug info, see issue 13292 |
| if (!testRunner) { |
| - printMessage('processMessage(): ' + msg); |
| + try { |
| + // Filter out ShadowDOM polyfill messages which are random floats. |
| + if (msg != parseFloat(msg)) { |
| + printMessage('processMessage(): ' + msg); |
| + } |
| + } catch(e) {} |
| } |
| if (typeof msg != 'string') return; |
|
Jennifer Messerly
2013/10/23 18:14:32
maybe just move up this check instead?
blois
2013/10/23 18:20:23
Done, removed try/catch.
|
| if (msg == 'unittest-suite-done') { |