mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 853858: Move PeerConnectionTest instance reference into global scope r=jesup
This commit is contained in:
parent
48a7e71857
commit
16c6fc801d
@ -15,8 +15,8 @@
|
||||
title: "Basic audio-only peer connection"
|
||||
});
|
||||
|
||||
var test = new PeerConnectionTest();
|
||||
runTest(function () {
|
||||
var test = new PeerConnectionTest();
|
||||
test.setMediaConstraints([{audio: true}], [{audio: true}]);
|
||||
test.run();
|
||||
}, true);
|
||||
|
@ -16,8 +16,8 @@
|
||||
title: "Basic audio/video (separate) peer connection"
|
||||
});
|
||||
|
||||
var test = new PeerConnectionTest();
|
||||
runTest(function () {
|
||||
var test = new PeerConnectionTest();
|
||||
test.setMediaConstraints([{audio: true}, {video: true}],
|
||||
[{audio: true}, {video: true}]);
|
||||
test.run();
|
||||
|
@ -16,8 +16,8 @@
|
||||
title: "Basic audio/video (combined) peer connection"
|
||||
});
|
||||
|
||||
var test = new PeerConnectionTest();
|
||||
runTest(function () {
|
||||
var test = new PeerConnectionTest();
|
||||
test.setMediaConstraints([{audio: true}, {video: true}],
|
||||
[{audio: true}, {video: true}]);
|
||||
test.run();
|
||||
|
@ -15,8 +15,8 @@
|
||||
title: "Basic video-only peer connection"
|
||||
});
|
||||
|
||||
var test = new PeerConnectionTest();
|
||||
runTest(function () {
|
||||
var test = new PeerConnectionTest();
|
||||
test.setMediaConstraints([{video: true}], [{video: true}]);
|
||||
test.run();
|
||||
}, true);
|
||||
|
@ -79,8 +79,8 @@
|
||||
]
|
||||
];
|
||||
|
||||
var test = new PeerConnectionTest();
|
||||
runTest(function () {
|
||||
var test = new PeerConnectionTest();
|
||||
test.setMediaConstraints([{audio: true}], [{audio: true}]);
|
||||
test.chain.append(steps);
|
||||
test.run();
|
||||
|
@ -106,8 +106,8 @@
|
||||
]
|
||||
];
|
||||
|
||||
var test = new PeerConnectionTest();
|
||||
runTest(function () {
|
||||
var test = new PeerConnectionTest();
|
||||
test.setMediaConstraints([{audio: true, video: true}], [ ]);
|
||||
test.chain.replaceAfter("PC_LOCAL_GUM", steps);
|
||||
test.run();
|
||||
|
Loading…
Reference in New Issue
Block a user