Bug 1529595: Remove "token" from RTCIceCredentialType, re-enable a web-platform-test, and fix a mochitest. r=smaug,jib

Differential Revision: https://phabricator.services.mozilla.com/D28496

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Byron Campen [:bwc] 2019-04-25 20:58:12 +00:00
parent 45ff9ed8a6
commit 79f14c2299
3 changed files with 2 additions and 7 deletions

View File

@ -83,7 +83,7 @@ runNetworkTest(() => {
peerIdentity: null,
iceServers: [
{ urls: ["stun:127.0.0.1", "stun:localhost"], credentialType:"password" },
{ urls: ["turn:[::1]:3478"], username:"p", credential:"p", credentialType:"token" },
{ urls: ["turn:[::1]:3478"], username:"p", credential:"p", credentialType:"password" },
],
};
var pc = new RTCPeerConnection(config);

View File

@ -9,7 +9,6 @@
enum RTCIceCredentialType {
"password",
"token"
};
dictionary RTCIceServer {

View File

@ -123,13 +123,9 @@
expected: FAIL
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1253706
[new RTCPeerConnection(config) - with credentialType token should throw TypeError]
expected: FAIL
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1529595
[setConfiguration(config) - with credentialType token should throw TypeError]
expected: FAIL
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1253706, https://bugzilla.mozilla.org/show_bug.cgi?id=1529595
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1253706
[new RTCPeerConnection(config) - with url field should throw TypeError]
expected: FAIL