зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1541338 [wpt PR 16131] - s/transciever/transceiver, a=testonly
Automatic update from web-platform-tests s/transciever/transceiver Bug: None No-Try: True Change-Id: I67c28d3b2ac14ca68b50ce0b6e08e45d70979014 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1541794 Reviewed-by: Florent Castelli <orphis@chromium.org> Reviewed-by: Henrik Boström <hbos@chromium.org> Commit-Queue: Max Morin <maxmorin@chromium.org> Cr-Commit-Position: refs/heads/master@{#645697} -- wpt-commits: 542485703ff2103dfe7333e99e5fbdab4558daab wpt-pr: 16131
This commit is contained in:
Родитель
04da5d6011
Коммит
ec181e893d
|
@ -210,10 +210,10 @@ promise_test(async t => {
|
|||
const trackEvent = await exchangeOfferAndListenToOntrack(t, pc1, pc2);
|
||||
const transceiver = trackEvent.transceiver;
|
||||
assert_equals(transceiver.currentDirection, null,
|
||||
'SRD(offer): transciever.currentDirection is null');
|
||||
'SRD(offer): transceiver.currentDirection is null');
|
||||
await pc2.setLocalDescription(await pc2.createAnswer());
|
||||
assert_equals(transceiver.currentDirection, 'recvonly',
|
||||
'SLD(answer): transciever.currentDirection is recvonly');
|
||||
'SLD(answer): transceiver.currentDirection is recvonly');
|
||||
}, 'setLocalDescription(answer): transceiver.currentDirection is recvonly');
|
||||
|
||||
promise_test(async t => {
|
||||
|
@ -223,10 +223,10 @@ promise_test(async t => {
|
|||
const pc2 = createPeerConnectionWithCleanup(t);
|
||||
await exchangeOffer(pc1, pc2);
|
||||
assert_equals(transceiver.currentDirection, null,
|
||||
'SLD(offer): transciever.currentDirection is null');
|
||||
'SLD(offer): transceiver.currentDirection is null');
|
||||
await exchangeAnswer(pc1, pc2);
|
||||
assert_equals(transceiver.currentDirection, 'sendonly',
|
||||
'SRD(answer): transciever.currentDirection is sendonly');
|
||||
'SRD(answer): transceiver.currentDirection is sendonly');
|
||||
}, 'setLocalDescription(answer): transceiver.currentDirection is sendonly');
|
||||
|
||||
promise_test(async t => {
|
||||
|
|
Загрузка…
Ссылка в новой задаче