| 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..0be819e15d8b6247cae0b6604343b5646cacddfd 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/css/fontface-arraybuffer.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/fontface-arraybuffer.html
|
| @@ -31,6 +31,8 @@ face3.load().catch(function(v) {
|
| document.fonts.ready.then(verify);
|
| });
|
|
|
| +shouldThrow("new FontFace('', new Uint8Array(new SharedArrayBuffer(100)))", '"TypeError: Failed to construct \'FontFace\': parameter 2 is a view of a SharedArrayBuffer."');
|
| +
|
| function verify() {
|
| shouldBe("document.getElementById('FontFromArrayBuffer').offsetWidth", "document.getElementById('ref').offsetWidth");
|
| shouldBe("document.getElementById('FontFromArrayBufferView').offsetWidth", "document.getElementById('ref').offsetWidth");
|
|
|