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

Unified Diff: LayoutTests/http/tests/webfont/fontfaceset-status-attribute.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/http/tests/webfont/fontfaceset-status-attribute.html
diff --git a/LayoutTests/http/tests/webfont/fontfaceset-status-attribute.html b/LayoutTests/http/tests/webfont/fontfaceset-status-attribute.html
index f622465589bd0f7346ef7c782f1dc3b002cc2bd5..7f9d95aafc84deb2ea83cfb67fb5e96bdfd6f3fd 100644
--- a/LayoutTests/http/tests/webfont/fontfaceset-status-attribute.html
+++ b/LayoutTests/http/tests/webfont/fontfaceset-status-attribute.html
@@ -21,7 +21,7 @@ function runTests() {
function onsuccess() {
shouldBeTrue("document.fonts.check('10px TestFont')");
- document.fonts.ready().then(onFontsReady);
+ document.fonts.ready.then(onFontsReady);
}
function onFontsReady() {

Powered by Google App Engine
This is Rietveld 408576698