Files
tubestation/testing/web-platform/tests/webrtc/RTCPeerConnection-perfect-negotiation.https.html
moz-wptsync-bot 401bb9e0dd Bug 1664225 - [wpt-sync] Update web-platform-tests to 55e3f8d27d6be17fa75bebe426c39cc51b3b26d4, a=testonly, r=karlcow
A bug in the wptsync caused us to miss some pushes during recent
updates. This commit copies the head of wpt at the specified revision
over and re-applies local patches that weren't in that revision. That
means we should be able to resume normal syncs after fixing the bug.

wpt-head: 55e3f8d27d6be17fa75bebe426c39cc51b3b26d4
wpt-type: landing

Differential Revision: https://phabricator.services.mozilla.com/D90823
2020-09-21 12:53:13 +00:00

23 lines
805 B
HTML

<!doctype html>
<meta charset=utf-8>
<meta name="timeout" content="long">
<title></title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src="RTCPeerConnection-perfect-negotiation-helper.js"></script>
<script>
'use strict';
promise_test_both_roles(async (t, pc) => {
assert_equals(await runA("simpleConnect"), 1, "one transceiver");
assert_equals(await runB("addTransceiver"), 2, "two transceivers");
}, "Perfect negotiation setup connects");
promise_test_both_roles(async (t, pc) => {
await runBoth("addTransceiver");
const [numA, numB] = await runBoth("getNumTransceivers");
assert_equals(numA, 2, "two transceivers on side A");
assert_equals(numB, 2, "two transceivers on side B");
}, "Perfect negotiation glare");
</script>