blob: 51bd72b80bd9109e1e6d3f3c101cb3143dc0d471 [file] [log] [blame]
Test FontFace constructor with invalid parameters
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS faceWithWrongSrc.status is "error"
PASS rejectionValue.name is "SyntaxError"
PASS faceWithWrongDescriptors.status is "error"
PASS faceWithWrongDescriptors.style is "normal"
PASS faceWithWrongDescriptors.weight is "normal"
PASS faceWithWrongDescriptors.unicodeRange is "U+0-10FFFF"
PASS faceWithWrongDescriptors.variant is "normal"
PASS faceWithWrongDescriptors.featureSettings is "normal"
PASS rejectionValue.name is "SyntaxError"
PASS successfullyParsed is true
TEST COMPLETE