Automatic update from web-platform-tests
Remove service-workers/stub-* files (#18745)
This originates in commit 5ac8b780247e02235b3d8d344428886b20e5b8b0
where specgen.json and the genereated stubs were added.
In effect, these stubs don't do anything, and the idea of generating
tests from the spec hasn't been realized.
Part 1 of https://github.com/web-platform-tests/rfcs/pull/27.
--
wpt-commits: 9d89fa83724d2dd6a1cd82975934ff55b8770b42
wpt-pr: 18745
Automatic update from web-platform-tests
CSS: getComputedStyle() returns computed colors in gradients
We now return rgb() values instead of color keywords in
getComputedStyle() results for gradient images.
Not yet addressed: lengths should also be made absolute,
e.g. we should never have 'ex' units in getComputedStyle()
results.
Bug: 977042
Change-Id: If20dc6b773f8948370fbda63397e06c784e3d55c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1765133
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691943}
--
wpt-commits: 9e6ba1398074f2fefa40ee60c05c97ee0d4f29b2
wpt-pr: 18613
Automatic update from web-platform-tests
[LayoutNG] Bottom half-leading shouldn't contribute to layout overflow.
Previously we included the total line-box size in the layout overflow
calculation.
With this patch we only consider the children, and the inline-size
of the line-box.
This has the effect of ignoring the bottom half-leading of the linebox.
Bug: 996847
Change-Id: I65386ad564a4472a67606cd3410af558d5d01328
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774314
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691934}
--
wpt-commits: 779a3b3486363ab515247d00380e9e598f4f9985
wpt-pr: 18760
Automatic update from web-platform-tests
Expose kv-storage built-in module only on SecureContexts
This CL adds actual restriction in Blink implementation.
This CL also modifies tests and expectations to match with
the current Blink built-in/import maps infra.
A subtest in WPT test `import-statement.html` is failing
because the current Blink implementation is based on
pre-import-map spec and thus
importing unavailable built-in causes fetch error.
See 'import 'std:nonexistent';' row of
https://github.com/WICG/import-maps/issues/159.
Bug: 977470
Change-Id: I107f60ed95e1f91d62f468c29c5d741eef13f4f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1702754
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691821}
--
wpt-commits: cb808982deeb57212fb856858c1a7716d0ac2ecb
wpt-pr: 17863
Automatic update from web-platform-tests
Update simulateUserActivation to match webxr-test-api spec
Currently it returns a promise, but per the spec it should be void.
Bug: 997305
Change-Id: If8af8e9e184209f5baafd4210ac58b358c7469eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1768552
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
Auto-Submit: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690067}
--
wpt-commits: 96702a4cd57346caaed25c09f6756b00d4be1185
wpt-pr: 18647
Automatic update from web-platform-tests
[LargestContentfulPaint] Add poster video test and checkImage() helper
This CL adds a test for poster image of video. It also adds a helper
script with a checkImage() helper which is used in the tests where LCP
entry with image is expected. The last parameter is an options array
which is used to specify different expected behaviors.
Bug: 994414
Change-Id: If0d085aa4569d2ce2d116734819c18028700ad8d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1764416
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691736}
--
wpt-commits: 4ad4e60faf7385abb092be65070923a214e1756a
wpt-pr: 18598
Automatic update from web-platform-tests
[LayoutNG] Fixes positions/sizes of empty inline boxes
This patch sets to create a box fragment (not to cull) empty
inline boxes.
|NGInlineBoxState| already computes positions/sizes of empty
inline boxes if it were set not to be culled (e.g., by setting
background), but the emptiness was not included in the
condition to set |ShouldCreateBoxFragment()|.
According to crbug.com/997705, legacy works in some cases,
but not in any of simplified test cases nor in other issues.
Some changes needed in other code and/or tests:
* |AbsoluteBoundingBoxRectHandlingEmptyInline| fails when the
inline box is not culled. This patch fixes
|LayoutInline::AbsoluteBoundingBoxRectHandlingEmptyInline()|.
* |NGPaintFragmentTest| has empty inline box by mistake. Fixed.
* The |offsetLeft| of <area> element is different when it is
not culled. It looks like it is not interoperable, fixed
the test not to rely on it.
* fast/css/non-empty-span.html looks like it was incorrectly
rebaselined for LayoutNG. The new rebaseline in this patch
matches to legacy/Gecko/Edge.
Bug: 680075, 953479, 997705
Change-Id: I1726d1a573e34d88cc91b1950bfa8e327966833c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774418
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691685}
--
wpt-commits: dce52f4c2f9cca055d56b95f04aae886bcb80a92
wpt-pr: 18720
Automatic update from web-platform-tests
Port some 2d transform test case to wpt
Most of the test cases in webkit-transform-interpolation-005.html are
already covered in transform-interpolation-005.html, except for 2 test
cases, and this CL ports those two cases to wpt.
Bug: 900581
Change-Id: I4ef5d0322877a6820db686e1c8a54a89fec53bcc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1775662
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691610}
--
wpt-commits: 4a1efd31a94aab7a06522e17669047cfcda0cc7a
wpt-pr: 18733
Automatic update from web-platform-tests
Remove tentative test for vertical math for now since it's not clear how that feature will be implemented at the end. (#18748)
https://github.com/mathml-refresh/mathml/issues/18
--
wpt-commits: d0b506880be16b818d9f6721eb3eb862b404f9fb
wpt-pr: 18748
Automatic update from web-platform-tests
Only check that "display: contents" computes to none for MathML child… (#18747)
* Only check that "display: contents" computes to none for MathML children.
* do not remove space
--
wpt-commits: e63a246b128875ed7ff0db69a9fbaa7548cc0360
wpt-pr: 18747
Automatic update from web-platform-tests
Rename many idlharness.js tests to idlharness.* (#18743)
idlharness.window.js and similar is already by far the most common
naming for idlharness.js tests, and that's a good unique name for
findings tests, on wpt.fyi in partiuclar.
This renames all files that contain both `/resources/idlharness.js`
and `idl_test`. The remaining may be renamed when they're converted to
use `idl_test`.
This also renames the domparsing tests from .any.js to .window.js
since those are main thread APIs. Testing for the absense of the
interface objects in workers isn't practically useful, and the
instance tests will always fail:
https://wpt.fyi/results/domparsing/interfaces.any.worker.html?run_id=295100002&run_id=296880003&run_id=277130001&run_id=296870004
--
wpt-commits: 274abf218e780afa74ea6b8ac30e77c081c8a2d2
wpt-pr: 18743
--HG--
rename : testing/web-platform/tests/BackgroundSync/interfaces.https.any.js => testing/web-platform/tests/BackgroundSync/idlharness.https.any.js
rename : testing/web-platform/tests/css/css-typed-om/interfaces.html => testing/web-platform/tests/css/css-typed-om/idlharness.html
rename : testing/web-platform/tests/css/cssom-view/interfaces.html => testing/web-platform/tests/css/cssom-view/idlharness.html
rename : testing/web-platform/tests/css/cssom/interfaces.html => testing/web-platform/tests/css/cssom/idlharness.html
rename : testing/web-platform/tests/css/filter-effects/interfaces.any.js => testing/web-platform/tests/css/filter-effects/idlharness.any.js
rename : testing/web-platform/tests/domparsing/interfaces.any.js => testing/web-platform/tests/domparsing/idlharness.window.js
rename : testing/web-platform/tests/fetch/api/idl.any.js => testing/web-platform/tests/fetch/api/idlharness.any.js
rename : testing/web-platform/tests/html/dom/interfaces.https.html => testing/web-platform/tests/html/dom/idlharness.https.html
rename : testing/web-platform/tests/html/dom/interfaces.worker.js => testing/web-platform/tests/html/dom/idlharness.worker.js
rename : testing/web-platform/tests/permissions/interfaces.any.js => testing/web-platform/tests/permissions/idlharness.any.js
rename : testing/web-platform/tests/pointerlock/interfaces.window.js => testing/web-platform/tests/pointerlock/idlharness.window.js
Automatic update from web-platform-tests
HTML: tests for UA styles of `text-transform`
For https://github.com/whatwg/html/pull/4672.
--
wpt-commits: 16ddb73a6251af3957efdbd6409b87a9c8cf6e50
wpt-pr: 17152
Automatic update from web-platform-tests
DOM: tests for the StaticRange constructor
For https://github.com/whatwg/dom/pull/778.
--
wpt-commits: 91a5f1ae0c9501100ce9cd476ba8c08a1bff5125
wpt-pr: 18619
Automatic update from web-platform-tests
Reland Add tick duration argument to testdriver Action
We want to allow the users to define the duration for every tick, so we
add an argument to Action class which will be a duration for all
ticks. If there is a tick which need a different duration, we can call
addTick or pause to pass a different value.
Bug: 606367
Change-Id: Ifaad20fd6f6d2a3c97b54960b13289012bd4abc2
TBR=nzolghadr@chromium.org
Change-Id: Ifaad20fd6f6d2a3c97b54960b13289012bd4abc2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1775502
Reviewed-by: Lan Wei <lanwei@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691445}
--
wpt-commits: 42e89dc19437759785c27d35191b4f049276c7b8
wpt-pr: 18731
Automatic update from web-platform-tests
Revert "Add tick duration argument to testdriver Action"
This reverts commit c7ea6754ed0a642be6bbe668b6e83dbd35caecfa.
Reason for revert: Possible cause of crbug.com/998948
Original change's description:
> Add tick duration argument to testdriver Action
>
> We want to allow the users to define the duration for every tick, so we
> add an argument to Action class which will be a duration for all
> ticks. If there is a tick which need a different duration, we can call
> addTick or pause to pass a different value.
>
> Bug: 606367
> Change-Id: I7e5d88557f5f4a4c63dbf85985c30881aee9f739
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1762836
> Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
> Commit-Queue: Lan Wei <lanwei@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#691186}
TBR=lanwei@chromium.org,nzolghadr@chromium.org
Change-Id: I52a0c14b77c9c6139b2f01b6a449d604fbe137d3
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 606367
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774427
Reviewed-by: Darren Shen <shend@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691372}
--
wpt-commits: 330ffdbdef4368ea1e8f7f826f6dd5b45d1fe8bb
wpt-pr: 18730
Automatic update from web-platform-tests
[revert] Allow about:srcdoc{#foo,?bar}
As a defensive measure, navigation to about:srcdoc#foo and
about:srcdoc? were disallowed by:
https://chromium-review.googlesource.com/c/chromium/src/+/1663421
The assumption were wrong. It is totally possible to make a same-document
navigation into about:srcdoc. This CL reverts parts of the previous CL.
Bug: 996044, 996725
Change-Id: I53ac8efa9ec7f0adb4cecc85163b8d037497c0e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1773263
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691275}
--
wpt-commits: 5203de17db18ce59f48dec42a45b7854e63267e2
wpt-pr: 18714
Automatic update from web-platform-tests
Remove text-orientation-script-001* (#18660)
This patch removes `text-orientation-script-001*` tests.
At the point this set of tests were developed, UA had to
implement computing the Vertical_Orientation property as
defiend in UTR#50.
Since then, UTR#50 turned to UAX#50 and ICU63 added this
property that the benefit of testing all code points became
less important.
This set of tests have following downsides:
1. Specific to a version of UAX#50 that the tests and all UA
must be in sync.
2. Takes very long time, often timeouts in Edge and WebKit.
3. Is sensitive to the undefined behavior of
`getBoundingClientRect`.
4. It's not easy to maintain on every revision update.
Given the benefit went down, and we have tests for specific
cases (other `text-orientation-*` tests), this set of tests
has done its role hence removing.
--
wpt-commits: 05310f352f6032905a03a81b18049af9053db95a
wpt-pr: 18660
Automatic update from web-platform-tests
[LargestContentfulPaint] Fix anonymous LayoutObject aggregation
This CL allows ScopedPaintTimingDetectorBlockPaintHook to skip anonymous layout
objects by only setting |reset_top_| on the EmplaceIfNeeded() method. This also
means two DHECKs related to |top_| need to be removed.
Bug: 988593
Change-Id: Iad4cf425d712436092ed2005eb39197d7cfd8439
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1773720
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691216}
--
wpt-commits: 0a80ac883be37fc74859cd04815795e2a74077a1
wpt-pr: 18724
Automatic update from web-platform-tests
Add tick duration argument to testdriver Action
We want to allow the users to define the duration for every tick, so we
add an argument to Action class which will be a duration for all
ticks. If there is a tick which need a different duration, we can call
addTick or pause to pass a different value.
Bug: 606367
Change-Id: I7e5d88557f5f4a4c63dbf85985c30881aee9f739
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1762836
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691186}
--
wpt-commits: c417f6d8f332d8c0f35bb67e9c58c0cfeb4ce291
wpt-pr: 18596
Automatic update from web-platform-tests
Reland "[CSS] Treat viewport-relative units as computationally independent"
This reverts commit 182115f0e3d61178991b3394e0dd50489df5ea30.
Reason for revert: We are relanding this to prove whether this patch was or was not the cause of the style and layout performance regression.
Original change's description:
> Revert "[CSS] Treat viewport-relative units as computationally independent"
>
> This is a speculative revert in order to either confirm or eliminate it
> as a source for a hard to track down persistent performance regression.
>
> This reverts r679183 (commit 6b846d3689b9038c73d87ecbab61670e91c7e051).
>
> Bug: 993476
> Tbr: pdr@chromium.org
> Change-Id: I37566d32fb0853590e72299fdc0f281c712bf027
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1764195
> Commit-Queue: Emil A Eklund <eae@chromium.org>
> Reviewed-by: Emil A Eklund <eae@chromium.org>
> Reviewed-by: Philip Rogers <pdr@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#689475}
TBR=pdr@chromium.org,eae@chromium.org,xiaochengh@chromium.org,andruud@chromium.org
# Not skipping CQ checks because original CL landed > 1 day ago.
Bug: 993476
Change-Id: I0292aa653c23ae3b2a751f62ee210626aeb71bbd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774683
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691182}
--
wpt-commits: ff1d1b2d99901b1317772d8880da1d5d21fc7133
wpt-pr: 18723
Automatic update from web-platform-tests
Reland "Started implementing the STAPIT algorithm"
Changed SMILTimeContainer to step through all times where
an animation stops or ends when just playing it normally. Currently
it will only add slowdowns but also makes the animations more "correct".
The "repeatn-remove-add-animation.html" test has been changed to work more
reliably with the new stepping.
This commit also fixes issue 688742
Bug: 688742, 986219, 997279
Change-Id: I7f1a68c42994eb5b080a87bd2df53cb80316ecff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1768765
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Edvard Thörnros <edvardt@opera.com>
Cr-Commit-Position: refs/heads/master@{#691141}
--
wpt-commits: 5a8e09eae29344d2a907be9ff5c9c3a877f635ca
wpt-pr: 18672
Automatic update from web-platform-tests
Port most of the border-*-interpolation.html tests to WPT
Bug: 900581
Change-Id: I50718e83c691bd3351f7d881aeabc5be1475f1a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1773198
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691144}
--
wpt-commits: 56b070d4ea8401441e55370f69aa9e8f1faf3fb0
wpt-pr: 18703
Automatic update from web-platform-tests
Fix flakiness of pausing-an-animation test.
The test had a strict inequality test for current time based on the
fact that the ready promise is typically received in the next frame
after the compositor has paused the animation. However, the test is
validating that the updated playback rate does not take effect too
early, which would result in a big change to current time. Changing
the assert from > to >= still validates what the test was designed for
and accommodates some variability in the delivery time of the ready
promise. The spec does not state that the time must advance before the
ready promise is delivered, just that the animation client must
acknowledge that it is ready.
Bug: 997149
Change-Id: I1a0a5d889d6f8270560c9d4ec8e9de94b429e855
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1773718
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691138}
--
wpt-commits: 9020120054db4bbec928ade3fcb0aae4da9ed712
wpt-pr: 18712