mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 07:47:32 +09:00
Issue #2332 - Update most tests to skip RTCIceCandidate construction
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 5
This commit is contained in:
parent
a1c22cb034
commit
f615587ab7
4 changed files with 12 additions and 12 deletions
|
|
@ -19,9 +19,9 @@
|
|||
|
||||
test.chain.insertAfter("PC_LOCAL_SET_LOCAL_DESCRIPTION", [
|
||||
function PC_LOCAL_ADD_CANDIDATE_EARLY(test) {
|
||||
var candidate = new RTCIceCandidate(
|
||||
{candidate:"candidate:1 1 UDP 2130706431 192.168.2.1 50005 typ host",
|
||||
sdpMLineIndex: 0});
|
||||
var candidate = {
|
||||
candidate:"candidate:1 1 UDP 2130706431 192.168.2.1 50005 typ host",
|
||||
sdpMLineIndex: 0};
|
||||
return test.pcLocal._pc.addIceCandidate(candidate).then(
|
||||
generateErrorCallback("addIceCandidate should have failed."),
|
||||
err => {
|
||||
|
|
@ -66,9 +66,9 @@
|
|||
);
|
||||
},
|
||||
function PC_REMOTE_ADD_VALID_CANDIDATE(test) {
|
||||
var candidate = new RTCIceCandidate(
|
||||
{candidate:"candidate:1 1 UDP 2130706431 192.168.2.1 50005 typ host",
|
||||
sdpMLineIndex: 0});
|
||||
var candidate = {
|
||||
candidate:"candidate:1 1 UDP 2130706431 192.168.2.1 50005 typ host",
|
||||
sdpMLineIndex: 0};
|
||||
return test.pcRemote._pc.addIceCandidate(candidate)
|
||||
.then(() => ok(true, "Successfully added valid ICE candidate"));
|
||||
},
|
||||
|
|
@ -90,7 +90,7 @@
|
|||
.then(() => ok(true, "Successfully added valid ICE candidate"));
|
||||
},
|
||||
function PC_REMOTE_ADD_MATCHING_MID_AND_LEVEL_CANDIDATE(test) {
|
||||
var candidate = new mozRTCIceCandidate(
|
||||
var candidate = new RTCIceCandidate(
|
||||
{candidate:"candidate:1 1 UDP 2130706431 192.168.2.1 50005 typ host",
|
||||
sdpMLineIndex: 0,
|
||||
sdpMid: "sdparta_0"});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue