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 |