Backed out changeset 8c4a85bb16bc (bug 1531894) for WPT failures in /webrtc/RTCPeerConnection-createDataChannel.html

This commit is contained in:
Dorel Luca 2019-04-26 05:24:22 +03:00
parent 41e7361f98
commit b82106b756
2 changed files with 5 additions and 1 deletions

View File

@ -1628,7 +1628,7 @@ class RTCPeerConnection {
if (maxPacketLifeTime !== undefined && maxRetransmits !== undefined) {
throw new this._win.DOMException(
"Both maxPacketLifeTime and maxRetransmits cannot be provided",
"TypeError");
"InvalidParameterError");
}
if (id == 65535) {
throw new this._win.DOMException(

View File

@ -7,6 +7,10 @@
expected: FAIL
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1531900
[createDataChannel with both maxPacketLifeTime and maxRetransmits should throw SyntaxError]
expected: FAIL
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1531894
[createDataChannel with negotiated true should succeed]
expected: FAIL
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1529695