Граф коммитов

846543 Коммитов

Автор SHA1 Сообщение Дата
moz-wptsync-bot fd5479b87d Bug 1834272 [wpt PR 40121] - Update wpt metadata, a=testonly
wpt-pr: 40121
wpt-type: metadata
2023-06-21 14:35:42 +00:00
Mingyu Lei 5da2330631 Bug 1834272 [wpt PR 40121] - CCNS BFCache: do not cache CCNS page if WebRTC/Transport/Socket used, a=testonly
Automatic update from web-platform-tests
CCNS BFCache: do not cache CCNS page if WebRTC/Transport/Socket used

In the current implementation, if the WebRTC/WebTransport/Websocket
connections are closed, the non-sticky feature will be removed and the
page will be eligible for BFCache.
However, the page may contain some sensitive data that are retrieved
over these channels before the connection closure, so we should not
store the CCNS page into BFCache.

This CL also create `kAllowedForNonCacheControlNoStoreFeatures` for
those features that are allowed for non-CCNS page BFCache, and moved
`kAuthorizationHeader` over.

Bug: 1446619
Change-Id: Ic2e1e49d50fe522b1a66c6e011cb6fa83670d05d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4549039
Commit-Queue: Mingyu Lei <leimy@chromium.org>
Reviewed-by: Rakina Zata Amni <rakina@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1159467}

--

wpt-commits: d8b86fb0f11027ffa73c2251dd1decdbe97144ac
wpt-pr: 40121
2023-06-21 14:35:42 +00:00
Robert Lin b6b0266d27 Bug 1838788 [wpt PR 40581] - Prerender: Use |IsDisallowedHttpResponseCode| in |MakeDidCommitProvisionalLoadParamsForActivation|., a=testonly
Automatic update from web-platform-tests
Prerender: Use |IsDisallowedHttpResponseCode| in
|MakeDidCommitProvisionalLoadParamsForActivation|.

This CL uses |prerender_navigation_utils::IsDisallowedHttpResponseCode|
in |MakeDidCommitProvisionalLoadParamsForActivation| to make the
expectation of allowed http status code consistent.

Bug: 1441842
Change-Id: If690bf5d10936c3fc920c31bdaf27b7cbacad8ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4609824
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Huanpo Lin <robertlin@chromium.org>
Reviewed-by: Rakina Zata Amni <rakina@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1159464}

--

wpt-commits: f09a88ae0309aa892fae13dc49ca072a89b247e1
wpt-pr: 40581
2023-06-21 14:35:41 +00:00
ChangSeok Oh bb80ed1db1 Bug 1834903 [wpt PR 40210] - Apply font-size-adjust to fallback fonts, a=testonly
Automatic update from web-platform-tests
Apply font-size-adjust to fallback fonts

Fallback fonts ignore font-size-adjust. That is because the primary
font's description is used to create fallback fonts. As a fallback font
can have different font metrics, we should adjust its size.

The subpixel rendering might affect the result on Windows. To make it
happy, we tweak the font size in font-size-adjust-012.html. With this
change, Windows gets a regression on font-size-adjust-010.html due to
unknown reasons. We will handle it in a separate ticket [1].

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=1454612

Test: external/wpt/css/css-fonts/font-size-adjust-012.html
      external/wpt/css/css-fonts/font-size-adjust-metrics-override.html

Bug: 451346
Change-Id: Iab8f14c21fdf501931e62e77e9059737722a050f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4305200
Reviewed-by: Dominik Röttsches <drott@chromium.org>
Commit-Queue: ChangSeok Oh <changseok.oh@bytedance.com>
Cr-Commit-Position: refs/heads/main@{#1159352}

--

wpt-commits: 921aaae3e84c182fe2d09ef176a3f03702928a8c
wpt-pr: 40210
2023-06-21 14:35:41 +00:00
moz-wptsync-bot 2a6b9a1391 Bug 1838880 [wpt PR 40593] - Update wpt metadata, a=testonly
wpt-pr: 40593
wpt-type: metadata
2023-06-21 14:35:40 +00:00
Luke Warlow e792294fbe Bug 1838880 [wpt PR 40593] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=258207, a=testonly
Automatic update from web-platform-tests
WebKit export: Fix scrollbar-gutter invalidation (#40593)

https://bugs.webkit.org/show_bug.cgi?id=258207
--

wpt-commits: b31eaacb964b5e159b841d9eb18aa12e1d37867a
wpt-pr: 40593
2023-06-21 14:35:39 +00:00
David Choi 141f1d9eff Bug 1838508 [wpt PR 40548] - Modify tests to incorporate white-space longhands, a=testonly
Automatic update from web-platform-tests
Modify tests to incorporate white-space longhands (#40548)

--

wpt-commits: 20fd15255b8ed5274839be72406bd5c5b7500af9
wpt-pr: 40548
2023-06-21 14:35:39 +00:00
moz-wptsync-bot d4fec1c9a5 Bug 1839004 [wpt PR 40611] - Update wpt metadata, a=testonly
wpt-pr: 40611
wpt-type: metadata
2023-06-21 14:35:38 +00:00
Tim Nguyen 7dc28beb2f Bug 1839004 [wpt PR 40611] - Expect shortest serialization for offset-position / offset-anchor, a=testonly
Automatic update from web-platform-tests
Expect shortest serialization for offset-path / offset-anchor (#40611)

When only one value is specified, the second is always center.
--

wpt-commits: 6f296e42b3bd9dbd89d3472a175e448c97609215
wpt-pr: 40611
2023-06-21 14:35:38 +00:00
Di Zhang 7525accfec Bug 1838748 [wpt PR 40577] - Allow button to have writing mode vertical, a=testonly
Automatic update from web-platform-tests
Allow button to have writing mode vertical

This CL allows <button> and <input> types "button", "submit", "reset",
"file" to have writing-mode vertical for both the default native
appearance and when appearance is set to none.

We also put the change behind the feature flag
FormControlsVerticalWritingModeSupport so it can be turned on safely.

Change-Id: I1f6cc53a1eaef640e3d968d0e7ec5fc248879b50
Bug: 681917
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4617874
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: Di Zhang <dizhangg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1159261}

--

wpt-commits: 289e601bed8bd71bd29ae61c336b1281c35b33b2
wpt-pr: 40577
2023-06-21 14:35:37 +00:00
moz-wptsync-bot 11dfd1c3e2 Bug 1838578 [wpt PR 40563] - Update wpt metadata, a=testonly
wpt-pr: 40563
wpt-type: metadata
2023-06-21 14:35:37 +00:00
L. David Baron 036c6fc32e Bug 1838578 [wpt PR 40563] - Close other <details> elements linked by name attribute in tree order., a=testonly
Automatic update from web-platform-tests
Close other <details> elements linked by name attribute in tree order.

When <details> elements are linked by their common name attribute values
into an exclusive accordion, and one member of the group is closed, this
closes the linked <details> elements in tree order rather than insertion
order.  This reverts much of 34b2758acd53c3ab7ff32bf418334792ad13e523.
The code is simpler but slower, and it matches typical web platform
patterns more closely (even if those patterns may not be ideal in this
case).

This change is based on discussion in
https://github.com/whatwg/html/pull/9400/files#r1221692104

This change also stops treating the empty string as a valid name, and
adds a test to match.  This matches the above HTML PR.

Bug: 1444057
Change-Id: I5eed9e25ff7698e23738e53445c64c0fc3a1b035
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4617028
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1159237}

--

wpt-commits: 606530b23a2ed89e965403475c6f40a98afb0900
wpt-pr: 40563
2023-06-21 14:35:36 +00:00
David Awogbemila add7dba1d9 Bug 1833972 [wpt PR 40083] - [scroll-start] Apply scroll-start after layout, a=testonly
Automatic update from web-platform-tests
[scroll-start] Apply scroll-start after layout

scroll-start[1] should set the initial/default scroll position of a
scroller. Many different things may cause a scroller's size/layout
to change as a page loads which can affect how scroll-start should
be applied. So, this patch applies scroll-start on each frame until
the scroller has been explicitly scrolled, i.e. by the user or via a
programmatic scroll. After an explicit scroll, scroll-start is no
longer applied.

We propagate scroll-start from the document element to the viewport
so that scroll-start can be applied to the page. We save an
explicitly_scrolled_ bit on the element so that scroll-start
does not prevent saved (explicit) scrolls from surviving changes
to display and overflow.

[1] https://drafts.csswg.org/css-scroll-snap-2/#scroll-start

Bug: 1439807
Change-Id: I5655f8e74b85fe45038f700091065fa11eeac0f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4546420
Commit-Queue: David Awogbemila <awogbemila@chromium.org>
Reviewed-by: Stefan Zager <szager@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1159106}

--

wpt-commits: 4203f37b7415c420aa495d315339e8e5b51b8288
wpt-pr: 40083
2023-06-21 14:35:35 +00:00
Mason Freed 4febe994cc Bug 1838966 [wpt PR 40603] - Add the ability to disconnect DOM Parts, a=testonly
Automatic update from web-platform-tests
Add the ability to disconnect DOM Parts

This turns out to be important, at least in the case of writing
tests. `disconnect()` is a one-way operation; there's no way to
re-connect a part to its part root.

This CL also adds the constraint that NodePart can't have child parts.
It therefore adds exceptions to the constructors for NodePart and
ChildNodePart in the case that a NodePart is supplied.

Bug: 1453291
Change-Id: Ied398c417b1e105c77a95c3836ee2d09902df7c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4617275
Auto-Submit: Mason Freed <masonf@chromium.org>
Reviewed-by: David Baron <dbaron@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1159094}

--

wpt-commits: 84d8aa38655c6c1a010703fc07479108427b3a04
wpt-pr: 40603
2023-06-21 14:35:35 +00:00
Mason Freed 0683eb6725 Bug 1838713 [wpt PR 40573] - Add part caching and ordering to DOM Parts, a=testonly
Automatic update from web-platform-tests
Add part caching and ordering to DOM Parts

Previously, parts were added to the list, and returned, in the order
they were constructed for a given root. Now, that list is stored as
an unsorted list, and when `getParts()` is called, a cached, sorted
list is returned.

NOTE: This CL does not add cache invalidation code where needed, so
moving nodes around in the DOM tree will not invalidate the cache.
Cache invalidation will be added and tested in a subsequent CL.

Bug: 1453291
Change-Id: I542b07520002202bfdc31d4341dca6cbffdc8b5b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4616676
Reviewed-by: David Baron <dbaron@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1159056}

--

wpt-commits: 0868cb809d40d179379ad406c7da9c07a69429d9
wpt-pr: 40573
2023-06-21 14:35:34 +00:00
Evan Stade 4bff840c18 Bug 1838920 [wpt PR 40598] - IndexedDB: fix WPT that inverted array/element in expectation, a=testonly
Automatic update from web-platform-tests
IndexedDB: fix WPT that inverted array/element in expectation

assert_in_array had the parameters inverted.

Bug: 1412571
Change-Id: Ib35ea2a9dce773f4d1fd578f90e14d7c43be8230
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4621867
Reviewed-by: Nathan Memmott <memmott@chromium.org>
Auto-Submit: Evan Stade <estade@chromium.org>
Commit-Queue: Nathan Memmott <memmott@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1159051}

--

wpt-commits: 181769841d6a9d45a0c434d7d9bf5ee22b454e07
wpt-pr: 40598
2023-06-21 14:35:34 +00:00
Reilly Grant d1c371a894 Bug 1838911 [wpt PR 40597] - Revert "View timeline: Handle offscreen stickiness.", a=testonly
Automatic update from web-platform-tests
Revert "View timeline: Handle offscreen stickiness."

This reverts commit 8164954aefce51cc59f95da80c0acce888a1bc0b.

Reason for revert: Causing flaky failures, e.g. https://ci.chromium.org/ui/p/chromium/builders/ci/mac11-arm64-rel-tests/20525/overview.

Original change's description:
> View timeline: Handle offscreen stickiness.
>
> A view timeline subject inside a position:sticky box can get "stuck"
> from any of the four CSS offset properties (left, top, right, bottom)
> during any of the named view-timeline ranges (entry, contain, exit) or
> even while it is entirely outside the viewport.
>
> ViewTimeline::CalculateOffsets previously assumed that stickiness occurred only when the subject was fully contained by the viewport.
> This change implements the more general solution.
>
> Bug: 1448294
> Change-Id: I842552b3a30078587eff6287e4ee11396d13ed95
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4616159
> Reviewed-by: Kevin Ellis <kevers@chromium.org>
> Commit-Queue: Steve Kobes <skobes@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1158852}

Bug: 1448294
Change-Id: I6d0bcfae16ee2265a2a1a442a646452ea89341e8
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4621249
Reviewed-by: Steve Kobes <skobes@chromium.org>
Auto-Submit: Reilly Grant <reillyg@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1158962}

--

wpt-commits: 4bdf59dc15828cdea946ef812a58c1567a10a884
wpt-pr: 40597
2023-06-21 14:35:33 +00:00
moz-wptsync-bot 1b2731aee1 Bug 1838546 [wpt PR 40558] - Update wpt metadata, a=testonly
wpt-pr: 40558
wpt-type: metadata
2023-06-21 14:35:32 +00:00
Dan Clark 155848dec2 Bug 1838546 [wpt PR 40558] - [EditContext] Limit to valid element types, a=testonly
Automatic update from web-platform-tests
[EditContext] Limit to valid element types

In https://github.com/w3c/edit-context/issues/19 the Editing WG
resolved that EditContext would support the same element types as
shadow root, plus `<canvas>`.

Update the implementation accordingly. See also the updated
spec at [2].

[1] https://github.com/w3c/edit-context/issues/19
[2] https://w3c.github.io/edit-context/#extensions-to-the-htmlelement-interface

Bug: 999184
Change-Id: I2a8a040a279e14e9b98ece3370acdbdd8c3597ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4617146
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Alex Keng <shihken@microsoft.com>
Commit-Queue: Dan Clark <daniec@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1158908}

--

wpt-commits: 6388bf5fd752f0735e9bfc71196115c082e2b75e
wpt-pr: 40558
2023-06-21 14:35:32 +00:00
moz-wptsync-bot 765333ab0f Bug 1838878 [wpt PR 40592] - Update wpt metadata, a=testonly
wpt-pr: 40592
wpt-type: metadata
2023-06-21 14:35:31 +00:00
Alex Turner 773b825963 Bug 1838878 [wpt PR 40592] - Add additional end-to-end success Private Aggregation WPTs, a=testonly
Automatic update from web-platform-tests
Add additional end-to-end success Private Aggregation WPTs

Renames some files as a drive-by and fixes .ini files to simply disable
the tests that have exclusive virtual tests instead of having errors
as expected.

Bug: 1452248
Change-Id: I7e30e4ce4bf2fa8d2d3f5fb8e56ea21563851e3d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4617351
Reviewed-by: Yao Xiao <yaoxia@chromium.org>
Commit-Queue: Alex Turner <alexmt@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1158889}

--

wpt-commits: 05eb26701d4390759662070c397f0232910323b7
wpt-pr: 40592
2023-06-21 14:35:31 +00:00
Steve Kobes 08e443de09 Bug 1838563 [wpt PR 40562] - View timeline: Handle offscreen stickiness., a=testonly
Automatic update from web-platform-tests
View timeline: Handle offscreen stickiness.

A view timeline subject inside a position:sticky box can get "stuck"
from any of the four CSS offset properties (left, top, right, bottom)
during any of the named view-timeline ranges (entry, contain, exit) or
even while it is entirely outside the viewport.

ViewTimeline::CalculateOffsets previously assumed that stickiness occurred only when the subject was fully contained by the viewport.
This change implements the more general solution.

Bug: 1448294
Change-Id: I842552b3a30078587eff6287e4ee11396d13ed95
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4616159
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1158852}

--

wpt-commits: dd6156ef5158cc1538250af5ed20f0909c7bdfce
wpt-pr: 40562
2023-06-21 14:35:30 +00:00
Alex Turner b58b192aa3 Bug 1838021 [wpt PR 40502] - Add basic end-to-end Private Aggregation Web Platform Tests, a=testonly
Automatic update from web-platform-tests
Add basic end-to-end Private Aggregation Web Platform Tests

These tests ensure that a report makes it to the expected endpoint.
Only tests in Shared Storage worklets for now

Bug: 1452248
Change-Id: I70ad2180c7cde93beb5ffe08fe3c1a091bf298d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4598993
Reviewed-by: Yao Xiao <yaoxia@chromium.org>
Auto-Submit: Alex Turner <alexmt@chromium.org>
Commit-Queue: Alex Turner <alexmt@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1158824}

--

wpt-commits: e8b5a2b60fe757f14677bb5e30cac1f48498f16d
wpt-pr: 40502
2023-06-21 14:35:29 +00:00
Ben Wiser c9c945d91e Bug 1838434 [wpt PR 40545] - Add mojo js support to wpt runner for AndroidWebView, a=testonly
Automatic update from web-platform-tests
Add mojo js support to wpt runner for AndroidWebView (#40545)

We need this capability in order to use the gen directory for Android WebView.
--

wpt-commits: 3ee01a45b5becc64a3de8ad3faf5b1c1a17175f4
wpt-pr: 40545
2023-06-21 14:35:29 +00:00
moz-wptsync-bot 020ffd82df Bug 1837587 [wpt PR 40470] - miscellaneous lint, clean-up and modernization changes to webdriver/tests/support, a=testonly
Automatic update from web-platform-tests
miscellaneous lint, clean-up and modernization changes to webdriver/tests/support (#40470)

--

wpt-commits: ff6a3b2572283fc89883ca41d54026e41a3bef4a
wpt-pr: 40470
2023-06-21 14:35:28 +00:00
moz-wptsync-bot dfd0360c93 Bug 1838030 [wpt PR 40504] - Update wpt metadata, a=testonly
wpt-pr: 40504
wpt-type: metadata
2023-06-21 14:35:27 +00:00
Thiago Perrotta 968b2c6dbd Bug 1838030 [wpt PR 40504] - [wdspec] browsingContext.print: fix rounding error in page.py test, a=testonly
Automatic update from web-platform-tests
[wdspec] browsingContext.print: fix rounding error in page.py test (#40504)

* [wdspec] browsingContext.print: fix rounding error in page.py test

[pytest](7a087d54be/webdriver/tests/support/image.py)
uses:

    def cm_to_px(cm): return round(cm * 96 / 2.54)

[js](7a087d54be/tools/wptrunner/wptrunner/print_pdf_runner.html)
uses:

    const viewport = page.getViewport({ scale: 96. / 72. });
    ...
    canvas.height = viewport.height;
    canvas.width = viewport.width;

This produces a rounding error, even though the dimension is correct:

    >       assert cm_to_px(expected_dimensions["height"]) == height
    E       assert 454 == 453
    E         +454
    E         -453

The inconsistency of rounding in both ends becomes clear when we
eliminate "round" in the pytest side:

    >       assert cm_to_px(expected_dimensions["height"]) == height
    E       assert 453.54330708661416 == 453
    E         +453.54330708661416
    E         -453

There are multiple ways to fix this issue.

Option #1: Use "floor" instead of "round" in pytest.

Option #2: Use a range in the assertion comparison, allowing a
difference of up to +-1.0. This is what this PR does.

The comparison is performed in
[`assert_pdf_dimensions`](b6107cc1ac/webdriver/tests/support/fixtures_bidi.py (L210)).

The problematic part is .96 / .72 which evaluates to 4/3 = 1.333333....

* use floor in cm_to_px instead of round

* compare to floor and to round instead of a range

* Revert "compare to floor and to round instead of a range"

This reverts commit 63f894e6d1881616e0f13b7a40ddcb30b772eba8.

* Revert "use floor in cm_to_px instead of round"

This reverts commit 7e65d918b25575060ca50009d261d1e76dca6cae.
--

wpt-commits: fb57353809aa19c0659ece5563d05ed20706d1fc
wpt-pr: 40504
2023-06-21 14:35:27 +00:00
Daniil Sakhapov b52a6309c5 Bug 1838830 [wpt PR 40588] - Fix new wpt failures, a=testonly
Automatic update from web-platform-tests
Fix new wpt failures

1) Don't save border-box when it's default value.

2) Fix wpt test to accept both normalized and unnormalized path.

Fixed: 1455148
Change-Id: I99b62261f0e567af947274d939ef90c4e0bc904e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4614757
Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1158758}

--

wpt-commits: 3d537ab06a13144c629a871a7c9bbd87dca9a98c
wpt-pr: 40588
2023-06-21 14:35:26 +00:00
moz-wptsync-bot b5d26e1dd1 Bug 1838614 [wpt PR 40566] - Update wpt metadata, a=testonly
wpt-pr: 40566
wpt-type: metadata
2023-06-21 14:35:26 +00:00
jgraham fa3b8c1e88 Bug 1838614 [wpt PR 40566] - Revert "Update WebDriver keys", a=testonly
Automatic update from web-platform-tests
Revert "Update WebDriver keys"

This reverts commit e2a882bc7e66fc65acd9d97081191e05e9d22204.

--

wpt-commits: 2e807d8fd461cb88c30cc0f1e34cf46d49f86f6c
wpt-pr: 40566
2023-06-21 14:35:25 +00:00
moz-wptsync-bot c736388ddf Bug 1838537 [wpt PR 40555] - Update wpt metadata, a=testonly
wpt-pr: 40555
wpt-type: metadata
2023-06-21 14:35:24 +00:00
Vitor Roriz 715b1a87ac Bug 1838537 [wpt PR 40555] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=258089, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=258089 (#40555)

--

wpt-commits: 38392e887c8697fba2bebb5ca8ffa0e9faa74334
wpt-pr: 40555
2023-06-21 14:35:24 +00:00
moz-wptsync-bot 167f0d1ddc Bug 1838384 [wpt PR 40541] - Update wpt metadata, a=testonly
wpt-pr: 40541
wpt-type: metadata
2023-06-21 14:35:23 +00:00
Rob Buis 4490c073cc Bug 1838384 [wpt PR 40541] - Add popover top layer content-visibility tests, a=testonly
Automatic update from web-platform-tests
Add popover top layer content-visibility tests (#40541)

Copy existing top layer tests that are based on dialog and
adapt the tests to use popover instead.
--

wpt-commits: d6c561438a8ba351be0aef3350d57694d4f2c282
wpt-pr: 40541
2023-06-21 14:35:23 +00:00
moz-wptsync-bot de24766618 Bug 1836565 [wpt PR 40369] - Update wpt metadata, a=testonly
wpt-pr: 40369
wpt-type: metadata
2023-06-21 14:35:22 +00:00
Joey Arhar 54c65961d0 Bug 1836565 [wpt PR 40369] - Make ::backdrop stay in top layer while animating out, a=testonly
Automatic update from web-platform-tests
Make ::backdrop stay in top layer while animating out

This patch adds a new internal pseudo class which matches popovers while
they are still in the top layer after they have been closed in order to
also make the corresponding ::backdrop stay in the top layer.

This is based on futhark's patch:
https://chromium-review.googlesource.com/c/chromium/src/+/4554016

HTML spec PR: https://github.com/whatwg/html/pull/9387

Fixed: 1449145
Change-Id: I8e4831e960c5d18fb077f023c119fd0e678541df
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4585724
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1158640}

--

wpt-commits: 83976e7d1f6a7b175947209736bd40e94a7cae77
wpt-pr: 40369
2023-06-21 14:35:22 +00:00
Blink WPT Bot fddc664d47 Bug 1838316 [wpt PR 40530] - Remove XRSessionDeviceConfig.uses_input_eventing and related code, a=testonly
Automatic update from web-platform-tests
Remove XRSessionDeviceConfig.uses_input_eventing and related code (#40530)

This commit removes the uses_input_eventing_ variable from the
XRSessionDeviceConfig interface and all the code that relied on it.
The XRSessionDeviceConfig.uses_input_eventing feature was originally
added to support WMR but is no longer needed since no runtimes support
it now.

Bug: 1429644
Change-Id: I6d691f67e20d5f430169556b215e038c6b1c3173
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4604546
Quick-Run: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Alex Gough <ajgo@chromium.org>
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1157619}

Co-authored-by: Mahmoud Ahmed <mahmoudaahmedd@gmail.com>
--

wpt-commits: 866ccc0efe52a1614e020ce45975b7d1e77df282
wpt-pr: 40530
2023-06-21 14:35:21 +00:00
Yi Xu f7f4291373 Bug 1838536 [wpt PR 40554] - Fix test 2d.text.draw.baseline.ideographic.html, a=testonly
Automatic update from web-platform-tests
Fix test 2d.text.draw.baseline.ideographic.html

The ideographic baseline is defined as follows:
https://drafts.csswg.org/css-writing-modes-4/#line-under: the
line-relative “bottom” or descender side. (The side underlines are
typically drawn on.)

I attached result here:
https://bugs.chromium.org/p/chromium/issues/detail?id=1066953#c14
(It's with font 50 and draw at height 50)

I think this test case is wrong: The test case draws text at ideographic
under baseline at height 31.25, so that text is draw above 31.25 and
leaves 31.25 to 50 to be at its original color (red for test). The test
tests if the resulting rect, rect(0, 0, 50, 100), to be all green.

I think the test needs to know the location of the green rectangle and
move it down. The test is updated.

Bug: 1066953
Change-Id: I2b9c029a439fd8a19343dc826b70b1bc1c95b60e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4615191
Commit-Queue: Yi Xu <yiyix@google.com>
Reviewed-by: Justin Novosad <junov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1158349}

--

wpt-commits: 6f807d8f42ea14bdb03d943f4adf2f950f15909d
wpt-pr: 40554
2023-06-21 14:35:20 +00:00
Mason Freed bcbc39a5a5 Bug 1838690 [wpt PR 40571] - Add a Part collection to PartRoot and connect it up, a=testonly
Automatic update from web-platform-tests
Add a Part collection to PartRoot and connect it up

This CL just adds a `parts_` collection to `PartRoot`, and updates
it in the naive way any time a new Part is constructed. No Node
tracking is done or anything, so it's completely possible that if
a Node is moved to another document, the parts list will be out of
date.

Bug: 1453291
Change-Id: I1fa01e0543dfe52974ac6175728f5fe79c7c3b93
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4609624
Auto-Submit: Mason Freed <masonf@chromium.org>
Reviewed-by: David Baron <dbaron@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1158287}

--

wpt-commits: 435846e6d26a61feec408588685ca77c5d535024
wpt-pr: 40571
2023-06-21 14:35:20 +00:00
Christian Biesinger ef4a6a3c65 Bug 1838683 [wpt PR 40570] - [FedCM] Actually run the multi-IDP tests, a=testonly
Automatic update from web-platform-tests
[FedCM] Actually run the multi-IDP tests

Due to an incorrect merge conflict resolution in
https://chromium-review.googlesource.com/c/chromium/src/+/3924487/56..58
these tests never actually ran.

The problem is that they are skipped in the base test suite (as
expected), but the virtual test suite inherits the Skip expectation
and the line that changes it to Pass has been removed by accident.

Bug: 1348262
Change-Id: I2711c3607f727fa5f92e32833c7b645e31ba2f66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4617005
Reviewed-by: Zachary Tan <tanzachary@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1158248}

--

wpt-commits: 293bb6c2a9dfb3c1f4c0507f0fdbfc79c2917bb2
wpt-pr: 40570
2023-06-21 14:35:19 +00:00
moz-wptsync-bot 8c9c9688c2 Bug 1838403 [wpt PR 40542] - Update wpt metadata, a=testonly
wpt-pr: 40542
wpt-type: metadata
2023-06-21 14:35:19 +00:00
Adam Rice 251c3496a5 Bug 1838403 [wpt PR 40542] - WebSocket: add wpt for sending 50 65K messages, a=testonly
Automatic update from web-platform-tests
WebSocket: add wpt for sending 50 65K messages

http://crrev/c/3311025 introduced a bug when sending messages a multiple
of 65536 bytes in size over a connection with backpressure. This was
fixed in http://crrev/c/3404081 in January 2022, however no repro test
was added at that time.

Add a wpt to repro the issue and stop it happening again.

BUG=1454078

Change-Id: Icdc1dab66e58bab6eaabec84c0f53d5f17ca28e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4612732
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Commit-Queue: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1158168}

--

wpt-commits: 4b1b05d5bd421c7fcf3005307ece3b0e651f59f6
wpt-pr: 40542
2023-06-21 14:35:18 +00:00
Mason Freed edc71bea84 Bug 1838272 [wpt PR 40523] - Further DOM Parts hierarchy reorg, and connect Document to Parts, a=testonly
Automatic update from web-platform-tests
Further DOM Parts hierarchy reorg, and connect Document to Parts

In implementing the connection between DocumentPart and Document,
it became apparent that there were other issues with the previous
hierarchy. Notably, Document owned DocumentPart, which was a Part,
which therefore had a |root| reference back to DocumentPart. That
made it impossible to require Part to always have a |root|.

This CL revamps the hierarchy once more, to this:

            PartRoot (getParts, clone)
             /    \
DocumentPartRoot  Part (root, metadata)
                 /    \
     NodePart (node)   ChildNodePart (prev/next/etc)

With that, a Part always has a reference to its |root|, and the
DocumentPartRoot can be owned by Document and always non-nullptr.

This CL also connects DocumentFragment to DocumentPartRoot.

Bug: 1453291
Change-Id: Ic0f34d3572321cf12fb960d75243e05462c9fe84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4604678
Commit-Queue: David Baron <dbaron@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Reviewed-by: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1158222}

--

wpt-commits: 248252e558f4030ccb34a396b7cfb0c24a8d71d4
wpt-pr: 40523
2023-06-21 14:35:17 +00:00
moz-wptsync-bot 2a77cdf5bd Bug 1835700 [wpt PR 40292] - Update wpt metadata, a=testonly
wpt-pr: 40292
wpt-type: metadata
2023-06-21 14:35:17 +00:00
Jean-Philippe Gravel e466f3f0f4 Bug 1835700 [wpt PR 40292] - Raise DOM exceptions if layer API is incorrectly used., a=testonly
Automatic update from web-platform-tests
Raise DOM exceptions if layer API is incorrectly used.

It's invalid to call `endLayer()` without a matching `beginLayer()`.
Likewise, calling `restore()` after `beginLayer()` isn't allowed.
Calling `save()` without a matching `restore()` outside of layers
however is allows to preserve existing functionality. We want to be
stricter with usage of the new layer API, at least at first, because
as soon as we start allowing degenerate API uses, Hyrum's law will
make sure we'll have to support these forever.

Bug: 1396372
Fixed: 1237275, 1403977
Change-Id: I76e83217fafe60248f8e4ae81ceafb1215dda9bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4572867
Commit-Queue: Jean-Philippe Gravel <jpgravel@chromium.org>
Reviewed-by: Justin Novosad <junov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1158153}

--

wpt-commits: a44ca1286f13670ca201d5a10588848e6fcb6a61
wpt-pr: 40292
2023-06-21 14:35:16 +00:00
Takashi Sakamoto aab137b1e6 Bug 1838579 [wpt PR 40564] - Revert "[A11y] Reland targeted cached property invalidation", a=testonly
Automatic update from web-platform-tests
Revert "[A11y] Reland targeted cached property invalidation"

This reverts commit 3438f2a59daa31ad1d86777d73e1cff836cef570.

Reason for revert: Suspect causing blink_wpt_tests and blink_web_tests failure on Linux Tests (dbg)(1) bot.

Failed tests:
blink_wpt_tests failed because of:
external/wpt/css/css-contain/content-visibility/detach-locked-slot-children-crash.html
external/wpt/css/css-contain/content-visibility/element-reassigned-to-skipped-slot.html
external/wpt/css/css-contain/content-visibility/element-reassigned-to-slot-in-skipped-subtree.html
external/wpt/html/semantics/forms/the-input-element/focus-dynamic-type-change-on-blur.html
...7 more failure(s) (11 total)...

blink_web_tests failed because of:
accessibility/details-summary-crash.html
fast/events/drag-on-removed-slider-does-not-crash.html
fast/forms/range/range-type-change-onchange-2.html
html/details_summary/details-add-summary.html
...5 more failure(s) (9 total)...

First build failure:
https://ci.chromium.org/ui/p/chromium/builders/ci/Linux%20Tests%20(dbg)(1)/114032/overview

Sample log:
---
STDERR: #6 0x7fc01bd0361d logging::CheckError::~CheckError()
STDERR: #7 0x7fbffd21d08a blink::FlatTreeTraversal::AssertPrecondition()
STDERR: #8 0x7fbffd21cfd5 blink::FlatTreeTraversal::Parent()
STDERR: #9 0x7fbffd3c2a45 blink::FlatTreeTraversal::AncestorsOf()
STDERR: #10 0x7fbffd3d410e blink::(anonymous namespace)::NearestLockedExclusiveAncestor()
STDERR: #11 0x7fbffd3d3d17 blink::DisplayLockUtilities::IsInUnlockedOrActivatableSubtree()
STDERR: #12 0x7fbfedfabc4b blink::DisplayLockUtilities::ShouldIgnoreNodeDueToDisplayLock()
STDERR: #13 0x7fbfedf8b61c blink::AXObject::ToString()
STDERR: #14 0x7fbfedf8eccc blink::AXObject::Detach()
STDERR: #15 0x7fbfedf512df blink::AXNodeObject::Detach()
STDERR: #16 0x7fbfedf2d6a5 blink::AXLayoutObject::Detach()
STDERR: #17 0x7fbfedfce51a blink::AXObjectCacheImpl::Remove()
STDERR: #18 0x7fbfedfcd998 blink::AXObjectCacheImpl::Remove()
STDERR: #19 0x7fbfedfcdd74 blink::AXObjectCacheImpl::Remove()
STDERR: #20 0x7fbfedfce992 blink::AXObjectCacheImpl::Remove()
STDERR: #21 0x7fbffe6d16be blink::LayoutObject::WillBeDestroyed()
---

Original change's description:
> [A11y] Reland targeted cached property invalidation
>
> Relands the following CLS:
> * Enhance performance by targeting value updates to specific nodes, commit 704633e6846e44b20c488a3eb98fa43c2c8e4591.
> * Don't queue anything for irrelevant attribute changes, commit 2c66a62ed62e601b7a81271e4be4f9e173ce9afc.
> * Add comment explaining call to UpdateStyleAndLayoutTreeForNode(), commit 73b9eed3b48bc8ce70de657672755f44a89e7358.
> * Ensure cached values not invalidated during the computation of them, commit 4d167a62cd13d5209ecefb664e3690ac955bc559.
> * Run a test with --force-renderer-accessibility that used to fail, commit cab7ecd829b24acf677e02f8f118085eaad7f799.
> * Simplify code to update cached focusable state, commit 79cb184e5dab5f6084ec78d485bd9496eaa0aaf8.
> * Simplify code that invalidates cached values on an AXObject, commit 6df79a50a55fe5cf99d2c50f7308e1236361b771.
>
> Fixed: 1446864, 1446550, 1434555, 1362758
> Change-Id: I16855bdcb746cb41387b69e1e97ab72ffc47e342
> Cq-Do-Not-Cancel-Tryjobs: true
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4545510
> Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
> Reviewed-by: Jacques Newman <janewman@microsoft.com>
> Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
> Reviewed-by: Philip Rogers <pdr@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1157878}

Change-Id: Iefe59fe1933747346eda8827fd683f310d6cddb3
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4615927
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Owners-Override: Takuto Ikuta <tikuta@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Auto-Submit: Takashi Sakamoto <tasak@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1157993}

--

wpt-commits: b2f88bfbff5f2806344bb479e7382a3618197e05
wpt-pr: 40564
2023-06-21 14:35:15 +00:00
moz-wptsync-bot a06d9988cb Bug 1838480 [wpt PR 40547] - Update wpt metadata, a=testonly
wpt-pr: 40547
wpt-type: metadata
2023-06-21 14:35:15 +00:00
Chris Dumez 5b0d5fec4e Bug 1838480 [wpt PR 40547] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=258078, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=258078 (#40547)

--

wpt-commits: 5d2da597dc4789b7dd784deecfbac79c18b0248d
wpt-pr: 40547
2023-06-21 14:35:14 +00:00
Aaron Leventhal 376e5079f9 Bug 1837848 [wpt PR 40488] - [A11y] Reland targeted cached property invalidation, a=testonly
Automatic update from web-platform-tests
[A11y] Reland targeted cached property invalidation

Relands the following CLS:
* Enhance performance by targeting value updates to specific nodes, commit 704633e6846e44b20c488a3eb98fa43c2c8e4591.
* Don't queue anything for irrelevant attribute changes, commit 2c66a62ed62e601b7a81271e4be4f9e173ce9afc.
* Add comment explaining call to UpdateStyleAndLayoutTreeForNode(), commit 73b9eed3b48bc8ce70de657672755f44a89e7358.
* Ensure cached values not invalidated during the computation of them, commit 4d167a62cd13d5209ecefb664e3690ac955bc559.
* Run a test with --force-renderer-accessibility that used to fail, commit cab7ecd829b24acf677e02f8f118085eaad7f799.
* Simplify code to update cached focusable state, commit 79cb184e5dab5f6084ec78d485bd9496eaa0aaf8.
* Simplify code that invalidates cached values on an AXObject, commit 6df79a50a55fe5cf99d2c50f7308e1236361b771.

Fixed: 1446864, 1446550, 1434555, 1362758
Change-Id: I16855bdcb746cb41387b69e1e97ab72ffc47e342
Cq-Do-Not-Cancel-Tryjobs: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4545510
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Reviewed-by: Jacques Newman <janewman@microsoft.com>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1157878}

--

wpt-commits: 777cb340853c108820173827aaef668eb06c8e9a
wpt-pr: 40488
2023-06-21 14:35:14 +00:00
Jean-Philippe Gravel 23c3cab762 Bug 1834846 [wpt PR 40205] - Migrate the-canvas-state.yaml to new test generator., a=testonly
Automatic update from web-platform-tests
Migrate the-canvas-state.yaml to new test generator.

Bug: 1275750
Change-Id: Ib83c29ab16d75890272b311f9ff22268679d8e2e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4561623
Commit-Queue: Jean-Philippe Gravel <jpgravel@chromium.org>
Reviewed-by: Yi Xu <yiyix@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1157868}

--

wpt-commits: 5b990f3781343b2cc27c5d2911ce433c91ee336a
wpt-pr: 40205
2023-06-21 14:35:13 +00:00