Index: third_party/WebKit/LayoutTests/fast/css/fontface-arraybuffer.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/fontface-arraybuffer.html b/third_party/WebKit/LayoutTests/fast/css/fontface-arraybuffer.html |
index 1bbcd1ca8eaa93157ef681dcd7cc6e2b8e8b0d34..aa060f51409793771a657df156bbdb2c7d6bf02b 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css/fontface-arraybuffer.html |
+++ b/third_party/WebKit/LayoutTests/fast/css/fontface-arraybuffer.html |
@@ -16,11 +16,11 @@ for (var i = 0; i < ahemString.length; i++) { |
} |
var face1 = new FontFace('FontFromArrayBuffer', buffer); |
-shouldBeEqualToString('face1.status', 'loaded'); |
+shouldBeEqualToString('face1.status', 'loading'); |
document.fonts.add(face1); |
var face2 = new FontFace('FontFromArrayBufferView', uint8View); |
-shouldBeEqualToString('face2.status', 'loaded'); |
+shouldBeEqualToString('face2.status', 'loading'); |
document.fonts.add(face2); |
var face3 = new FontFace('FontFromEmptyArrayBuffer', new ArrayBuffer(0)); |
@@ -32,6 +32,8 @@ face3.load().catch(function(v) { |
}); |
function verify() { |
+ shouldBeEqualToString('face1.status', 'loaded'); |
+ shouldBeEqualToString('face2.status', 'loaded'); |
shouldBe("document.getElementById('FontFromArrayBuffer').offsetWidth", "document.getElementById('ref').offsetWidth"); |
shouldBe("document.getElementById('FontFromArrayBufferView').offsetWidth", "document.getElementById('ref').offsetWidth"); |
finishJSTest(); |