Index: LayoutTests/fast/workers/resources/worker-script-error-handled.js |
diff --git a/LayoutTests/fast/workers/resources/worker-script-error-handled.js b/LayoutTests/fast/workers/resources/worker-script-error-handled.js |
index a20d4108b595c04a089ebeb048b21dabce9ac887..21f7d5d4f783a6d669839851dc653afb1e49bb65 100644 |
--- a/LayoutTests/fast/workers/resources/worker-script-error-handled.js |
+++ b/LayoutTests/fast/workers/resources/worker-script-error-handled.js |
@@ -1,7 +1,7 @@ |
-onerror = function(message, url, lineno) |
+onerror = function(message, url, lineno, column) |
{ |
- postMessage("onerror invoked for a script that has script error '" + message + "' at line " + lineno); |
+ postMessage("onerror invoked for a script that has script error '" + message + "' at line " + lineno + ":" + column); |
return true; |
} |
-foo.bar = 0; |
+if (true) foo.bar = 0; |