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

Unified Diff: LayoutTests/fast/css/fontloader-events.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-events.html
diff --git a/LayoutTests/fast/css/fontloader-events.html b/LayoutTests/fast/css/fontloader-events.html
index 0bb3b0eeb12adba39fcd6a74efc4280c6d33c63a..a88c9c116807b2d70ee2b045031fd22a77821f0c 100644
--- a/LayoutTests/fast/css/fontloader-events.html
+++ b/LayoutTests/fast/css/fontloader-events.html
@@ -26,7 +26,7 @@ function runTests() {
document.fonts.onloadingdone = handleEvent;
document.fonts.onloadingerror = handleEvent;
- document.fonts.notifyWhenFontsReady(function() {
+ document.fonts.ready().then(function() {
shouldBe('numberOfEvents', '2');
finishJSTest();
});
« no previous file with comments | « LayoutTests/fast/css/fontloader-download-error.html ('k') | LayoutTests/fast/css/fontloader-loadingdone.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698