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 55b41928010a11aef5e5bcfaba791aa3175c70a6..20848000325474216c8b5db9131076096f2eb6a3 100644 |
--- a/LayoutTests/http/tests/workers/resources/worker-importscripts-onerror-crossorigin.js |
+++ b/LayoutTests/http/tests/workers/resources/worker-importscripts-onerror-crossorigin.js |
@@ -1,5 +1,5 @@ |
-self.onerror = function (message, filename, lineno, column) { |
- postMessage({ 'message': message, 'filename': filename, 'lineno': lineno, 'column': column }); |
+self.onerror = function (message, filename, lineno, column, error) { |
+ postMessage({ 'message': message, 'filename': filename, 'lineno': lineno, 'column': column, 'error': error }); |
}; |
importScripts('http://localhost:8000/workers/resources/worker-importScripts-throw.js'); |