Chromium Code Reviews| Index: LayoutTests/http/tests/workers/resources/worker-importscripts-onerror-crossorigin.js |
| diff --git a/LayoutTests/http/tests/workers/resources/worker-importscripts-onerror-crossorigin.js b/LayoutTests/http/tests/workers/resources/worker-importscripts-onerror-crossorigin.js |
| index 0ea785c6e66255b400cf81178490552fe6438ee6..095b622b9dc70081e5c41f64398161ac46c2b7a6 100644 |
| --- a/LayoutTests/http/tests/workers/resources/worker-importscripts-onerror-crossorigin.js |
| +++ b/LayoutTests/http/tests/workers/resources/worker-importscripts-onerror-crossorigin.js |
| @@ -1 +1,5 @@ |
| +self.onerror = function (message, url, line, column) { |
| + postMessage({ 'message': message, 'url': url, 'line': line, 'column': column }); |
|
do-not-use
2013/07/25 08:08:14
Might be nice to use the same naming as in ErrorEv
Mike West
2013/07/25 08:29:01
I can do that.
Honestly, I'd prefer to rename the
|
| +}; |
| + |
| importScripts('http://localhost:8000/workers/resources/worker-importScripts-throw.js'); |