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

Unified Diff: LayoutTests/fast/workers/resources/worker-script-error-handled.js

Issue 19693006: Pass column as 4th argument to WorkerGlobalScope.onerror handler (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 5 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/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;
« no previous file with comments | « LayoutTests/fast/events/window-onerror9-expected.txt ('k') | LayoutTests/fast/workers/worker-script-error-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698