Index: LayoutTests/fast/workers/worker-script-error.html |
diff --git a/LayoutTests/fast/workers/worker-script-error.html b/LayoutTests/fast/workers/worker-script-error.html |
index 64813c71e94d3435bcda0569932a101c6eada8ee..416cb91aa1be225c5219e81c2bbf1b850a90ab32 100644 |
--- a/LayoutTests/fast/workers/worker-script-error.html |
+++ b/LayoutTests/fast/workers/worker-script-error.html |
@@ -51,7 +51,7 @@ function testScriptErrorUnhandled() |
try { |
var worker = new Worker("resources/worker-script-error-unhandled.js"); |
worker.onerror = function(evt) { |
- log("PASS: onerror invoked for a script that has script error '" + evt.message + "' at line " + evt.lineno + "."); |
+ log("PASS: onerror invoked for a script that has script error '" + evt.message + "' at line " + evt.lineno + " and column " + evt.colno + "."); |
runNextTest(); |
return false; |
} |
@@ -67,7 +67,7 @@ function testScriptErrorAddEventListener() |
var worker = new Worker("resources/worker-script-error-unhandled.js"); |
worker.addEventListener("error", |
function(evt) { |
- log("PASS: event listener invoked for a script that has script error '" + evt.message + "' at line " + evt.lineno + "."); |
+ log("PASS: event listener invoked for a script that has script error '" + evt.message + "' at line " + evt.lineno + " and column " + evt.colno + "."); |
runNextTest(); |
evt.preventDefault(); |
}, false); |
@@ -83,7 +83,7 @@ function testErrorInHandlingScriptError() |
var worker = new Worker("resources/worker-error-in-handling-script-error.js"); |
var errorCount = 0; |
worker.onerror = function(evt) { |
- log("PASS: onerror invoked for a script that has script error '" + evt.message + "' at line " + evt.lineno + "."); |
+ log("PASS: onerror invoked for a script that has script error '" + evt.message + "' at line " + evt.lineno + " and column " + evt.colno + "."); |
++errorCount; |
// Second error happens in the onerror handler. Run next test only when it's reported. |
if (errorCount == 2) |
@@ -104,7 +104,7 @@ function testScriptErrorBubbledAndHandledInWorker() |
log("message from worker: \"" + evt.data + "\"."); |
} |
worker.onerror = function(evt) { |
- log("PASS: onerror invoked for a script that has script error '" + evt.message + "' at line " + evt.lineno + "."); |
+ log("PASS: onerror invoked for a script that has script error '" + evt.message + "' at line " + evt.lineno + " and column " + evt.colno + "."); |
runNextTest(); |
return false; |
} |
@@ -119,7 +119,7 @@ function testScriptErrorBubbledAndReportedToUser() |
try { |
var worker = new Worker("resources/worker-script-error-bubbled.js"); |
worker.onerror = function(evt) { |
- log("PASS: onerror invoked for a script that has script error '" + evt.message + "' at line " + evt.lineno + "."); |
+ log("PASS: onerror invoked for a script that has script error '" + evt.message + "' at line " + evt.lineno + " and column " + evt.colno + "."); |
runNextTest(); |
return true; |
} |