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

Unified Diff: LayoutTests/fast/css/fontfaceset-multiple-families.html

Issue 625943002: Catch uncaught promise rejections from V8 and log to console. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: added promise.catch in test-helpers.js 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/fast/css/fontfaceset-multiple-families.html
diff --git a/LayoutTests/fast/css/fontfaceset-multiple-families.html b/LayoutTests/fast/css/fontfaceset-multiple-families.html
index 51e0aeb94c988e57353549c6b5e53631c211f8be..3f2946afcf86a6b552af1e80f8616dd1a78780f6 100644
--- a/LayoutTests/fast/css/fontfaceset-multiple-families.html
+++ b/LayoutTests/fast/css/fontfaceset-multiple-families.html
@@ -34,7 +34,7 @@ function runTests() {
document.fonts.addEventListener('loadingerror', onLoadingError);
document.fonts.ready().then(finish);
- document.fonts.load('10px TestFont1, TestFont2, TestFont3, TestFont4', 'abc');
+ document.fonts.load('10px TestFont1, TestFont2, TestFont3, TestFont4', 'abc').catch(function() {});
}
var event;
« no previous file with comments | « LayoutTests/fast/css/fontfaceset-multiple-faces-download-error.html ('k') | LayoutTests/http/tests/inspector/console-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698