Skip to content

Commit

Permalink
Import wpt@a133038fa1b34067eb2f994c9c3030963d344105
Browse files Browse the repository at this point in the history
Using wpt-import in Chromium 33c0e8d.
With Chromium commits locally applied on WPT:
c098099 "FSA: Make removeEntry() take an exclusive lock"


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

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: I2509fe5d1ab0f3f10f30abed47032778e69929c1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4044342
Auto-Submit: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1074383}
  • Loading branch information
Chromium WPT Sync authored and Chromium LUCI CQ committed Nov 22, 2022
1 parent cd63e68 commit 3089491
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 31 deletions.
6 changes: 3 additions & 3 deletions third_party/blink/web_tests/TestExpectations
Expand Up @@ -3131,9 +3131,9 @@ crbug.com/626703 external/wpt/geolocation-API/enabled-by-feature-policy-attribut
crbug.com/626703 external/wpt/geolocation-API/enabled-by-feature-policy-attribute.https.sub.html [ Timeout ]
crbug.com/626703 external/wpt/geolocation-API/enabled-by-feature-policy.https.sub.html [ Timeout ]
crbug.com/626703 external/wpt/geolocation-API/enabled-on-self-origin-by-feature-policy.https.sub.html [ Timeout ]
crbug.com/626703 external/wpt/resource-timing/object-not-found-adds-entry.html [ Timeout Failure Pass ]
crbug.com/1385265 virtual/plz-dedicated-worker/external/wpt/resource-timing/object-not-found-adds-entry.html [ Skip Failure Pass ]
crbug.com/1385278 external/wpt/resource-timing/iframe-failed-commit.html [ Skip Failure Pass Timeout ]
crbug.com/626703 external/wpt/resource-timing/object-not-found-adds-entry.html [ Failure Pass Timeout ]
crbug.com/1385265 virtual/plz-dedicated-worker/external/wpt/resource-timing/object-not-found-adds-entry.html [ Failure Pass Skip ]
crbug.com/1385278 external/wpt/resource-timing/iframe-failed-commit.html [ Failure Pass Skip Timeout ]
crbug.com/626703 external/wpt/webrtc/RTCConfiguration-iceTransportPolicy.html [ Skip Timeout ]
crbug.com/626703 [ Mac12 ] external/wpt/mediacapture-record/MediaRecorder-mimetype.html [ Failure Timeout ]
crbug.com/626703 [ Mac10.14 ] virtual/portals/external/wpt/portals/no-portal-in-sandboxed-popup.html [ Timeout ]
Expand Down
39 changes: 13 additions & 26 deletions third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json
Expand Up @@ -6096,6 +6096,13 @@
null,
{}
]
],
"commitStyles-svg-crash.html": [
"7fc1fef9ce27f673ecba0692e9819f47072751bd",
[
null,
{}
]
]
}
}
Expand Down Expand Up @@ -278063,10 +278070,6 @@
"top-layer-dialog-backdrop-ref.html": [
"49c46974c9de23284852d302b57b0ad206158d0f",
[]
],
"transition-style-change-event-002-expected.txt": [
"3b126fc6ba31c414db348249246bae0fdab850c4",
[]
]
},
"content-visibility": {
Expand Down Expand Up @@ -318892,7 +318895,7 @@
[]
],
"CSSKeyframesRule-expected.txt": [
"af8c374f31f50be75dbd4e6ebbf63121ef53103a",
"6f222f34264993417ae8259aa48637656b7e4cba",
[]
],
"CSSKeyframesRule.html.ini": [
Expand Down Expand Up @@ -331812,18 +331815,6 @@
"12cf0e36d35303a5936a5a1f0fba87083b219262",
[]
],
"FileSystemDirectoryHandle-removeEntry.https.any-expected.txt": [
"4abcb231b2ff49eff985b75f9aec9252d10b01e7",
[]
],
"FileSystemDirectoryHandle-removeEntry.https.any.js.ini": [
"d3bc3cb028d96448174be414bd333ecf0af97abd",
[]
],
"FileSystemDirectoryHandle-removeEntry.https.any.worker-expected.txt": [
"4abcb231b2ff49eff985b75f9aec9252d10b01e7",
[]
],
"META.yml": [
"23d7765cdfa39689ef72ae6a0beb15b8b4292ecd",
[]
Expand All @@ -331836,10 +331827,6 @@
"8b99a0140dbfcc1293c19105437d37577fd373db",
[]
],
"idlharness.https.any.js.ini": [
"f05a88d7c65a7c3900d7a8652d069dc435762892",
[]
],
"opaque-origin.https.window-expected.txt": [
"a4f8b49db924c9948f821ab077cf58f3dcb0348b",
[]
Expand Down Expand Up @@ -331956,7 +331943,7 @@
[]
],
"FileSystemDirectoryHandle-removeEntry.js": [
"108b9135f973faa0cec73bde4cb5e8749ca11f53",
"93b03ef6ade2b44b5160dc8e42494b46a63d295f",
[]
],
"FileSystemDirectoryHandle-resolve.js": [
Expand Down Expand Up @@ -331984,11 +331971,11 @@
[]
],
"FileSystemWritableFileStream-write.js": [
"70ba72f2245d39b414ecd5eac3e59b6ee9efddde",
"43c8ec7ca87d39cc96dea7b8557fac272bedafc4",
[]
],
"FileSystemWritableFileStream.js": [
"d9c4f35335cd9493397d5c3cd2ded70191cea80f",
"53e4fc1f28e4aeddac44df7b0bd4b08ce7a7dccf",
[]
]
}
Expand Down Expand Up @@ -445209,7 +445196,7 @@
]
],
"CSSKeyframesRule.html": [
"7d91127d1e022c35aad79715488eab32d4a37a84",
"a1adac383f675c25ee6ac820b21ea0a45a37f4ce",
[
null,
{}
Expand Down Expand Up @@ -528187,7 +528174,7 @@
]
],
"popover-events.tentative.html": [
"2f530d1adea7410083e11823a21693f664361bff",
"78d4a22c78e7be447eb1ef007c2ee29e192919b3",
[
null,
{}
Expand Down
@@ -1,4 +1,5 @@
This is a testharness.js-based test.
FAIL CSSOM - CSSKeyframesRule interface assert_equals: CSSKeyframesRule cssText attribute with CSS-wide keyword name expected "@keyframes\"initial\"{}" but got "@keyframesinitial{}"
FAIL name, cssRules, appendRule, findRule, deleteRule assert_equals: CSSKeyframesRule cssText attribute with CSS-wide keyword name expected "@keyframes\"initial\"{}" but got "@keyframesinitial{}"
FAIL indexed getter, length assert_equals: CSSKeyframesRule.length expected (number) 2 but got (undefined) undefined
Harness: the test ran to completion.

Expand Up @@ -12,6 +12,10 @@
100% { top: 200px; }
}
@keyframes empty {}
@keyframes indexed-access {
0% { top: 0px; }
100% { top: 200px; }
}
</style>

<script>
Expand Down Expand Up @@ -68,7 +72,14 @@
empty.name = "none";
assert_equals(empty.name, "none", "CSSKeyframesRule name setter, 'none'");
assert_equals(empty.cssText.replace(/\s/g, ""), "@keyframes\"none\"{}", "CSSKeyframesRule cssText attribute with 'none' name");
});
}, 'name, cssRules, appendRule, findRule, deleteRule');

test(function () {
const keyframes = document.styleSheets[0].cssRules[2];
assert_equals(keyframes[0].cssText, "0% { top: 0px; }", "CSSKeyframesRule indexed getter [0]");
assert_equals(keyframes[1].cssText, "100% { top: 200px; }", "CSSKeyframesRule indexed getter [1]");
assert_equals(keyframes.length, 2, "CSSKeyframesRule.length");
}, 'indexed getter, length');
</script>
</head>
</html>

0 comments on commit 3089491

Please sign in to comment.