Import wpt@d6d6e9898ed1a7cb994f5d2bc23e5b23d0e8b90c
Using wpt-import in Chromium ab9faac9f1c25af5b4885768378c4e606395ebf9.
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: I5ab3a5b5a1ba45c4e7c501937faf660d645a160c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3537293
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@{#982950}
diff --git a/third_party/blink/web_tests/TestExpectations b/third_party/blink/web_tests/TestExpectations
index 7d68f80a..27f6d8bf 100644
--- a/third_party/blink/web_tests/TestExpectations
+++ b/third_party/blink/web_tests/TestExpectations
@@ -3458,6 +3458,7 @@
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 [ Mac10.12 ] virtual/prerender/external/wpt/speculation-rules/prerender/opt-out.html [ Skip Timeout ]
crbug.com/626703 external/wpt/css/css-grid/subgrid/subgrid-stretch.html [ Failure ]
crbug.com/626703 [ Mac11 ] external/wpt/css/css-animations/parsing/animation-computed.html [ Failure Timeout ]
crbug.com/626703 [ Mac11 ] virtual/threaded/external/wpt/css/css-animations/parsing/animation-computed.html [ Failure Timeout ]
@@ -7775,4 +7776,4 @@
# WebAudio flaky timeout (crbug.com/1307741)
crbug.com/1307741 [ Mac ] external/wpt/webaudio/the-audio-api/the-mediastreamaudiosourcenode-interface/mediastreamaudiosourcenode-routing.html [ Timeout ]
crbug.com/1307741 external/wpt/webaudio/the-audio-api/the-pannernode-interface/pannernode-basic.html [ Timeout ]
-crbug.com/1307741 webaudio/AudioParam/audioparam-k-rate.html [ Timeout ]
\ No newline at end of file
+crbug.com/1307741 webaudio/AudioParam/audioparam-k-rate.html [ Timeout ]
diff --git a/third_party/blink/web_tests/external/Version b/third_party/blink/web_tests/external/Version
index f9549ab..0c379ff 100644
--- a/third_party/blink/web_tests/external/Version
+++ b/third_party/blink/web_tests/external/Version
@@ -1 +1 @@
-Version: 1fb461292d43f1d25da167e05afe54f6b93df5d5
+Version: d6d6e9898ed1a7cb994f5d2bc23e5b23d0e8b90c
diff --git a/third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json b/third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json
index 2704a4a3..bca8eb3d 100644
--- a/third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json
+++ b/third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json
@@ -274875,6 +274875,10 @@
"de80b40399280b99029ae20d9f043fed34a1795d",
[]
],
+ "container-type-expected.txt": [
+ "244ec2146406ec299ce2b3e17d2e841d672bcaaa",
+ []
+ ],
"dominant-baseline-expected.txt": [
"b61e9c7db19b6713b4c00758870af00f8fa615cb",
[]
@@ -360055,8 +360059,8 @@
{}
]
],
- "fedcm-logout.https.html": [
- "4b38e863bf4ae91f28aa48dc11df6447ae6758ed",
+ "fedcm-logout.sub.https.html": [
+ "7024638a127dcd8e579083813c031e048b0fbeb5",
[
null,
{}
@@ -383193,6 +383197,13 @@
{}
]
],
+ "container-type.html": [
+ "d52915492390dc0c6300a710f7f77565c7754145",
+ [
+ null,
+ {}
+ ]
+ ],
"coordinate.html": [
"31ccbfa9b9010a3e510f23ebe4fbc4aa0d3e245d",
[
@@ -451317,6 +451328,13 @@
null,
{}
]
+ ],
+ "hidden-ua-stylesheet.html": [
+ "913ecc037cfcd3ff4d0b1f41f210808f009d9ca4",
+ [
+ null,
+ {}
+ ]
]
}
},
@@ -458882,10 +458900,14 @@
]
],
"selection-not-application.html": [
- "aa98a030a83b8b9506c8e04dc945e022f11073ee",
+ "7771c3cf312d5514c0bc1d68d34109ac54e87f6d",
[
null,
{}
+ ],
+ [
+ "html/semantics/forms/textfieldselection/selection-not-application.html?week,month",
+ {}
]
],
"selection-start-end-extra.html": [
diff --git a/third_party/blink/web_tests/external/wpt/html/semantics/forms/textfieldselection/selection-not-application.html b/third_party/blink/web_tests/external/wpt/html/semantics/forms/textfieldselection/selection-not-application.html
index aa98a030..7771c3c 100644
--- a/third_party/blink/web_tests/external/wpt/html/semantics/forms/textfieldselection/selection-not-application.html
+++ b/third_party/blink/web_tests/external/wpt/html/semantics/forms/textfieldselection/selection-not-application.html
@@ -1,5 +1,7 @@
<!DOCTYPE html>
<meta charset=utf-8>
+<meta name=variant content="">
+<meta name=variant content="?week,month">
<title>text field selection</title>
<link rel="author" title="Denis Ah-Kang" href="mailto:denis@w3.org">
<link rel=help href="https://html.spec.whatwg.org/multipage/#textFieldSelection">
@@ -7,18 +9,19 @@
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
- var nonApplicableTypes = ["hidden", "email", "datetime-local", "date", "month", "week", "time", "number", "range", "color", "checkbox", "radio", "file", "submit", "image", "reset", "button"];
+ var nonApplicableTypes = ["hidden", "email", "datetime-local", "date", "time", "number", "range", "color", "checkbox", "radio", "file", "submit", "image", "reset", "button"];
var applicableTypes = ["text", "search", "tel", "url", "password", "aninvalidtype", null];
+ if (location.search) {
+ // If the <meta name=variant> tag used is non-empty, then use it instead of
+ // nonApplicableTypes.
+ nonApplicableTypes = location.search.substr(1).split(',');
+ }
+
nonApplicableTypes.forEach(function(type){
var el = document.createElement("input");
el.type = type;
- if (el.type != type) {
- // Type is not supported - don't bother with the following checks.
- return;
- }
-
test(() => {
assert_equals(el.selectionStart, null);
}, `selectionStart on an input[type=${type}] returns null`);