| Index: LayoutTests/fast/css/fontloader-multiple-faces.html
|
| diff --git a/LayoutTests/fast/css/fontloader-multiple-faces.html b/LayoutTests/fast/css/fontloader-multiple-faces.html
|
| index dbb02486180d1787c6c1f066b687bd2ff47bea8b..c1366be2473abd5d2556b68daf1348c9339a89ed 100644
|
| --- a/LayoutTests/fast/css/fontloader-multiple-faces.html
|
| +++ b/LayoutTests/fast/css/fontloader-multiple-faces.html
|
| @@ -21,9 +21,9 @@ window.jsTestIsAsync = true;
|
| function runTests() {
|
| document.fonts.addEventListener('loading', onLoading);
|
| document.fonts.addEventListener('loadingdone', onLoadingDone);
|
| - document.fonts.notifyWhenFontsReady(finish);
|
| + document.fonts.ready().then(finish);
|
|
|
| - document.fonts.loadFont({font: '10px TestFont'});
|
| + document.fonts.load('10px TestFont');
|
| }
|
|
|
| var event;
|
| @@ -39,7 +39,7 @@ function onLoadingDone(e) {
|
| shouldBe("event.fontfaces.length", "2");
|
| shouldBeEqualToString("event.fontfaces[0].status", "loaded");
|
| shouldBeEqualToString("event.fontfaces[1].status", "loaded");
|
| - shouldBeTrue("document.fonts.checkFont('10px TestFont')");
|
| + shouldBeTrue("document.fonts.check('10px TestFont')");
|
| }
|
|
|
| function onLoadingError(e) {
|
|
|