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

Unified Diff: LayoutTests/fast/css/fontloader-loadingdone.html

Issue 23717059: [Font Load Events] Implement FontFaceSet methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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/fontloader-loadingdone.html
diff --git a/LayoutTests/fast/css/fontloader-loadingdone.html b/LayoutTests/fast/css/fontloader-loadingdone.html
index a23ef5ec7fe48bf250db53b47a5c2d7598983006..12827b7128ba932439e9b80563012b8e8eb594e2 100644
--- a/LayoutTests/fast/css/fontloader-loadingdone.html
+++ b/LayoutTests/fast/css/fontloader-loadingdone.html
@@ -28,8 +28,8 @@ function runTests() {
shouldBeEqualToString('window.getComputedStyle(testDiv, 0).width', '48px');
};
- document.fonts.notifyWhenFontsReady(function() {
- debug('notifyWhenFontsReady() callback');
+ document.fonts.ready().then(function() {
+ debug('ready() promise fulfilled');
shouldBeEqualToString('window.getComputedStyle(testDiv, 0).width', '48px');
finishJSTest();
});
« no previous file with comments | « LayoutTests/fast/css/fontloader-events.html ('k') | LayoutTests/fast/css/fontloader-loadingdone-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698