Index: third_party/WebKit/LayoutTests/fast/workers/worker-onerror-05.html |
diff --git a/third_party/WebKit/LayoutTests/fast/workers/worker-onerror-05.html b/third_party/WebKit/LayoutTests/fast/workers/worker-onerror-05.html |
index be9481701abd52b4e9b0add433f6643047fde60c..3e04a1ae48ee900c97096322074c761b6e201b4f 100644 |
--- a/third_party/WebKit/LayoutTests/fast/workers/worker-onerror-05.html |
+++ b/third_party/WebKit/LayoutTests/fast/workers/worker-onerror-05.html |
@@ -24,21 +24,20 @@ |
foo.bar = 0; |
</script> |
<script> |
- description("This tests that exceptions trigger a worker's onerror in addition to the page-level 'worker.onerror'."); |
+ description("This tests that exceptions don't trigger a worker's onerror in addition to the page-level 'worker.onerror'."); |
- checkPostMessage({ |
+ checkErrorEventInHandler([{ |
message: "Uncaught ReferenceError: foo is not defined", |
filename: "[blob: URL]", |
lineno: 13, |
colno: 9, |
- }); |
- |
- checkErrorEventInHandler({ |
+ }, |
+ { |
message: "Uncaught ReferenceError: foo is not defined", |
filename: "[blob: URL]", |
lineno: 13, |
colno: 9, |
- }); |
+ }]); |
</script> |
</body> |
</html> |