Automatic update from web-platform-tests Revert "Fix test picture generation and add test." This reverts commit 84222e05b7a97c034e40d2d118de4aac05a94c50. Reason for revert: caused test to fail external/wpt/webrtc/RTCPeerConnection-helper-test.html, ex build: https://ci.chromium.org/p/chromium/builders/ci/Mac10.15%20Tests Bug: 1245692 Original change's description: > Fix test picture generation and add test. > > This CL changes the test picture from a growing box to a small moving > box. It adds a test that the expected bandwidth target is achieved at > the expected resolution. > > In a browser, 640x480 is not reached within 5 seconds. This is odd. > > Bug: None. > Change-Id: I2d94f1c190c26cec6759ecc0f788feea8e52ed7c > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3135833 > Commit-Queue: Harald Alvestrand <hta@chromium.org> > Reviewed-by: Florent Castelli <orphis@chromium.org> > Cr-Commit-Position: refs/heads/main@{#917211} Bug: None. Change-Id: I205c46cca2245f3f906d52cca87ad878b486ee82 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3137553 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Reviewed-by: Kevin Marshall <kmarshall@chromium.org> Reviewed-by: Harald Alvestrand <hta@chromium.org> Commit-Queue: Harald Alvestrand <hta@chromium.org> Cr-Commit-Position: refs/heads/main@{#917317} -- wpt-commits: 1960b5daf5d84a0d9fd8b7064795267d79d70039 wpt-pr: 30308
22 lines
712 B
HTML
22 lines
712 B
HTML
<!doctype html>
|
|
<meta charset=utf-8>
|
|
<title>RTCPeerConnection-helper tests</title>
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="RTCPeerConnection-helper.js"></script>
|
|
<script>
|
|
'use strict';
|
|
|
|
promise_test(async t => {
|
|
const pc1 = new RTCPeerConnection();
|
|
const pc2 = new RTCPeerConnection();
|
|
t.add_cleanup(() => pc1.close());
|
|
t.add_cleanup(() => pc2.close());
|
|
const transceiver = pc1.addTransceiver('video');
|
|
|
|
exchangeIceCandidates(pc1, pc2);
|
|
await exchangeOfferAnswer(pc1, pc2);
|
|
await waitForState(transceiver.sender.transport, 'connected');
|
|
}, 'Setting up a connection using helpers and defaults should work');
|
|
</script>
|