Commit 19cc337c authored by Chromium WPT Sync's avatar Chromium WPT Sync Committed by Chromium LUCI CQ

Import wpt@289878db3e356829bb7ae5699dd847f04a7acf58

Using wpt-import in Chromium 9ec63731.
With Chromium commits locally applied on WPT:
9ec63731 "[selectors] Fix leaks on :focus-visible tests"


Note to sheriffs: This CL imports external tests and adds
expectations for those tests; if this CL is large and causes
a few new failures, please fix the failures by adding new
lines to TestExpectations rather than reverting. See:
https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md

Directory owners for changes in this CL:
cbiesinger@chromium.org:
  external/wpt/css/css-sizing
hbos@chromium.org, hta@chromium.org, guidou@chromium.org, philipp.hancke@googlemail.com:
  external/wpt/webrtc

NOAUTOREVERT=true
TBR=foolip@google.com

No-Export: true
Cq-Include-Trybots: luci.chromium.try:linux-wpt-identity-fyi-rel,linux-wpt-input-fyi-rel
Change-Id: Id8e5a35932ab1693aee511f32fb8cec31fb2a2fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2615344Reviewed-by: default avatarWPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#841464}
parent 098b9305
...@@ -2473,6 +2473,7 @@ crbug.com/958381 [ Mac ] external/wpt/css/CSS2/tables/table-anonymous-objects-20 ...@@ -2473,6 +2473,7 @@ crbug.com/958381 [ Mac ] external/wpt/css/CSS2/tables/table-anonymous-objects-20
crbug.com/958381 [ Mac ] external/wpt/css/CSS2/tables/table-anonymous-objects-206.xht [ Failure ] crbug.com/958381 [ Mac ] external/wpt/css/CSS2/tables/table-anonymous-objects-206.xht [ Failure ]
# ====== New tests from wpt-importer added here ====== # ====== New tests from wpt-importer added here ======
crbug.com/626703 external/wpt/css/css-sizing/aspect-ratio/table-element-001.html [ Failure ]
crbug.com/626703 external/wpt/css/css-sizing/aspect-ratio/flex-aspect-ratio-025.html [ Failure ] crbug.com/626703 external/wpt/css/css-sizing/aspect-ratio/flex-aspect-ratio-025.html [ Failure ]
crbug.com/626703 external/wpt/css/css-sizing/aspect-ratio/flex-aspect-ratio-026.html [ Failure ] crbug.com/626703 external/wpt/css/css-sizing/aspect-ratio/flex-aspect-ratio-026.html [ Failure ]
crbug.com/626703 external/wpt/html/interaction/focus/document-level-focus-apis/document-has-system-focus.html [ Timeout ] crbug.com/626703 external/wpt/html/interaction/focus/document-level-focus-apis/document-has-system-focus.html [ Timeout ]
......
<!DOCTYPE html>
<title>CSS aspect-ratio: aspect-ratio shouldn't apply to internal table boxes</title>
<link rel="author" title="mozilla" href="https://www.mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
<style>
table {
border-collapse: collapse;
}
th, td {
padding: 0px;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<!-- aspect-ratio shouldn't apply to internal table boxes -->
<table>
<tr>
<th style='background: green; width: 100px; aspect-ratio: 1/1;'></th>
<td style='background: red; height: 50px; aspect-ratio: 4/1;'></td>
</tr>
</table>
<!-- aspect-ratio should apply to the table element -->
<table style='background: green; width: 100px; aspect-ratio: 2/1;'></table>
Template-Python==0.1.post1 Template-Python==0.1.post1
html5lib==1.1 html5lib==1.1
lxml==4.5.2 lxml==4.6.2
mercurial==4.5 mercurial==4.5
six==1.15.0 six==1.15.0
webencodings==0.5.1 webencodings==0.5.1
This is a testharness.js-based test. This is a testharness.js-based test.
PASS A transceiver added and stopped before the initial offer generation should not trigger an offer m-section generation PASS A transceiver added and stopped before the initial offer generation should not trigger an offer m-section generation
PASS A transceiver added and stopped should not crash when getting receiver's transport
PASS During renegotiation, adding and stopping a transceiver should not trigger a renegotiated offer m-section generation PASS During renegotiation, adding and stopping a transceiver should not trigger a renegotiated offer m-section generation
PASS A stopped sendonly transceiver should generate an inactive m-section in the offer PASS A stopped sendonly transceiver should generate an inactive m-section in the offer
PASS A stopped inactive transceiver should generate an inactive m-section in the offer PASS A stopped inactive transceiver should generate an inactive m-section in the offer
......
...@@ -21,6 +21,18 @@ promise_test(async (t)=> { ...@@ -21,6 +21,18 @@ promise_test(async (t)=> {
assert_true(offer.sdp.includes("m=video"), "offer should contain a video m-section"); assert_true(offer.sdp.includes("m=video"), "offer should contain a video m-section");
}, "A transceiver added and stopped before the initial offer generation should not trigger an offer m-section generation"); }, "A transceiver added and stopped before the initial offer generation should not trigger an offer m-section generation");
promise_test(async (t)=> {
const pc1 = new RTCPeerConnection();
t.add_cleanup(() => pc1.close());
pc1.addTransceiver("audio", { direction: "sendonly" });
pc1.addTransceiver("video");
assert_equals(null, pc1.getTransceivers()[1].receiver.transport);
pc1.getTransceivers()[1].stop();
assert_equals(pc1.getTransceivers()[1].receiver.transport, null);
}, "A transceiver added and stopped should not crash when getting receiver's transport");
promise_test(async (t)=> { promise_test(async (t)=> {
const pc1 = new RTCPeerConnection(); const pc1 = new RTCPeerConnection();
const pc2 = new RTCPeerConnection(); const pc2 = new RTCPeerConnection();
......
This is a testharness.js-based test.
PASS A transceiver added and stopped before the initial offer generation should not trigger an offer m-section generation
PASS During renegotiation, adding and stopping a transceiver should not trigger a renegotiated offer m-section generation
PASS A stopped sendonly transceiver should generate an inactive m-section in the offer
PASS A stopped inactive transceiver should generate an inactive m-section in the offer
PASS If a transceiver is stopped locally, setting a locally generated answer should still work
PASS If a transceiver is stopped remotely, setting a locally generated answer should still work
PASS If a transceiver is stopped, transceivers, senders and receivers should disappear after offer/answer
FAIL If a transceiver is stopped, transceivers should end up in state stopped assert_equals: expected "recvonly" but got "stopped"
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL A transceiver added and stopped before the initial offer generation should not trigger an offer m-section generation promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL During renegotiation, adding and stopping a transceiver should not trigger a renegotiated offer m-section generation promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL A stopped sendonly transceiver should generate an inactive m-section in the offer promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL A stopped inactive transceiver should generate an inactive m-section in the offer promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL If a transceiver is stopped locally, setting a locally generated answer should still work promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL If a transceiver is stopped remotely, setting a locally generated answer should still work promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL If a transceiver is stopped, transceivers, senders and receivers should disappear after offer/answer promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL If a transceiver is stopped, transceivers should end up in state stopped promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
Harness: the test ran to completion.
This is a testharness.js-based test. This is a testharness.js-based test.
FAIL A transceiver added and stopped before the initial offer generation should not trigger an offer m-section generation promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'." FAIL A transceiver added and stopped before the initial offer generation should not trigger an offer m-section generation promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL A transceiver added and stopped should not crash when getting receiver's transport promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL During renegotiation, adding and stopping a transceiver should not trigger a renegotiated offer m-section generation promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'." FAIL During renegotiation, adding and stopping a transceiver should not trigger a renegotiated offer m-section generation promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL A stopped sendonly transceiver should generate an inactive m-section in the offer promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'." FAIL A stopped sendonly transceiver should generate an inactive m-section in the offer promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL A stopped inactive transceiver should generate an inactive m-section in the offer promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'." FAIL A stopped inactive transceiver should generate an inactive m-section in the offer promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment