Chromium Code Reviews| Index: LayoutTests/http/tests/resources/js-test-pre.js |
| diff --git a/LayoutTests/http/tests/resources/js-test-pre.js b/LayoutTests/http/tests/resources/js-test-pre.js |
| index f4f502f00db641d00a2e2ca9c2c241bf9a92eca0..319277ba0cc48130067ac638ce201477ec28d814 100644 |
| --- a/LayoutTests/http/tests/resources/js-test-pre.js |
| +++ b/LayoutTests/http/tests/resources/js-test-pre.js |
| @@ -72,10 +72,12 @@ var description, debug, successfullyParsed, errorMessage; |
| if (!isWorker()) |
| insertStyleSheet(); |
| - self.onerror = function(message) |
| - { |
| - errorMessage = message; |
| - }; |
| + if (!self.isOnErrorTest) { |
|
do-not-use
2013/07/24 15:11:29
nit: Should we update LayoutTests/fast/js/resource
do-not-use
2013/07/24 15:11:29
Should we update LayoutTests/fast/js/resources/js-
Mike West
2013/07/24 15:21:57
We should, good idea. I'll add that.
|
| + self.onerror = function(message) |
| + { |
| + errorMessage = message; |
| + }; |
| + } |
| })(); |