Automatic update from web-platform-tests Split RTCDataChannel-send-close* web tests even more to avoid timeouts Splits these three tests into six tests, dividing each test's runtime in half. The original test ran two test cases: 1. Datachannel with default options. 2. Datachannel with negotiated options. This change splits each of these test cases into their own file, creating a new file for the negotiated data channels like RTCDataChannel-send-close-string-negotiated.window.js. A prior change split this single test into three new tests: https://chromium-review.googlesource.com/c/chromium/src/+/6913845 This resulted in three tests with a ~60 second runtime in some environments: https://github.com/web-platform-tests/wpt/pull/54772#issuecomment-3300586196 This change should reduce each test's runtime to ~30 seconds. Locally, on my powerful developer machine, each test takes ~8 seconds. Bug: 377072733 Change-Id: I7eee3b2dff2ba2179142b448e5e5c4442fb7e002 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6961402 Commit-Queue: Steve Becker <stevebe@microsoft.com> Reviewed-by: Henrik Boström <hbos@chromium.org> Cr-Commit-Position: refs/heads/main@{#1517426} -- wpt-commits: 860040166cda3920bb3b35a15ef16bb7a73f0043 wpt-pr: 54931
11 lines
372 B
JavaScript
11 lines
372 B
JavaScript
// META: title=RTCDataChannel.prototype.send with large string
|
|
// META: script=RTCPeerConnection-helper.js
|
|
// META: script=RTCDataChannel-send-close-helper.js
|
|
// META: timeout=long
|
|
|
|
'use strict';
|
|
|
|
const largeString = ' '.repeat(largeSendDataLength);
|
|
rtc_data_channel_send_close_test(/*sendData=*/ largeString,
|
|
/*dataChannelOptions=*/ {});
|