Skip to content

Commit

Permalink
Import wpt@4435c35d9085ed2be61e64d0093b8e1b0e7a877b
Browse files Browse the repository at this point in the history
Using wpt-import in Chromium 4995d83.

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:
arichiv@chromium.org, iclelland@chromium.org:
  external/wpt/feature-policy
  external/wpt/permissions-policy
mcasas@chromium.org:
  external/wpt/geolocation-API

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: Id523da16362ddddf304b426aec2009085a031242
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4056495
Auto-Submit: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1075694}
  • Loading branch information
Chromium WPT Sync authored and Chromium LUCI CQ committed Nov 25, 2022
1 parent a98b50b commit 49996c0
Show file tree
Hide file tree
Showing 37 changed files with 167 additions and 133 deletions.
Expand Up @@ -11,6 +11,10 @@
# Tests that fail in legacy but pass in NG

# ====== New tests from wpt-importer added here ======
crbug.com/626703 external/wpt/geolocation-API/enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html [ Timeout ]
crbug.com/626703 external/wpt/geolocation-API/enabled-by-permission-policy-attribute.https.sub.html [ Timeout ]
crbug.com/626703 external/wpt/geolocation-API/enabled-by-permissions-policy.https.sub.html [ Timeout ]
crbug.com/626703 external/wpt/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html [ Timeout ]
crbug.com/626703 external/wpt/bluetooth/adapter/adapter-absent-getAvailability.https.window.html [ Crash ]
crbug.com/626703 external/wpt/bluetooth/adapter/adapter-added-getAvailability.https.window.html [ Crash ]
crbug.com/626703 external/wpt/bluetooth/adapter/adapter-powered-off-getAvailability.https.window.html [ Crash ]
Expand Down
Expand Up @@ -79,6 +79,10 @@ crbug.com/1209223 external/wpt/html/browsers/browsing-the-web/navigating-across-
crbug.com/1209223 external/wpt/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-security-check-same-origin-domain.sub.html [ Failure ]

# ====== New tests from wpt-importer added here ======
crbug.com/626703 external/wpt/geolocation-API/enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html [ Timeout ]
crbug.com/626703 external/wpt/geolocation-API/enabled-by-permission-policy-attribute.https.sub.html [ Timeout ]
crbug.com/626703 external/wpt/geolocation-API/enabled-by-permissions-policy.https.sub.html [ Timeout ]
crbug.com/626703 external/wpt/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html [ Timeout ]
crbug.com/626703 external/wpt/dom/events/scrolling/scrollend-event-handler-content-attributes.html [ Timeout ]
crbug.com/626703 external/wpt/screen-orientation/active-lock.html [ Timeout ]
crbug.com/626703 external/wpt/css/selectors/media/media-loading-state.html [ Timeout ]
Expand Down
4 changes: 4 additions & 0 deletions third_party/blink/web_tests/TestExpectations
Expand Up @@ -3022,6 +3022,10 @@ crbug.com/626703 [ Win ] external/wpt/speculation-rules/prerender/storage-founda
crbug.com/626703 [ Win ] virtual/partitioned-cookies/http/tests/inspector-protocol/network/disabled-cache-navigation.js [ Failure ]

# ====== New tests from wpt-importer added here ======
crbug.com/626703 external/wpt/geolocation-API/enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html [ Timeout ]
crbug.com/626703 external/wpt/geolocation-API/enabled-by-permission-policy-attribute.https.sub.html [ Timeout ]
crbug.com/626703 external/wpt/geolocation-API/enabled-by-permissions-policy.https.sub.html [ Timeout ]
crbug.com/626703 external/wpt/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/bluetooth/adapter/adapter-absent-getAvailability.https.window.html [ Crash ]
crbug.com/626703 [ Linux ] external/wpt/bluetooth/adapter/adapter-added-getAvailability.https.window.html [ Crash ]
crbug.com/626703 [ Linux ] external/wpt/bluetooth/adapter/adapter-powered-off-getAvailability.https.window.html [ Crash ]
Expand Down
104 changes: 47 additions & 57 deletions third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json
Expand Up @@ -264792,10 +264792,6 @@
"14fa5353a94d6e817867131b3d39e97aacdb670f",
[]
],
"idlharness.window-expected.txt": [
"a997488813c197db7ef450a03c2827554a6d5575",
[]
],
"idlharness.window.js.ini": [
"5db26da0f4df3f4b9cc528382ddeaf28d9f20fc6",
[]
Expand Down Expand Up @@ -274150,6 +274146,10 @@
"ff88b1e74a951b77458340de03b91d177302543e",
[]
],
"position-fallback-tree-scoped-expected.txt": [
"789f12eac0eae063422bcad9ab237705e0ebb214",
[]
],
"reference": {
"anchor-scroll-fixedpos-ref.html": [
"e73354df72dac33f7a94eaef445e80ec61e3976a",
Expand Down Expand Up @@ -320123,7 +320123,7 @@
[]
],
"cssom-getPropertyValue-common-checks-expected.txt": [
"7dc527c588063c123b96d477780303c91cd70d48",
"5e91a7e28c5626806fa4f72abcac33263fe3987d",
[]
],
"cssstyledeclaration-cssfontrule.tentative-expected.txt": [
Expand Down Expand Up @@ -323291,17 +323291,9 @@
"57ba808a2e4b1f787988967817391d9ecc397418",
[]
],
"idlharness.any-expected.txt": [
"3dbd47f9045602410f957505b875fe2d5f215ee2",
[]
],
"idlharness.any.js.ini": [
"0701fef0fd23cf00220cc3751538784cc2381f81",
[]
],
"idlharness.any.worker-expected.txt": [
"3dbd47f9045602410f957505b875fe2d5f215ee2",
[]
]
},
"device-memory": {
Expand Down Expand Up @@ -328952,10 +328944,6 @@
"59652e2e7ae0056a6cc4be7f004b6d0151fb9d44",
[]
],
"feature-policy-geolocation.html": [
"81943845447e6c6b7962b3961996e45c12e04cd4",
[]
],
"feature-policy-nested-subframe-policy.https.sub.html": [
"30525d8a3cda45b5ca63777c582a74e677f27031",
[]
Expand Down Expand Up @@ -333353,14 +333341,14 @@
"5c49de21a3b53dfe928d30a36400469d8238bb1d",
[]
],
"disabled-by-feature-policy.https.sub.html.headers": [
"7e75481ea6d71080aaef8b43e774f5da9c9741e5",
[]
],
"disabled-by-feature-policy.https.sub.html.ini": [
"bb53fa465504b317f5f9cb499eb43f2f1162319f",
[]
],
"disabled-by-permissions-policy.https.sub.html.headers": [
"26bfbc2496488e113641a8d015b7b03494ac4c83",
[]
],
"enabled-by-feature-policy-attribute-redirect-on-load.https.sub.html.ini": [
"6c598aef3e06a70005fc8fa18f4c5f090b4ab8cb",
[]
Expand All @@ -333369,22 +333357,22 @@
"6fc81afb38d960d7d4bcaf373dd9050085f0b4b1",
[]
],
"enabled-by-feature-policy.https.sub.html.headers": [
"40e9bc16ff98867d0d048fe3a48237a8189ee317",
[]
],
"enabled-by-feature-policy.https.sub.html.ini": [
"3a3889b44d6b25670424cad8606570a732df1e0b",
[]
],
"enabled-on-self-origin-by-feature-policy.https.sub.html.headers": [
"b83264eee76491342a6328ca2ae82b7fb777cc37",
"enabled-by-permissions-policy.https.sub.html.headers": [
"774f4819e9b6cd9c5d4847bef043791720844b3e",
[]
],
"enabled-on-self-origin-by-feature-policy.https.sub.html.ini": [
"f9f3d511c9e60e985005723ecb829b4261abe550",
[]
],
"enabled-on-self-origin-by-permissions-policy.https.sub.html.headers": [
"9fa0a4ac9a8a161aa01a9f9f70d70499f606a25a",
[]
],
"getCurrentPosition_IDL.https-expected.txt": [
"8781bccd59718f81b29112d2efbfe6407f697e52",
[]
Expand Down Expand Up @@ -355297,17 +355285,9 @@
"b738239a16f9110ac148b4d3c0bcfecb7eca25bd",
[]
],
"idlharness.any-expected.txt": [
"2d65b553a346f7dcddc870151210bcb7b90142cf",
[]
],
"idlharness.any.js.ini": [
"fc52caadf8afe7a699eac99eb7d50bc99ee367ea",
[]
],
"idlharness.any.worker-expected.txt": [
"2d65b553a346f7dcddc870151210bcb7b90142cf",
[]
]
},
"is-input-pending": {
Expand Down Expand Up @@ -360720,7 +360700,7 @@
]
},
"idlharness.window-expected.txt": [
"2f84795ce9dce1094959571183759ad9a2752a30",
"bb8b0850e28119512ed3d4cad69a5e35c3280f47",
[]
],
"idlharness.window.js.ini": [
Expand Down Expand Up @@ -361074,6 +361054,10 @@
"59652e2e7ae0056a6cc4be7f004b6d0151fb9d44",
[]
],
"permissions-policy-geolocation.html": [
"c9ae680ff2d2297781b386fbde2c71c6354cc180",
[]
],
"permissions-policy-idle-detection-worker.html": [
"5bcc3980390bbb4cc223998d0af5118d943a69f8",
[]
Expand Down Expand Up @@ -363917,18 +363901,10 @@
"7167d54d8388fc3aa5bd57ee598e4ab48f88b396",
[]
],
"idlharness.any-expected.txt": [
"55ab8a9bd30bc2473b9faa72c0baf27e7dfdf298",
[]
],
"idlharness.any.js.ini": [
"0f79ee948676eeea626580a5914953af3a6a3f23",
[]
],
"idlharness.any.worker-expected.txt": [
"55ab8a9bd30bc2473b9faa72c0baf27e7dfdf298",
[]
],
"idlharness.window-expected.txt": [
"2852fc5895a9b4e8fccf5c53619cdb79fb399587",
[]
Expand Down Expand Up @@ -419028,6 +419004,13 @@
null,
{}
]
],
"position-fallback-tree-scoped.html": [
"5b5c25f1030113bc6a8aaf68d4e977170e0b899f",
[
null,
{}
]
]
},
"css-animations": {
Expand Down Expand Up @@ -446749,7 +446732,7 @@
]
],
"cssom-getPropertyValue-common-checks.html": [
"29ca39a88a659bc5a60b3464617235dd30e9d42d",
"27d802cd3df622f80bce890d2422791c8b81fcd3",
[
null,
{}
Expand Down Expand Up @@ -487511,40 +487494,40 @@
{}
]
],
"disabled-by-feature-policy.https.sub.html": [
"26fa7218a6d32a36ee4f99439580bcd19ddd7639",
"disabled-by-permissions-policy.https.sub.html": [
"9b603982b99ab9c070031f30cce5846eb8940292",
[
null,
{
"testdriver": true
}
]
],
"enabled-by-feature-policy-attribute-redirect-on-load.https.sub.html": [
"30de411cb7a342d105e2c6e0ae21c4d64c8f05dd",
"enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html": [
"864fb5e76139ed9e6158c08278dca0790f126c7b",
[
null,
{}
]
],
"enabled-by-feature-policy-attribute.https.sub.html": [
"49a6d777d66fa09df8d9ec38543f1097b95b6ffc",
"enabled-by-permission-policy-attribute.https.sub.html": [
"018409b82902672f66894b03a711bb708cad262c",
[
null,
{}
]
],
"enabled-by-feature-policy.https.sub.html": [
"955ed10632e84f52f231a4a0beeedb1ae5a7fc35",
"enabled-by-permissions-policy.https.sub.html": [
"007f79ab9c4256fbebae51f54d34144843020982",
[
null,
{
"testdriver": true
}
]
],
"enabled-on-self-origin-by-feature-policy.https.sub.html": [
"12ff86fa4e554dc02524877ffb534e4c9cc11c5c",
"enabled-on-self-origin-by-permissions-policy.https.sub.html": [
"d879c1c5432bb884af89f0f9fc24e328f8a3eae5",
[
null,
{
Expand All @@ -487560,7 +487543,7 @@
]
],
"getCurrentPosition_permission_allow.https.html": [
"102b8b4d11ea6d609de4e6f5e7be4b6ae370a425",
"c7fa970e086fe0efdd545f0c3cd7da5218b7bed8",
[
null,
{
Expand Down Expand Up @@ -555294,7 +555277,7 @@
]
],
"fcp-document-opacity-image.html": [
"7f211324761b4f63995ee00f40c0af0a7dc27488",
"e407f687086b9c8d9fecf96d6234e57c66d6183c",
[
null,
{}
Expand Down Expand Up @@ -556411,6 +556394,13 @@
{}
]
],
"cross-origin-non-tao-image.sub.html": [
"210f4e1fa3e8afdf4ac6a97671829bf52d223df1",
[
null,
{}
]
],
"droppedentriescount.any.js": [
"4de816bdc42bd8f73defcb07cb694a5fddfe058b",
[
Expand Down
@@ -1,9 +1,9 @@
This is a testharness.js-based test.
PASS All properties can serialize 'initial'
FAIL All properties (except 'all') can serialize their initial value (computed) assert_array_equals: lengths differ, expected array ["all"] length 1, got ["all", ["background-repeat-x", ""], ["background-repeat-y", ""], ["grid", "none / none / none / row / auto / auto"], ["grid-template", "none / none / none"], ["page-orientation", ""], ["size", ""], ["view-timeline", ""]] length 8
FAIL All properties (except 'all') can serialize their initial value (computed) assert_array_equals: lengths differ, expected array [] length 0, got [["background-repeat-x", ""], ["background-repeat-y", ""], ["grid", "none / none / none / row / auto / auto"], ["grid-template", "none / none / none"], ["page-orientation", ""], ["size", ""], ["view-timeline", ""]] length 7
FAIL All properties (except 'all') can serialize their initial value (specified) assert_array_equals: lengths differ, expected array [] length 0, got [["grid-column-gap", "normal", ""], ["grid-gap", "normal normal", ""], ["grid-row-gap", "normal", ""]] length 3
PASS All shorthands can serialize their longhands set to 'initial'
FAIL All shorthands can serialize their longhands set to their initial value assert_array_equals: lengths differ, expected array [] length 0, got [["border", ""], ["grid-gap", ""]] length 2
FAIL All shorthands (except 'all') can serialize their longhands set to their initial value assert_array_equals: lengths differ, expected array [] length 0, got [["border", ""], ["grid-gap", ""]] length 2
PASS All aliases can serialize target property set to 'initial'
FAIL All aliases can serialize target property set to its initial value assert_array_equals: lengths differ, expected array [] length 0, got [["grid-column-gap", ""], ["grid-row-gap", ""]] length 2
PASS Can't serialize shorthand when longhands are set to different css-wide keywords
Expand Down
Expand Up @@ -72,13 +72,11 @@
const result = computedStyle.getPropertyValue(property);
if (CSS.supports(property, result)) {
initialValues.set(property, result);
} else if (property === "all") {
bad.push("all");
} else {
} else if (property !== "all") {
bad.push([property, result]);
}
}
assert_array_equals(bad, ["all"]);
assert_array_equals(bad, []);
}, "All properties (except 'all') can serialize their initial value (computed)");

test(function() {
Expand All @@ -87,7 +85,7 @@
style.cssText = "";
style.setProperty(property, value);
const result = style.getPropertyValue(property);
if (!CSS.supports(property, result)) {
if (!CSS.supports(property, result) && property !== "all") {
bad.push([property, value, result]);
}
}
Expand Down Expand Up @@ -121,12 +119,12 @@
style.setProperty(longhand, initialValues.get(longhand));
}
const result = style.getPropertyValue(shorthand);
if (!CSS.supports(shorthand, result)) {
if (!CSS.supports(shorthand, result) && shorthand !== "all") {
bad.push([shorthand, result]);
}
}
assert_array_equals(bad, []);
}, "All shorthands can serialize their longhands set to their initial value");
}, "All shorthands (except 'all') can serialize their longhands set to their initial value");

test(function() {
const bad = [];
Expand Down

This file was deleted.

0 comments on commit 49996c0

Please sign in to comment.