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

Unified Diff: LayoutTests/inspector/console/console-format-es6.html

Issue 625943002: Catch uncaught promise rejections from V8 and log to console. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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/console-format-es6.html
diff --git a/LayoutTests/inspector/console/console-format-es6.html b/LayoutTests/inspector/console/console-format-es6.html
index 2facacbddff8401db5f52f6dfa5c786ad97a3c1c..067b718baf02b3aea291789252771256f9ad28dd 100644
--- a/LayoutTests/inspector/console/console-format-es6.html
+++ b/LayoutTests/inspector/console/console-format-es6.html
@@ -50,8 +50,11 @@ function onload()
bigmap.set(42, 42);
bigmap.set({foo:"from"}, {foo:"to"});
+ var p = Promise.reject(-0);
+ p.catch(function() {});
+
globals = [
- Promise.reject(-0), smb1, smb2, obj, map, weakMap, set, weakSet,
+ p, smb1, smb2, obj, map, weakMap, set, weakSet,
mapMap0, mapMap, setSet0, setSet, bigmap
];

Powered by Google App Engine
This is Rietveld 408576698