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

Unified Diff: LayoutTests/inspector/console/resources/worker-with-defer-handled-promise.js

Issue 1095943002: DevTools: [console] Logged promise rejections do not change state once handled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: for landing Created 5 years, 8 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: LayoutTests/inspector/console/resources/worker-with-defer-handled-promise.js
diff --git a/LayoutTests/inspector/console/resources/worker-with-defer-handled-promise.js b/LayoutTests/inspector/console/resources/worker-with-defer-handled-promise.js
new file mode 100644
index 0000000000000000000000000000000000000000..b483f559663e8c45795d45a59a47f6054ea5857f
--- /dev/null
+++ b/LayoutTests/inspector/console/resources/worker-with-defer-handled-promise.js
@@ -0,0 +1,6 @@
+var p = Promise.reject(new Error("Handled error"));
+
+onmessage = function(event)
+{
+ p.catch(function() {});
+}

Powered by Google App Engine
This is Rietveld 408576698