Skip to content

Commit

Permalink
Import wpt@43c097ec564d814d0974d2d1e1587e37d9c19a19
Browse files Browse the repository at this point in the history
Using wpt-import in Chromium 8134717.

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:
yosin@chromium.org, pcupp@microsoft.com:
  external/wpt/editing

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: Idf3f274a6db39359c28358c3786f700a7e4fa630
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4075134
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1078944}
  • Loading branch information
Chromium WPT Sync authored and Chromium LUCI CQ committed Dec 3, 2022
1 parent 9a53259 commit 93dbc35
Show file tree
Hide file tree
Showing 241 changed files with 1,070 additions and 1,014 deletions.
552 changes: 262 additions & 290 deletions third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json

Large diffs are not rendered by default.

@@ -1,2 +1,3 @@
[url-in-tags-revoke.window.html]
expected: [OK, ERROR]
expected:
if product == "chrome": ERROR
@@ -0,0 +1,4 @@
[url-lifetime.html]
[Terminating worker revokes its URLs]
expected:
if flag_specific == "disable-site-isolation-trials": [PASS, FAIL]
@@ -1,6 +1,7 @@
[idbobjectstore_batchGetAll_largeValue.tentative.any.html]
expected:
if product == "chrome": OK
if (flag_specific == "") and (os == "linux") and (product == "chrome"): OK
if (flag_specific == "") and (os == "win"): OK
TIMEOUT
[Get upper/lower excluded]
expected: [PASS, TIMEOUT]
Expand Down
@@ -1,2 +1,3 @@
[history.sub.html]
expected: [OK, ERROR]
expected:
if product == "chrome": ERROR
@@ -1,7 +1,3 @@
[prefetch-header-allowed.html]
expected:
if flag_specific == "disable-layout-ng": OK
[OK, TIMEOUT]
[Prefetch via `Link` header succeeds when allowed by prefetch-src]
expected:
if product == "chrome": [PASS, TIMEOUT]
if (flag_specific == "") and (os == "win"): TIMEOUT
@@ -0,0 +1,9 @@
[cookieStore_subscribe_arguments.https.any.html]
expected:
if os == "win": [OK, ERROR]
[CookieStore.unsubscribe is idempotent]
expected:
if os == "win": [PASS, NOTRUN]


[cookieStore_subscribe_arguments.https.any.serviceworker.html]
@@ -1,5 +1,5 @@
[form-post-blank-reload.https.html]
expected:
if product == "chrome": ERROR
if product == "chrome": [OK, ERROR]
[Reloaded cross-site top-level form POSTs are strictly same-site]
expected: FAIL
@@ -1,6 +1,3 @@
[fedcm-cross-origin-policy.https.html]
expected:
if product == "chrome": TIMEOUT
[Test that COEP policy do not apply to FedCM requests]
expected:
if product == "chrome": TIMEOUT
if product == "chrome": CRASH
@@ -1,4 +1,4 @@
[fedcm-network-requests.https.html]
expected:
if (product == "content_shell") and (os == "win"): [OK, TIMEOUT]
if product == "chrome": CRASH
if (os == "linux") and (product == "chrome"): CRASH
if os == "win": TIMEOUT
@@ -1,5 +1,4 @@
[float-nowrap-3-ref.html]
expected:
if (flag_specific == "") and (os == "win"): [TIMEOUT, CRASH]
if flag_specific == "disable-layout-ng": PASS
if (os == "linux") and (flag_specific == "disable-layout-ng"): PASS
CRASH
Expand Up @@ -7,7 +7,3 @@

[Animation state is preserved when interleaving animations in list]
expected: FAIL

[Animations preserve their startTime when changed]
expected:
if product == "chrome": FAIL
@@ -1,12 +1,16 @@
[hit-test-transformed-inline.html]
[First x]
expected: [FAIL, PASS]
expected:
if product == "chrome": FAIL

[First child]
expected: [FAIL, PASS]
expected:
if product == "chrome": FAIL

[Second child]
expected: [FAIL, PASS]
expected:
if product == "chrome": FAIL

[Last x]
expected: [FAIL, PASS]
expected:
if product == "chrome": FAIL
@@ -1,4 +1,4 @@
[initial-letter-block-position-margins.html]
expected:
if (product == "content_shell") and (flag_specific == "disable-layout-ng"): FAIL
if product == "chrome": FAIL
if (flag_specific == "") and (product == "chrome"): [PASS, FAIL]
if flag_specific == "disable-layout-ng": FAIL
@@ -1,4 +1,4 @@
[initial-letter-float-004.html]
expected:
if (os == "linux") and (product == "content_shell") and (flag_specific == "disable-layout-ng"): FAIL
if (os == "linux") and (product == "chrome"): FAIL
if (flag_specific == "") and (product == "chrome"): [PASS, FAIL]
if flag_specific == "disable-layout-ng": FAIL
@@ -1,3 +1,4 @@
[initial-letter-raise-initial-vrl.html]
expected:
if (flag_specific == "") and (product == "chrome"): [PASS, FAIL]
if flag_specific == "disable-layout-ng": FAIL
@@ -1,4 +1,4 @@
[initial-letter-raised-sunken-caps-raise.html]
expected:
if (flag_specific == "") and (product == "chrome"): [PASS, FAIL]
if flag_specific == "disable-layout-ng": FAIL
if (product == "content_shell") and (flag_specific == "disable-layout-ng"): FAIL
if product == "chrome": FAIL
@@ -1,3 +1,3 @@
[constructor-error.https.html]
expected:
if product == "chrome": ERROR
if product == "chrome": [PASS, ERROR]
@@ -1,2 +1,3 @@
[clip-path-inline-001.html]
expected: [FAIL, PASS]
expected:
if product == "chrome": FAIL
@@ -1,2 +1,3 @@
[clip-path-reference-box-004.html]
expected: [PASS, FAIL]
expected:
if product == "chrome": FAIL
@@ -1,4 +1,4 @@
[parse-input-arguments-018.https.html]
expected:
if product == "chrome": PASS
CRASH
if (product == "content_shell") and (flag_specific == ""): CRASH
if (product == "content_shell") and (flag_specific == "disable-layout-ng"): [PASS, CRASH]
@@ -1,3 +1,3 @@
[ruby-text-combine-upright-001b.html]
expected:
if product == "chrome": FAIL
if product == "chrome": [PASS, FAIL]
@@ -1,6 +1,3 @@
[acos-asin-atan-atan2-computed.html]
[calc(atan(e - 2.7182818284590452354) ) should be used-value-equivalent to 0deg]
expected: FAIL

[calc(acos(cos(30deg - 0.523599rad ) )) should be used-value-equivalent to 0deg]
expected: FAIL

This file was deleted.

@@ -1,3 +1,55 @@
[scroll-behavior-main-frame-root.html]
[Main frame with smooth scroll-behavior ; scrollIntoView() with instant behavior]
expected: FAIL

[Main frame with smooth scroll-behavior ; scroll() with default behavior]
expected:
if os == "win": [FAIL, PASS]

[Main frame with smooth scroll-behavior ; scroll() with smooth behavior]
expected:
if os == "win": [FAIL, PASS]

[Main frame with auto scroll-behavior ; scrollTo() with smooth behavior]
expected:
if os == "win": [FAIL, PASS]

[Main frame with auto scroll-behavior ; scroll() with smooth behavior]
expected:
if os == "win": [PASS, FAIL]

[Main frame with smooth scroll-behavior ; scroll() with auto behavior]
expected:
if os == "win": [FAIL, PASS]

[Main frame with smooth scroll-behavior ; scrollTo() with smooth behavior]
expected:
if os == "win": [PASS, FAIL]

[Main frame with smooth scroll-behavior ; scrollBy() with default behavior]
expected:
if os == "win": [PASS, FAIL]

[Main frame with smooth scroll-behavior ; scrollTo() with auto behavior]
expected:
if os == "win": FAIL

[Main frame with smooth scroll-behavior ; scrollIntoView() with auto behavior]
expected:
if os == "win": [PASS, FAIL]

[Main frame with auto scroll-behavior ; scrollBy() with smooth behavior]
expected:
if os == "win": [FAIL, PASS]

[Main frame with smooth scroll-behavior ; scrollBy() with auto behavior]
expected:
if os == "win": [PASS, FAIL]

[Main frame with smooth scroll-behavior ; scrollTo() with default behavior]
expected:
if os == "win": FAIL

[Main frame with smooth scroll-behavior ; scrollIntoView() with default behavior]
expected:
if os == "win": [PASS, FAIL]
@@ -0,0 +1,4 @@
[scroll-behavior-main-frame-window.html]
[Main frame with smooth scroll-behavior ; scrollTo() with smooth behavior]
expected:
if os == "win": [PASS, FAIL]
@@ -1,6 +1,3 @@
[ElementInternals-target-element-is-held-strongly.html]
expected:
if (flag_specific == "") and (os == "linux") and (product == "content_shell"): [OK, CRASH]
if flag_specific == "disable-site-isolation-trials": TIMEOUT
[Target element of ElementsInternals is held strongly and doesn't get GCed if there are no other references]
expected: [PASS, TIMEOUT]
@@ -0,0 +1,3 @@
[throw-on-dynamic-markup-insertion-counter-construct.html]
expected:
if os == "win": [OK, CRASH]

This file was deleted.

@@ -0,0 +1,3 @@
[TreeWalker-acceptNode-filter.html]
expected:
if os == "win": [OK, CRASH]
Expand Up @@ -165,19 +165,25 @@ var browserTests = [
"{<table><tbody><tr><td><strike>foo</strike></td><td><strike>bar</strike></td><td><strike>baz</strike></td></tr></tbody></table>}",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"strikethrough":[false,false,"",false,true,""]}],
// <u> is just representing underline style. Therefore, browsers should not
// keep it. Instead, it should be replaced with new <span> and set its
// text-decoration to line-through (requested style) and underline (default
// style of <u>).
["foo<u>[bar]</u>baz",
[["stylewithcss","true"],["strikethrough",""]],
"foo<span style=\"text-decoration:line-through\"><u>[bar]</u></span>baz",
"foo<span style=\"text-decoration:underline line-through\">[bar]</span>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
["foo<u>[bar]</u>baz",
[["stylewithcss","false"],["strikethrough",""]],
"foo<strike><u>[bar]</u></strike>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"strikethrough":[false,false,"",false,true,""]}],
// The <span> which is a container of the range has text-decoration style.
// Therefore, it should be updated rather than creating new element.
["foo<span style=\"text-decoration: underline\">[bar]</span>baz",
[["stylewithcss","true"],["strikethrough",""]],
"foo<span style=\"text-decoration:line-through\"><span style=\"text-decoration:underline\">[bar]</span></span>baz",
"foo<span style=\"text-decoration:underline line-through\">[bar]</span>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
["foo<span style=\"text-decoration: underline\">[bar]</span>baz",
Expand Down Expand Up @@ -367,9 +373,12 @@ var browserTests = [
"<strike>foo</strike>[b<i>ar]<strike>ba</strike></i><strike>z</strike>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"strikethrough":[false,true,"",false,false,""]}],
// Should set text-decoration of <ins> because it has underline style by
// default and it is not only representing it, thus, replacing it with <span>
// changes the meaning.
["foo<ins>[bar]</ins>baz",
[["stylewithcss","true"],["strikethrough",""]],
"foo<span style=\"text-decoration:line-through\"><ins>[bar]</ins></span>baz",
"foo<ins style=\"text-decoration:underline line-through\">[bar]</ins>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
["foo<ins>[bar]</ins>baz",
Expand Down Expand Up @@ -533,9 +542,13 @@ var browserTests = [
"foo<s style=\"text-decoration:overline\">b</s><span style=\"text-decoration-line:overline\"><strike>a</strike></span><s style=\"text-decoration:overline\">r</s>baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"strikethrough":[false,false,"",false,true,""]}],
// Should replace <u> with new <span> and set its `text-decoration` to
// line-though (for applying the requested style) and overline (which was
// specified to the <u>). Note that underline was removed by the
// text-decoration setting. Therefore, it should not appear.
["foo<u style=\"text-decoration: overline\">[bar]</u>baz",
[["stylewithcss","true"],["strikethrough",""]],
"foo<span style=\"text-decoration:line-through\"><u style=\"text-decoration:overline\">[bar]</u></span>baz",
"foo<span style=\"text-decoration:overline line-through\">[bar]</span>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
["foo<u style=\"text-decoration: overline\">[bar]</u>baz",
Expand Down Expand Up @@ -708,5 +721,46 @@ var browserTests = [
[["stylewithcss","false"],["strikethrough",""]],
"<s>fo</s>[o<del>b]ar</del>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"strikethrough":[false,true,"",true,false,""]}]
{"stylewithcss":[false,true,"",false,false,""],"strikethrough":[false,true,"",true,false,""]}],


// Tests to remove only strikethrough from existing text-decoration
["abc<span style=\"text-decoration:line-through overline underline\">[def]</span>ghi",
[["stylewithcss","true"],["strikethrough",""]],
["abc<span style=\"text-decoration:underline overline\">[def]</span>ghi",
"abc<span style=\"text-decoration-line:underline overline\">[def]</span>ghi"],
[true,true],
{}],

// blink, text-decoration-color and text-decoration-style values should be
// dropped. This rule is odd because executing "underline" command causes
// the data loss, but for now, the compatibility between browsers is more
// important. Once you want/need to change the behavior of a browser, you
// should file a spec issue first.
// And these tests allows the difference between text-decoration vs.
// text-decoration-line because these tests want to check the data loss.
["abc<span style=\"text-decoration:blink overline underline\">[def]</span>ghi",
[["stylewithcss","true"],["strikethrough",""]],
["abc<span style=\"text-decoration:underline overline line-through\">[def]</span>ghi",
"abc<span style=\"text-decoration-line:underline overline line-through\">[def]</span>ghi"],
[true,true],
{}],
["abc<span style=\"text-decoration:underline blue dotted\">[def]</span>ghi",
[["stylewithcss","true"],["strikethrough",""]],
["abc<span style=\"text-decoration:underline line-through\">[def]</span>ghi",
"abc<span style=\"text-decoration-line:underline line-through\">[def]</span>ghi"],
[true,true],
{}],
["abc<span style=\"text-decoration:blink line-through underline overline\">[def]</span>ghi",
[["stylewithcss","true"],["strikethrough",""]],
["abc<span style=\"text-decoration:underline overline\">[def]</span>ghi",
"abc<span style=\"text-decoration-line:underline overline\">[def]</span>ghi"],
[true,true],
{}],
["abc<span style=\"text-decoration:underline line-through blue dotted\">[def]</span>ghi",
[["stylewithcss","true"],["strikethrough",""]],
["abc<span style=\"text-decoration:underline\">[def]</span>ghi",
"abc<span style=\"text-decoration-line:underline\">[def]</span>ghi"],
[true,true],
{}],
]

0 comments on commit 93dbc35

Please sign in to comment.