blob: 86bb48ecee90866e5a4ec0a2abf73afa2f19b13c [file] [log] [blame]
FAIL RTCError constructor with errorDetail and message Can't find variable: RTCError
FAIL RTCError constructor's message argument is optional Can't find variable: RTCError
FAIL RTCError constructor throws TypeError if arguments are missing assert_throws: function "() => {
new RTCError();
}" threw object "ReferenceError: Can't find variable: RTCError" ("ReferenceError") expected object "TypeError" ("TypeError")
FAIL RTCError constructor throws TypeError if the errorDetail is invalid assert_throws: function "() => {
new RTCError({errorDetail:'invalid-error-detail'}, 'message');
}" threw object "ReferenceError: Can't find variable: RTCError" ("ReferenceError") expected object "TypeError" ("TypeError")
FAIL RTCError.name is 'RTCError' Can't find variable: RTCError
FAIL RTCError.code is 0 Can't find variable: RTCError
FAIL RTCError.errorDetail is readonly. Can't find variable: RTCError
FAIL RTCErrorInit.errorDetail is the only required attribute assert_throws: function "() => {
new RTCError({}, 'message');
}" threw object "ReferenceError: Can't find variable: RTCError" ("ReferenceError") expected object "TypeError" ("TypeError")
FAIL RTCError.sdpLineNumber is null by default Can't find variable: RTCError
FAIL RTCError.sdpLineNumber is settable by constructor Can't find variable: RTCError
FAIL RTCError.sdpLineNumber is readonly Can't find variable: RTCError
FAIL RTCError.httpRequestStatusCode is null by default Can't find variable: RTCError
FAIL RTCError.httpRequestStatusCode is settable by constructor Can't find variable: RTCError
FAIL RTCError.httpRequestStatusCode is readonly Can't find variable: RTCError
FAIL RTCError.sctpCauseCode is null by default Can't find variable: RTCError
FAIL RTCError.sctpCauseCode is settable by constructor Can't find variable: RTCError
FAIL RTCError.sctpCauseCode is readonly Can't find variable: RTCError
FAIL RTCError.receivedAlert is null by default Can't find variable: RTCError
FAIL RTCError.receivedAlert is settable by constructor Can't find variable: RTCError
FAIL RTCError.receivedAlert is readonly Can't find variable: RTCError
FAIL RTCError.sentAlert is null by default Can't find variable: RTCError
FAIL RTCError.sentAlert is settable by constructor Can't find variable: RTCError
FAIL RTCError.sentAlert is readonly Can't find variable: RTCError