Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(850)

Unified Diff: LayoutTests/http/tests/workers/resources/worker-importscripts-onerror-redirect-to-crossorigin.js

Issue 22467005: Correctly attribute exceptions thrown inside a Worker's imported scripts. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Killing windows-specific expectations. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/workers/resources/worker-importscripts-onerror-redirect-to-crossorigin.js
diff --git a/LayoutTests/http/tests/workers/resources/worker-importscripts-onerror-redirect-to-crossorigin.js b/LayoutTests/http/tests/workers/resources/worker-importscripts-onerror-redirect-to-crossorigin.js
index ffd337f5dbf64f780639fb04e3be66493ab15cdf..86c9cd4a06751c91b9b4be4da604cdb817437f66 100644
--- a/LayoutTests/http/tests/workers/resources/worker-importscripts-onerror-redirect-to-crossorigin.js
+++ b/LayoutTests/http/tests/workers/resources/worker-importscripts-onerror-redirect-to-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, colno, error) {
+ postMessage({ 'message': message, 'filename': filename, 'lineno': lineno, 'colno': colno, 'error': error });
};
var differentRedirectOrigin = "/resources/redirect.php?url=http://localhost:8000/workers/resources/worker-importScripts-throw.js";

Powered by Google App Engine
This is Rietveld 408576698