| 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();
|
| });
|
|
|