blob: ef6deffe20c44288f6c6c46d7ee0b16ba1673b7f [file] [log] [blame]
CONSOLE WARNING: line 29: SharedArrayBuffer will require cross-origin isolation as of M91, around May 2021. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details.
Tests ArrayBuffer / ArrayBufferView constructors of FontFace.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS face1.status is "loaded"
PASS face2.status is "loaded"
PASS rejectionValue.name is "TypeError"
PASS face3.status is "error"
PASS rejectionValue.name is "SyntaxError"
PASS document.getElementById('FontFromArrayBuffer').offsetWidth is document.getElementById('ref').offsetWidth
PASS document.getElementById('FontFromArrayBufferView').offsetWidth is document.getElementById('ref').offsetWidth
PASS successfullyParsed is true
TEST COMPLETE
abc
abc
abc