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

Unified Diff: LayoutTests/fast/css/fontface-arraybuffer.html

Issue 184633005: [CSS Font Loading] Remove FontFace#ready, fold its functionality into FontFace#load (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/fontface-methods.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/fontface-arraybuffer.html
diff --git a/LayoutTests/fast/css/fontface-arraybuffer.html b/LayoutTests/fast/css/fontface-arraybuffer.html
index 536a07f6678143e6282761654960558539400e0d..ae33df322c92f1b8b9bbb0fffb0ad0270f91cc33 100644
--- a/LayoutTests/fast/css/fontface-arraybuffer.html
+++ b/LayoutTests/fast/css/fontface-arraybuffer.html
@@ -25,7 +25,7 @@ document.fonts.add(face2);
var face3 = new FontFace('FontFromEmptyArrayBuffer', new ArrayBuffer(0), {});
shouldBeEqualToString('face3.status', 'error');
-face3.ready().catch(function(v) {
+face3.load().catch(function(v) {
rejectionValue = v;
shouldBeEqualToString('rejectionValue.name', 'SyntaxError');
document.fonts.ready().then(verify);
« no previous file with comments | « no previous file | LayoutTests/fast/css/fontface-methods.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698