blob: 4f749bec1f4cfe25c1e95a3a8e9196a32e43e3da [file] [log] [blame]
PASS Setting binaryType to 'blob' should succeed
PASS Setting binaryType to 'arraybuffer' should succeed
FAIL Setting invalid binaryType 'jellyfish' should throw SyntaxError assert_throws_dom: function "() => {
dc.binaryType = binaryType;
}" threw object "TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object." that is not a DOMException SyntaxError: property "code" is equal to 17, expected 12
FAIL Setting invalid binaryType 'arraybuffer ' should throw SyntaxError assert_throws_dom: function "() => {
dc.binaryType = binaryType;
}" threw object "TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object." that is not a DOMException SyntaxError: property "code" is equal to 17, expected 12
FAIL Setting invalid binaryType '' should throw SyntaxError assert_throws_dom: function "() => {
dc.binaryType = binaryType;
}" threw object "TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object." that is not a DOMException SyntaxError: property "code" is equal to 17, expected 12
FAIL Setting invalid binaryType 'null' should throw SyntaxError assert_throws_dom: function "() => {
dc.binaryType = binaryType;
}" threw object "TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object." that is not a DOMException SyntaxError: property "code" is equal to 17, expected 12
FAIL Setting invalid binaryType 'undefined' should throw SyntaxError assert_throws_dom: function "() => {
dc.binaryType = binaryType;
}" threw object "TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object." that is not a DOMException SyntaxError: property "code" is equal to 17, expected 12