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

Unified Diff: third_party/WebKit/LayoutTests/fast/workers/worker-onerror-05.html

Issue 2090953006: [Blink-Workers]Set verbosity of the external exception handler. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix flaky test. Created 4 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: 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>

Powered by Google App Engine
This is Rietveld 408576698