Skip to content

Commit

Permalink
Import wpt@4c7be82200fe3118d8fea0860ec26831350c2264
Browse files Browse the repository at this point in the history
Using wpt-import in Chromium 8f56e3c.
With Chromium commits locally applied on WPT:
5d7b331 "[aspect-ratio] Only transfer min/max block-sizes if inline-size is auto."


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/+/main/docs/testing/web_platform_tests.md

Directory owners for changes in this CL:
ksakamoto@chromium.org, npm@chromium.org, yoavweiss@chromium.org:
  external/wpt/resource-timing

NOAUTOREVERT=true
R=rubber-stamper@appspot.gserviceaccount.com

No-Export: true
Cq-Include-Trybots: luci.chromium.try:linux-wpt-identity-fyi-rel,linux-wpt-input-fyi-rel,linux-blink-rel
Change-Id: I8be21f97e43b6fc8370f87ea688fbe5ccc73ddea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3638645
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1001609}
  • Loading branch information
Chromium WPT Sync authored and Chromium LUCI CQ committed May 10, 2022
1 parent 28807ae commit d48c377
Show file tree
Hide file tree
Showing 7 changed files with 117 additions and 16 deletions.
4 changes: 2 additions & 2 deletions third_party/blink/web_tests/TestExpectations
Original file line number Diff line number Diff line change
Expand Up @@ -3202,9 +3202,9 @@ crbug.com/626703 [ Win ] virtual/partitioned-cookies/http/tests/inspector-protoc
# ====== New tests from wpt-importer added here ======
crbug.com/626703 [ Win11 ] external/wpt/css/css-text-decor/text-decoration-thickness-fixed.html [ Failure ]
crbug.com/626703 [ Win11 ] external/wpt/css/css-text-decor/text-underline-offset-variable.html [ Failure ]
crbug.com/626703 [ Win11 ] external/wpt/mediacapture-streams/MediaDevices-enumerateDevices-per-origin-ids.sub.https.html [ Timeout Failure ]
crbug.com/626703 [ Win11 ] external/wpt/mediacapture-streams/MediaDevices-enumerateDevices-per-origin-ids.sub.https.html [ Failure Timeout ]
crbug.com/626703 [ Win11 ] external/wpt/navigation-timing/nav2_test_response_end_and_duration_before_during_and_after_load_event.html [ Timeout ]
crbug.com/626703 [ Win11 ] virtual/feature-policy-permissions/external/wpt/mediacapture-streams/MediaDevices-enumerateDevices-per-origin-ids.sub.https.html [ Timeout Failure ]
crbug.com/626703 [ Win11 ] virtual/feature-policy-permissions/external/wpt/mediacapture-streams/MediaDevices-enumerateDevices-per-origin-ids.sub.https.html [ Failure Timeout ]
crbug.com/626703 [ Linux ] external/wpt/css/mediaqueries/mq-invalid-media-type-layer-001.html [ Failure ]
crbug.com/626703 [ Mac10.15 ] external/wpt/css/mediaqueries/mq-invalid-media-type-layer-001.html [ Failure ]
crbug.com/626703 [ Mac11 ] external/wpt/css/mediaqueries/mq-invalid-media-type-layer-001.html [ Failure ]
Expand Down
2 changes: 1 addition & 1 deletion third_party/blink/web_tests/external/Version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Version: 7a993c06ce53ac52d65728cff2e4472ce40d7ecd
Version: 4c7be82200fe3118d8fea0860ec26831350c2264
84 changes: 80 additions & 4 deletions third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json
Original file line number Diff line number Diff line change
Expand Up @@ -1822,6 +1822,13 @@
{}
]
],
"nested-multicol-fieldset-tall-trailing-border-freeze.html": [
"014073a9e8c1513dbd38dc0ee66e4547a6b3be36",
[
null,
{}
]
],
"nested-multicol-fieldset-tall-trailing-padding.html": [
"b155a4d7f42283c18e6ea113dc2000393752c72a",
[
Expand Down Expand Up @@ -96324,6 +96331,19 @@
{}
]
],
"inner-first-line-non-matching.html": [
"5f39124e514bcfc2b7293b6e36c7e3c3f4bbd5df",
[
null,
[
[
"/css/css-contain/container-queries/inner-first-line-non-matching-ref.html",
"=="
]
],
{}
]
],
"multicol-inside-container.html": [
"9fc8393a513f236996d60fdc39e2401a3dba0376",
[
Expand Down Expand Up @@ -148936,6 +148956,19 @@
{}
]
],
"first-line-nested-gcs.html": [
"6777e5468f57b507f96f4e92fbba4393002d15e7",
[
null,
[
[
"/css/css-pseudo/first-line-green-ref.html",
"=="
]
],
{}
]
],
"first-line-on-ancestor-block.html": [
"6b797107df80156b511b9dc58c5ee40d6114cfc4",
[
Expand Down Expand Up @@ -156625,6 +156658,19 @@
{}
]
],
"block-aspect-ratio-037.html": [
"26b795b2a0ba30fa61d16ef595107398bb605106",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"block-aspect-ratio-with-margin-collapsing-001.html": [
"78a0418fe285da58030cdd863460add0533e6af5",
[
Expand Down Expand Up @@ -261016,6 +261062,10 @@
"ecd72b7516c41c83b6e8d320c9b0b87f9c231781",
[]
],
"inner-first-line-non-matching-ref.html": [
"99e9c334bf2c856535c7643911a3050390658a6f",
[]
],
"pseudo-elements-002-ref.html": [
"9dc6c572b303678e8f9b9f76eb3e527318a0ed81",
[]
Expand Down Expand Up @@ -278379,6 +278429,10 @@
"84becd9a78d186ba3c0e658746fd56aef8039b74",
[]
],
"first-line-green-ref.html": [
"99e9c334bf2c856535c7643911a3050390658a6f",
[]
],
"first-line-line-height-001-ref.html": [
"13e9b20f34d44cbe436b6bbcbdd6e85884ee71ca",
[]
Expand Down Expand Up @@ -316142,6 +316196,10 @@
"3be2852348ba800662fa2caf626654b2f40b5902",
[]
],
"png-with-early-hints.h2.py": [
"0785d512c1b024acf7e349735764ac341e219d4b",
[]
],
"preconnect-in-early-hints.h2.py": [
"e448fd0af71abf850786437f818d4a74d74060c0",
[]
Expand Down Expand Up @@ -322056,7 +322114,7 @@
[]
],
"nested-contexts.js": [
"31bc97bb119399be0d8ebb283e01ac32c2a9ec0f",
"c0822943e86a68f43d003e03166fbc987014946e",
[]
],
"nested.css": [
Expand Down Expand Up @@ -481414,6 +481472,24 @@
}
]
],
"embed-object.h2.window.js": [
"82365fafddbb8df1ea80cecdf2d24db65e3ef379",
[
"loading/early-hints/embed-object.h2.window.html",
{
"script_metadata": [
[
"script",
"/common/utils.js"
],
[
"script",
"resources/early-hints-helpers.sub.js"
]
]
}
]
],
"invalid-headers-in-early-hints.h2.window.js": [
"6c5161dc8bf72d193c843860f24024f753075314",
[
Expand Down Expand Up @@ -510112,7 +510188,7 @@
]
],
"nested-context-navigations-embed.html": [
"5c8a62a9ae281d7f4823e27ae7fe37032de8cb2e",
"f804adbb8a99e44bd0f7d0c543ceea3f09e6ea62",
[
null,
{
Expand All @@ -510121,7 +510197,7 @@
]
],
"nested-context-navigations-iframe.html": [
"6e5cdd85c30d3ecbdb68c987a40b7eda5370fd4b",
"32ab21633c669ccf1db59f3cd4667dd2ce810e79",
[
null,
{
Expand All @@ -510130,7 +510206,7 @@
]
],
"nested-context-navigations-object.html": [
"8d63c5e3d44e5d722861d3c8fed19f9b76080d0d",
"1508d8829fd2695918d891a9ef7bf9d03fa285f8",
[
null,
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,22 @@
open_test_window("resources/embed-navigate-back.html?crossorigin",
"Test that crossorigin embed navigations are not observable by the " +
"parent, even after history navigations by the parent");
open_test_window("resources/embed-navigate-back.html?cross-site",
"Test that cross-site embed navigations are not observable by the " +
"parent, even after history navigations by the parent");

open_test_window("resources/embed-navigate.html",
"Test that embed navigations are not observable by the parent");
open_test_window("resources/embed-navigate.html?crossorigin",
"Test that crossorigin embed navigations are not observable by the parent");
open_test_window("resources/embed-navigate.html?cross-site",
"Test that cross-site embed navigations are not observable by the parent");
open_test_window("resources/embed-refresh.html",
"Test that embed refreshes are not observable by the parent");
open_test_window("resources/embed-refresh.html?crossorigin",
"Test that crossorigin embed refreshes are not observable by the parent");
open_test_window("resources/embed-refresh.html?cross-site",
"Test that cross-site embed refreshes are not observable by the parent");

</script>

Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,23 @@
<script src="resources/nested-contexts.js"></script>
<script>
open_test_window("resources/iframe-navigate-back.html",
"Test that iframe navigations are not observable by the parent, even " +
"after history navigations by the parent");
"Test that iframe navigations are not observable by the parent, even after history navigations by the parent");
open_test_window("resources/iframe-navigate-back.html?crossorigin",
"Test that crossorigin iframe navigations are not observable by the " +
"parent, even after history navigations by the parent");
"Test that crossorigin iframe navigations are not observable by the parent, even after history navigations by the parent");
open_test_window("resources/iframe-navigate-back.html?cross-site",
"Test that cross-site iframe navigations are not observable by the parent, even after history navigations by the parent");
open_test_window("resources/iframe-navigate.html",
"Test that iframe navigations are not observable by the parent");
open_test_window("resources/iframe-navigate.html?crossorigin",
"Test that crossorigin iframe navigations are not observable by the " +
"parent");
"Test that crossorigin iframe navigations are not observable by the parent");
open_test_window("resources/iframe-navigate.html?cross-site",
"Test that cross-site iframe navigations are not observable by the parent");
open_test_window("resources/iframe-refresh.html",
"Test that iframe refreshes are not observable by the parent");
open_test_window("resources/iframe-refresh.html?crossorigin",
"Test that crossorigin iframe refreshes are not observable by the parent");
open_test_window("resources/iframe-refresh.html?cross-site",
"Test that cross-site iframe refreshes are not observable by the parent");

</script>

Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,23 @@
open_test_window("resources/object-navigate-back.html?crossorigin",
"Test that crossorigin object navigations are not observable by the " +
"parent, even after history navigations by the parent");
open_test_window("resources/object-navigate-back.html?cross-site",
"Test that cross-site object navigations are not observable by the " +
"parent, even after history navigations by the parent");
open_test_window("resources/object-navigate.html",
"Test that object navigations are not observable by the parent");
open_test_window("resources/object-navigate.html?crossorigin",
"Test that crossorigin object navigations are not observable by the " +
"parent");
open_test_window("resources/object-navigate.html?cross-site",
"Test that cross-site object navigations are not observable by the " +
"parent");
open_test_window("resources/object-refresh.html",
"Test that object refreshes are not observable by the parent");
open_test_window("resources/object-refresh.html?crossorigin",
"Test that crossorigin object refreshes are not observable by the parent");
open_test_window("resources/object-refresh.html?cross-site",
"Test that cross-site object refreshes are not observable by the parent");

</script>

Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
let destination = location;
if (location.search == "?crossorigin") {
const {REMOTE_HOST} = get_host_info();
destination = `${location.protocol}//${REMOTE_HOST}:${location.port}`;

if (location.search == "?cross-site") {
const https = destination.protocol.startsWith("https");
destination = get_host_info()[https ? 'HTTPS_NOTSAMESITE_ORIGIN' : 'HTTP_NOTSAMESITE_ORIGIN'];
} else if (location.search == "?crossorigin") {
destination = get_host_info().REMOTE_ORIGIN;
}

const pre_navigate_url =
Expand Down

0 comments on commit d48c377

Please sign in to comment.