| 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..31457b629b2cabba57576ab22f5b49e9775b9f04 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/css/fontface-arraybuffer.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/fontface-arraybuffer.html
|
| @@ -23,6 +23,16 @@ var face2 = new FontFace('FontFromArrayBufferView', uint8View);
|
| shouldBeEqualToString('face2.status', 'loaded');
|
| document.fonts.add(face2);
|
|
|
| +if (window.SharedArrayBuffer) {
|
| + try {
|
| + new FontFace('FontFromSharedArrayBufferView',
|
| + new Uint8Array(new SharedArrayBuffer(4)));
|
| + } catch (e) {
|
| + rejectionValue = e;
|
| + shouldBeEqualToString('rejectionValue.name', 'TypeError');
|
| + }
|
| +}
|
| +
|
| var face3 = new FontFace('FontFromEmptyArrayBuffer', new ArrayBuffer(0));
|
| shouldBeEqualToString('face3.status', 'error');
|
| face3.load().catch(function(v) {
|
|
|