blob: aa1372394fe2020f0ddb642d861c6399617410d2 [file] [log] [blame]
PASS RTCError constructor with errorDetail and message
PASS RTCError constructor's message argument is optional
PASS RTCError constructor throws TypeError if arguments are missing
PASS RTCError constructor throws TypeError if the errorDetail is invalid
PASS RTCError.name is 'OperationError'
PASS RTCError.code is 0
PASS RTCError.errorDetail is readonly.
PASS RTCErrorInit.errorDetail is the only required attribute
PASS RTCError.sdpLineNumber is null by default
PASS RTCError.sdpLineNumber is settable by constructor
PASS RTCError.sdpLineNumber is readonly
FAIL RTCError.httpRequestStatusCode is null by default assert_equals: expected (object) null but got (undefined) undefined
FAIL RTCError.httpRequestStatusCode is settable by constructor assert_equals: expected (number) 0 but got (undefined) undefined
FAIL RTCError.httpRequestStatusCode is readonly assert_throws_js: function "() => {
error[attribute] = 42;
}" did not throw
PASS RTCError.sctpCauseCode is null by default
PASS RTCError.sctpCauseCode is settable by constructor
PASS RTCError.sctpCauseCode is readonly
PASS RTCError.receivedAlert is null by default
PASS RTCError.receivedAlert is settable by constructor
PASS RTCError.receivedAlert is readonly
PASS RTCError.sentAlert is null by default
PASS RTCError.sentAlert is settable by constructor
PASS RTCError.sentAlert is readonly