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

Unified Diff: LayoutTests/fast/events/window-onerror1.html

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
« no previous file with comments | « no previous file | LayoutTests/fast/events/window-onerror1-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/window-onerror1.html
diff --git a/LayoutTests/fast/events/window-onerror1.html b/LayoutTests/fast/events/window-onerror1.html
index 3c9e4e2c22d1e7bc724ed2792ecb79b9758f28ea..7074962fe299b6e0b60b529403a1a5b577df07e8 100644
--- a/LayoutTests/fast/events/window-onerror1.html
+++ b/LayoutTests/fast/events/window-onerror1.html
@@ -17,9 +17,9 @@ function print(message, color)
function test()
{
// must be last because the exception ends JavaScript execution
- window.onerror = function (error, url, line) {
+ window.onerror = function (error, url, line, column) {
url = url ? url.match( /[^\/]+\/?$/ )[0] : url;
- print("PASS: caught global error: " + error + " at " + url + ":" + line, "green");
+ print("PASS: caught global error: " + error + " at " + url + ", line: " + line + ", column: " + column, "green");
return true;
};
hahaha_good_luck_finding_me(); // caught by window.onerror
« no previous file with comments | « no previous file | LayoutTests/fast/events/window-onerror1-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698