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

Unified Diff: LayoutTests/fast/css/fontfaceset-multiple-faces-download-error.html

Issue 816923002: Switch FontFaceSet#ready from a method to an attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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-faces-download-error.html
diff --git a/LayoutTests/fast/css/fontfaceset-multiple-faces-download-error.html b/LayoutTests/fast/css/fontfaceset-multiple-faces-download-error.html
index 79ccee02cbf9cf232276911cf86064472ab714a4..913912749e65f09b432e1ddb062bcdd822a0941c 100644
--- a/LayoutTests/fast/css/fontfaceset-multiple-faces-download-error.html
+++ b/LayoutTests/fast/css/fontfaceset-multiple-faces-download-error.html
@@ -22,7 +22,7 @@ function runTests() {
document.fonts.addEventListener('loading', onLoading);
document.fonts.addEventListener('loadingdone', onLoadingDone);
document.fonts.addEventListener('loadingerror', onLoadingError);
- document.fonts.ready().then(finish);
+ document.fonts.ready.then(finish);
document.fonts.load('10px TestFont', 'abc').catch(function() {});
}

Powered by Google App Engine
This is Rietveld 408576698