OLD | NEW |
(Empty) | |
| 1 Tests ArrayBuffer / ArrayBufferView constructors of FontFace. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS face1.status is "loaded" |
| 7 PASS face2.status is "loaded" |
| 8 PASS face3.status is "error" |
| 9 PASS new FontFace('', new Uint8Array(new SharedArrayBuffer(100))) threw exceptio
n TypeError: Failed to construct 'FontFace': parameter 2 is a view of a SharedAr
rayBuffer.. |
| 10 PASS rejectionValue.name is "SyntaxError" |
| 11 PASS document.getElementById('FontFromArrayBuffer').offsetWidth is document.getE
lementById('ref').offsetWidth |
| 12 PASS document.getElementById('FontFromArrayBufferView').offsetWidth is document.
getElementById('ref').offsetWidth |
| 13 PASS successfullyParsed is true |
| 14 |
| 15 TEST COMPLETE |
| 16 abc |
| 17 abc |
| 18 abc |
OLD | NEW |