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

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

Issue 335333002: Make "descriptors" argument of FontFace constructor optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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-properties.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 ae33df322c92f1b8b9bbb0fffb0ad0270f91cc33..ee4c7ca1a0f422a7cc1de8577ce50e404294922b 100644
--- a/LayoutTests/fast/css/fontface-arraybuffer.html
+++ b/LayoutTests/fast/css/fontface-arraybuffer.html
@@ -15,15 +15,15 @@ for (var i = 0; i < ahemString.length; i++) {
uint8View[i] = ahemString.charCodeAt(i);
}
-var face1 = new FontFace('FontFromArrayBuffer', buffer, {});
+var face1 = new FontFace('FontFromArrayBuffer', buffer);
shouldBeEqualToString('face1.status', 'loaded');
document.fonts.add(face1);
-var face2 = new FontFace('FontFromArrayBufferView', uint8View, {});
+var face2 = new FontFace('FontFromArrayBufferView', uint8View);
shouldBeEqualToString('face2.status', 'loaded');
document.fonts.add(face2);
-var face3 = new FontFace('FontFromEmptyArrayBuffer', new ArrayBuffer(0), {});
+var face3 = new FontFace('FontFromEmptyArrayBuffer', new ArrayBuffer(0));
shouldBeEqualToString('face3.status', 'error');
face3.load().catch(function(v) {
rejectionValue = v;
« no previous file with comments | « no previous file | LayoutTests/fast/css/fontface-properties.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698