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

927493 Коммитов

Автор SHA1 Сообщение Дата
Alexandra Borovova 51962b233a Bug 1905083 - [wdspec] Add tests for error cases of "browsingContext.navigate" command. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D218647
2024-08-09 13:51:20 +00:00
Alexandra Borovova 5ffba6b16a Bug 1905083 - [bidi] Fail "browsingContext.navigate" command when the "navigation-failed" event received. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D218646
2024-08-09 13:51:19 +00:00
Nicolas Chevobbe 165bd9680e Bug 1912209 - [devtools] Prevent setting :focus-visible style on markup focusable element on mousedown. r=devtools-reviewers,jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D218811
2024-08-09 13:35:07 +00:00
Narcis Beleuzu c284a53117 Backed out 3 changesets (bug 1844558, bug 1894040) for causing build bustages on BounceTrackingProtection.cpp . CLOSED TREE
Backed out changeset 00cce862553d (bug 1844558)
Backed out changeset 3fcb5ea142fd (bug 1894040)
Backed out changeset aa731ff97ebd (bug 1894040)
2024-08-09 17:03:12 +03:00
Malte Jürgens ef34fc3422 Bug 1910312 - Unbreak privacy and security settings when MOZ_DATA_REPORTING is disabled r=settings-reviewers,mossop
Disabling `MOZ_DATA_REPORTING` results in the `PREF_UPLOAD_ENABLED` pref not
being loaded with `Preferences.add`. This means
`Preferences.get(PREF_UPLOAD_ENABLED)` can possibly be `null`, which was
previously not handled and resulted in an error for the whole privacy.js file.

So only call `dataCollectionCheckboxHandler` for the `privateAttribution`
checkbox if `MOZ_DATA_REPORTING` is enabled (otherwise the `privateAttribution`
checkbox also just doesn't exist). Also move the call into separate
`initPrivateAttributionCheckbox` function to be more consistent with previous
code.

Differential Revision: https://phabricator.services.mozilla.com/D218265
2024-08-09 12:45:27 +00:00
Jan de Mooij 5b16f019fd Bug 1911858 - Improve code in BacktrackingAllocator::tryMergeBundles. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D218743
2024-08-09 12:35:20 +00:00
Andrew Osmond 7eb8c3f022 Bug 1912328 - Permit stat for allowed files in GMP process sandbox. r=gcp,gerard-majax
After updating the Widevine plugin to 4.10.2830.0, we would crash on
startup of the plugin because it attempted to use the stat syscall.
Allow uses of stat for files that we have already opened / allowed
access to in the GMP sandbox.

Differential Revision: https://phabricator.services.mozilla.com/D218855
2024-08-09 12:33:00 +00:00
Fatih 29e951c39b Bug 1832845: Remove privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts pref. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D218851
2024-08-09 12:07:05 +00:00
stransky d35449d57e Bug 1912160 [Linux] Don't do drag drop after D&D operation end r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D218850
2024-08-09 11:48:28 +00:00
Narcis Beleuzu b157967a8f Backed out 3 changesets (bug 1910886) for causing mochitest failures on browser_storageAccessPrivilegeAPI.js . CLOSED TREE
Backed out changeset 8fe13ea22554 (bug 1910886)
Backed out changeset a851b9fcca9c (bug 1910886)
Backed out changeset e5791012019f (bug 1910886)
2024-08-09 14:50:41 +03:00
Andreas Pehrson 40db0b536a Bug 1907367 - Update audioipc revision to e6f44a2bd1. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D218819
2024-08-09 10:49:13 +00:00
Paul Zuehlcke 390b0dd97c Bug 1844558 - Log a message to the web console if a site is classified as a potential bounce tracker. r=anti-tracking-reviewers,fluent-reviewers,bolsson,bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D218311
2024-08-09 10:46:23 +00:00
Paul Zuehlcke 1e10b70781 Bug 1894040 - Extend BTP tests to cover new mode pref. r=anti-tracking-reviewers,bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D217968
2024-08-09 10:46:22 +00:00
Paul Zuehlcke 6075555c76 Bug 1894040 - Support for enabling or disabling BounceTrackingProtection during runtime. r=anti-tracking-reviewers,bvandersloot
This patch switches the main logic from a boolean pref to an integer with different feature modes.
See nsIBounceTrackingProtection for the new modes supported. Dry-run mode has been merged into the mode
pref.

A new state is introduced MODE_ENABLED_STANDBY in which BTP still collects user activation signals, but
does not classify or purge bounce trackers. This new mode should be used when it's expected that the
feature may be toggled on/off after rollout. Collecting user activation even in the "disabled" state
ensures that when the feature gets re-enabled the user activation map is already warmed up and sites
important to the user are not classified + purged.

The BounceTrackingProtection singleton listens for changes on the mode pref and inits / tears down accordingly.
However it never shuts down fully. To fully disable the feature a restart is required.

Differential Revision: https://phabricator.services.mozilla.com/D217848
2024-08-09 10:46:21 +00:00
Timothy Nikkel 2398448e0b Bug 1910297. Handle repaint propagation to the root if the root is a table. r=layout-reviewers,emilio
The background image is associate to the table frame, but the table wrapper frame is the primary frame, thus IsPrimaryFrameOfRootOrBodyElement returns false and we don't propagate to the root when we should. So I changed IsPrimaryFrameOfRootOrBodyElement to handle this case and renamed it. I checked the other root element frame types, only table frames had this issue.

Differential Revision: https://phabricator.services.mozilla.com/D217923
2024-08-09 10:25:21 +00:00
moz-wptsync-bot 8d68bd2063 Bug 1912352 - [wpt-sync] Update web-platform-tests to f0414120abca52a08f73edb511952597b8bed9c1, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: f0414120abca52a08f73edb511952597b8bed9c1
wpt-type: landing
2024-08-09 09:59:58 +00:00
moz-wptsync-bot 8d56a08051 Bug 1912158 [wpt PR 47521] - Update wpt metadata, a=testonly
wpt-pr: 47521
wpt-type: metadata
2024-08-09 09:59:58 +00:00
Joey Arhar dbe2526d0d Bug 1912158 [wpt PR 47521] - Replace option-arbitrary-content <selectlist> tests, a=testonly
Automatic update from web-platform-tests
Replace option-arbitrary-content <selectlist> tests

This patch deletes some <selectlist> tests which test the arbitrary
rendering of <option>s. This behavior is already tested by the following
tests:
select-child-button-and-datalist-invalidation.tentative.html
select-child-button-and-datalist.tentative.html
select-open-invalidation.tentative.html

The deleted tests also test that images are rendered and that the
arbitrary rendering still works after the <option> is removed and
re-appended, so I added a new reftest which tests for these.

Fixed: 338513292
Bug: 335458492
Change-Id: Id1d5e1ffcfe9d2adecaada7188198fb933eca5c1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5767634
Reviewed-by: Traian Captan <tcaptan@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1339276}

--

wpt-commits: f0414120abca52a08f73edb511952597b8bed9c1
wpt-pr: 47521
2024-08-09 09:59:57 +00:00
Joey Arhar 06da8f6c08 Bug 1912159 [wpt PR 47522] - Delete selectlist-parts-structure test, a=testonly
Automatic update from web-platform-tests
Delete selectlist-parts-structure test

- "HTMLOptionElements (and not other element types) should receive
  option controller code" is not needed because the behavior attribute
  no longer exists.
- "To receive option part controller code, an option must be a
  descendant of the listbox part in a flat tree traversal" is no longer
  relevant because it isn't possible to render a descendant <option>
  outside of the listbox.
- "To receive button part controller code, an element labeled as a
  button must not be a descendant of the listbox part in a flat tree
  traversal" is not relevant anymore because the behavior attribute is
  gone and there is no other way of explicitly labeling a button as the
  button which opens the listbox.
- "To receive listbox part controller code, an element labeled as a
  listbox must not be a descendant of the button part in a flat tree
  traversal" is not relevant anymore because there is no behavior
  attribute or other way of specifying which <datalist> is the listbox.
- "Button controller code should be applied in flat tree traversal order
  regardless of dynamic insertion order" is not relevant anymore because
  we aren't using flat tree traversals anymore.
- "Listbox controller code should be applied in flat tree traversal
  order regardless of dynamic insertion order" is not relevant anymore
  because we aren't using flat tree traversals anymore.
- "selected-value controller code should be applied in flat tree
  traversal order regardless of dynamic insertion order" isn't relevant
  anymore because we aren't using flat tree traversals anymore.
- "Ensure that controller code is applied when slot and part attributes
  are different" isn't relevant anymore since we aren't using slot or
  part attributes anymore.
- "Ensure that controller code is synchronously applied" isn't relevant
  anymore since we don't have the behavior attribute anymore.
- "Controller code should be updated when nested parts are removed"
  isn't relevant anymore since there is not behavior attribute and there
  is otherwise no way to nest the relevant elements which would get
  behaviors applied to them.
- "Moving a selectlist between documents should keep controller code
  active" is not relevant because we aren't listening to lifecycle
  events which need to be transferred to the new document and the async
  MutationObserver which <option> elements are using don't seem to need
  any special handling to be moved to the new document either.
- "New parts should be detected even when in the subtree of an inserted
  node" is not relevant anymore because we don't have the behavior
  attribute anymore.

Bug: 335458492
Fixed: 40199394
Change-Id: I58607ffdd31b319b93f5bbb1bf79e979b880fc3d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5770893
Reviewed-by: Traian Captan <tcaptan@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1339274}

--

wpt-commits: 21630ac9632a74707cfb1c4b52e826e4c95c2068
wpt-pr: 47522
2024-08-09 09:59:56 +00:00
moz-wptsync-bot d0bbe7e4c5 Bug 1912339 [wpt PR 47530] - Update wpt metadata, a=testonly
wpt-pr: 47530
wpt-type: metadata
2024-08-09 09:59:55 +00:00
Di Zhang a0cf9fd663 Bug 1912339 [wpt PR 47530] - [reading-flow] fix out of flow position reading traversal, a=testonly
Automatic update from web-platform-tests
[reading-flow] fix out of flow position reading traversal

Out of flow position elements (position: absolute, position: fixed)
are removed from normal document flow and are not included in
ReadingOrderElements. We make sure these elements still get visited
in a reading flow navigation by adding them after the
ReadingOrderelements, in DOM order.
This is similar to how we currently handle display: contents.

AX-Relnotes: No AXObject change needed, we only need to add a test.

Change-Id: Iac3d88d78542f516cf3d1834e126661a75af645b
Bug: 40932006
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5770690
Commit-Queue: Di Zhang <dizhangg@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Reviewed-by: Mark Schillaci <mschillaci@google.com>
Auto-Submit: Di Zhang <dizhangg@chromium.org>
Commit-Queue: Mark Schillaci <mschillaci@google.com>
Cr-Commit-Position: refs/heads/main@{#1339217}

--

wpt-commits: 68b127fe66b44afcef3f5f86e6e0920d2a969d1f
wpt-pr: 47530
2024-08-09 09:59:54 +00:00
moz-wptsync-bot a56333760b Bug 1912329 [wpt PR 47528] - Update wpt metadata, a=testonly
wpt-pr: 47528
wpt-type: metadata
2024-08-09 09:59:53 +00:00
Ian Kilpatrick 1d672b8298 Bug 1912329 [wpt PR 47528] - [layout] Fix content-contributions of calc-size()., a=testonly
Automatic update from web-platform-tests
[layout] Fix content-contributions of calc-size().

Previously we'd just treat calc-size() as effectively the same as auto.

This was incorrect. Instead:
 - Attempt to resolve the main length, if this succeeds this is our
   contribution. (This will capture the calc-size(min-content, size)
   case.
 - If this returns an indefinite size, we force the sizing keyword
   as auto, and for the min-size treat auto as min-content, and for
   the max-size treat auto as max-content.

This patch also fixes some "depends_on_block_constraints" logic
(accidentally) in cases like:
  <div style="min-width: min-content; width: 0px;"></div>
where we weren't properly calculating this value.

Bug: 40339056
Change-Id: I22ee162deb49c37b948e5a22a12218b392710603
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5750362
Reviewed-by: David Baron <dbaron@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Auto-Submit: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1339188}

--

wpt-commits: 1cc5375b160d6169d8c40748bc0f05f86f791da2
wpt-pr: 47528
2024-08-09 09:59:52 +00:00
moz-wptsync-bot 8cbafb754d Bug 1912316 [wpt PR 47527] - Update wpt metadata, a=testonly
wpt-pr: 47527
wpt-type: metadata
2024-08-09 09:59:51 +00:00
David Baron cfdc21933a Bug 1912316 [wpt PR 47527] - Remove the 1-argument form of calc-size()., a=testonly
Automatic update from web-platform-tests
Remove the 1-argument form of calc-size().

This removes the 1-argument form of calc-size() as resolved in
https://github.com/w3c/csswg-drafts/issues/10478

Bug: 313072
Fixed: 358160890
Change-Id: I323127d93c846ee7d5a05dc06eb7f164df63ac26
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5773233
Reviewed-by: Daniil Sakhapov <sakhapov@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1339169}

--

wpt-commits: 61863a755b401efefdf0ada5ee776cd47a958357
wpt-pr: 47527
2024-08-09 09:59:51 +00:00
Christian Biesinger 7fd86fe88f Bug 1912295 [wpt PR 47526] - [FedCM] Ignore unexpected messages in login-status/logged-out.html, a=testonly
Automatic update from web-platform-tests
[FedCM] Ignore unexpected messages in login-status/logged-out.html

R=npm@chromium.org

Bug: 331237776
Change-Id: Ice129702d582560dfa9661ea16342d0e81cea8ea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5771239
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1339048}

--

wpt-commits: bbfd1153b701574ddfd99dd3f0f948266d53ae02
wpt-pr: 47526
2024-08-09 09:59:50 +00:00
Philip Jägenstedt 630cb2a8a9 Bug 1898469 [wpt PR 46454] - Refine WebVTT mapping to web-features, a=testonly
Automatic update from web-platform-tests
Refine WebVTT mapping to web-features (#46454)

--

wpt-commits: 6204eae181c10e798276b81fe726e2a1a32e0aaf
wpt-pr: 46454
2024-08-09 09:59:49 +00:00
Jean-Philippe Gravel 4d9469ed4f Bug 1911508 [wpt PR 47449] - Add a WPT test validating that reset after flush discards frame content, a=testonly
Automatic update from web-platform-tests
Add a WPT test validating that reset after flush discards frame content

There was already a test validating that reset clears the frame buffer
(2d.reset.basic), but that test called reset right after the draw
command, in the same frame. Implementation might behave differently if
a frame is actually rasterized before reset is called.

In particular, Chromium has an optimization that discards pending paint
ops when reset is called. Thus, in the original test, the frame buffer
was never actually written to before the reset and the test could not
verify whether reset actually clears that buffer. By forcing frame to
be rasterized, we now validate that the frame buffer is correctly
cleared.

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

--

wpt-commits: c9802fd711ad8316b9daf110131fbc6abc647f98
wpt-pr: 47449
2024-08-09 09:59:48 +00:00
Philip Jägenstedt 043fc9ba64 Bug 1912240 [wpt PR 47525] - Map font-size-adjust tests to web-features, a=testonly
Automatic update from web-platform-tests
Map font-size-adjust tests to web-features (#47525)

--

wpt-commits: 49b312a4267d2ab0bf8c4e7cdbb6cac81440a695
wpt-pr: 47525
2024-08-09 09:59:48 +00:00
mingmingtasd 48b733f002 Bug 1912155 [wpt PR 47520] - WebNN: Define `MLContext::destroy` interface, a=testonly
Automatic update from web-platform-tests
WebNN: Define `MLContext::destroy` interface

This CL defines `MLContext::destroy` interface on blink side. It's
to destroy the `MLContext` explicitly to let it be lost.

`MLContext` retains weak references to all of the `MLBuffer`,
`MLGraph` and `MLGraphBuilder` instances, their Mojo pipes will be
disconnected and their pending promises will be rejected at the
same time as the `MLContext` is destroyed. Any calls rely on the
`MLContext` are not allowed and will throw errors.

This CL sets disconnection handler for `MLGraphBuilder` to reject
pending promise of creating `MLGraph`.

This CL removes the unnecessary `MLContext::CreateWebNNBuffer`
method, refactors `MLBuffer::ReadBufferImpl` method to create
the resolver inside and return the promise, refactors
`MLContext::CreateWebNNGraphBuilder` to record the created
`MLGraphBuilder` into `MLContext` and return it.

Bug: 348904836, 354025380
Change-Id: Ia660fe2f109a089187237da9d6a0285247f19eb9
Cq-Include-Trybots: luci.chromium.try​:win11-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5737474
Commit-Queue: Mingming1 Xu <mingming1.xu@intel.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: ningxin hu <ningxin.hu@intel.com>
Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1338851}

--

wpt-commits: 2d8dac31b619e8941e383a5a68d6dfedd65b2d0b
wpt-pr: 47520
2024-08-09 09:59:47 +00:00
moz-wptsync-bot e36b530018 Bug 1912163 [wpt PR 47523] - Update wpt metadata, a=testonly
wpt-pr: 47523
wpt-type: metadata
2024-08-09 09:59:46 +00:00
Di Zhang 1f5b519c0e Bug 1912163 [wpt PR 47523] - [Selection API] Change getComposedRanges() from rest parameter to a dictionary, a=testonly
Automatic update from web-platform-tests
[Selection API] Change getComposedRanges() from rest parameter to a dictionary

Per https://github.com/w3c/selection-api/issues/176, we should update
selection.getComposedRanges() from using a rest `shadowRoots` parameter
to using a dictionary that contains the array `shadowRoots`.

Change-Id: I6b5b3fed786cf6d75fa4a20c0b2a583635cd2aca
Bug: 40286116
Fixed: 355577223
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5770701
Commit-Queue: Di Zhang <dizhangg@chromium.org>
Reviewed-by: Siye Liu <siliu@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1338832}

--

wpt-commits: 57e20404dde0cc210bbedfaf1955bad34decb16b
wpt-pr: 47523
2024-08-09 09:59:45 +00:00
moz-wptsync-bot e39c0ef482 Bug 1911815 [wpt PR 47481] - Update wpt metadata, a=testonly
wpt-pr: 47481
wpt-type: metadata
2024-08-09 09:59:45 +00:00
Scott Haseley 8d904bb7fe Bug 1911815 [wpt PR 47481] - Scheduling APIs: Remove scheduler.yield() parameters, a=testonly
Automatic update from web-platform-tests
Scheduling APIs: Remove scheduler.yield() parameters

By default, scheduler.yield() continuations inherit the priority and
abort signal from the current task, but this behavior can be overridden
by providing a signal or priority option. But it's not clear if this is
necessary, and there are questions around the expectations of subsequent
continuations (see https://github.com/WICG/scheduling-apis/issues/96).

So to simplify the API and prevent shipping behavior we might regret,
we're removing the yield() parameters. If control over a continuation's
priority/abort is needed, a new task can be scheduled using postTask().
We plan to reevaluate this as the API rolls out and developers start
using it in more complex ways.

Related PR: https://github.com/WICG/scheduling-apis/pull/100.

Bug: 40633887
Change-Id: I5e23c9c8cf950cec795cddafd27c962b71eea5f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5753325
Commit-Queue: Scott Haseley <shaseley@chromium.org>
Reviewed-by: Michal Mocny <mmocny@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1338805}

--

wpt-commits: edcaaa246cdce621e114ef5bb963296457521bab
wpt-pr: 47481
2024-08-09 09:59:44 +00:00
Sihui ae6ecfac47 Bug 1912144 [wpt PR 47517] - Do not wait for events to be dispatched to IDBRequest, a=testonly
Automatic update from web-platform-tests
Do not wait for events to be dispatched to IDBRequest (#47517)

The test expects event to be dispatched to IDBRequest after its execution
context is stopped, but this is not standard behavior. WebKit and Blink can stop
dispatching event as soon as iframe is detached (iframe.remove() is invoked),
which leads to test timeout. Since the goal of the test is to verify the accessor
is still valid after execution context is destroyed (no exception is thrown), we
can just check readyState without wait. We only check the type instead of value
as different engines handle the destruction differently, so the state may not be
updated right away.
--

wpt-commits: fee8ca2d5f4462af5f1dd2cb31b4e38c7256f410
wpt-pr: 47517
2024-08-09 09:59:43 +00:00
Philip Jägenstedt b21b6b790b Bug 1911865 [wpt PR 47486] - Map imagesrcset tests to web-features, a=testonly
Automatic update from web-platform-tests
Map imagesrcset tests to web-features (#47486)

--

wpt-commits: ae857199938a096a3207904679b7bc106acfa9cb
wpt-pr: 47486
2024-08-09 09:59:42 +00:00
Adam Page a9adfb156f Bug 1899452 [wpt PR 46527] - Add name from content tests for CSS text-transform, a=testonly
Automatic update from web-platform-tests
Add name from content tests for CSS text-transform (#46527)

* Add name from content tests for CSS text-transform after discussion with ARIA WG

---------

Co-authored-by: James Craig <cookiecrook@users.noreply.github.com>
--

wpt-commits: 881381e17ef3a8a8cc0390e760759a7b52b062a2
wpt-pr: 46527
2024-08-09 09:59:41 +00:00
moz-wptsync-bot 47c2a25097 Bug 1912114 [wpt PR 47515] - Update wpt metadata, a=testonly
wpt-pr: 47515
wpt-type: metadata
2024-08-09 09:59:41 +00:00
Noam Rosenthal a633d3dd2c Bug 1912114 [wpt PR 47515] - Rename view-transition-group tests to *.tentative.*, a=testonly
Automatic update from web-platform-tests
Rename view-transition-group tests to *.tentative.*

(The feature is still experimental)

Bug: 347947051
Change-Id: I7bcbba7959d5316095016c747bf6e9c823e516bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5768677
Commit-Queue: Khushal Sagar <khushalsagar@chromium.org>
Auto-Submit: Noam Rosenthal <nrosenthal@chromium.org>
Reviewed-by: Khushal Sagar <khushalsagar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1338607}

--

wpt-commits: 58ac6f6d76adcf158e0acfc8d8c87b850ad989a4
wpt-pr: 47515
2024-08-09 09:59:40 +00:00
Andrew Paseltiner ea79e540c8 Bug 1912110 [wpt PR 47514] - Fix erroneous stash access in Attribution Reporting WPT server, a=testonly
Automatic update from web-platform-tests
Fix erroneous stash access in Attribution Reporting WPT server

The stash is a property of the server attribute, not the request.

Bug: 357924626
Change-Id: I57e8a6cc46a140218f410eb946894431f30d6aba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5770491
Reviewed-by: Weizhong Xia <weizhong@google.com>
Auto-Submit: Andrew Paseltiner <apaseltiner@chromium.org>
Commit-Queue: Weizhong Xia <weizhong@google.com>
Commit-Queue: Andrew Paseltiner <apaseltiner@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1338581}

--

wpt-commits: cec778a993796c6c494384662104b98944ee6fc8
wpt-pr: 47514
2024-08-09 09:59:39 +00:00
Andrew Verge 56669484ba Bug 1912104 [wpt PR 47512] - Add second WPT for notifyEvent() called with a cached event., a=testonly
Automatic update from web-platform-tests
Add second WPT for notifyEvent() called with a cached event.

This variant tests that a cached click event cannot be used by
notifyEvent() after it finishes dispatching, even if notifyEvent()
has never been called on the event before.

Change-Id: If27f5bb331d5d671a81a1aa35abbdc024507b358
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5769971
Reviewed-by: Liam Brady <lbrady@google.com>
Commit-Queue: Andrew Verge <averge@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1338542}

--

wpt-commits: 065013808000fc07966a83083a12847df880e7aa
wpt-pr: 47512
2024-08-09 09:59:38 +00:00
Andreu Botella 4e271c2d6b Bug 1912065 [wpt PR 47509] - [line-clamp] Fix title and assert description in line-clamp-auto-034.tentative.html, a=testonly
Automatic update from web-platform-tests
[line-clamp] Fix title and assert description in line-clamp-auto-034.tentative.html

Bug: 40336192
Change-Id: Ifb9ddd08fe526f7373d8e64f5286e32293eb94f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5766285
Commit-Queue: Andreu Botella <abotella@igalia.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1338475}

--

wpt-commits: ee5e63083710f3b6fc53e980f7cf80102c8ae5cd
wpt-pr: 47509
2024-08-09 09:59:37 +00:00
Philip Jägenstedt 9d5d30315a Bug 1912005 [wpt PR 47507] - Map transition-behavior WPT tests to web-features, a=testonly
Automatic update from web-platform-tests
Map transition-behavior WPT tests to web-features

These are the only two tests specifically for transition-behavior. There
are other tests, but they are for other features like the overlay
property primarily and use transition-behavior in addition.

Change-Id: I74b74366535f0a5ef145eddd42bec90094723188
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5763478
Commit-Queue: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1338416}

--

wpt-commits: 6a8ddd68149fb3f1784592efab2c6d08b621c489
wpt-pr: 47507
2024-08-09 09:59:37 +00:00
newmoneybigbucks d8e71f005e Bug 1911592 [wpt PR 47458] - script: Properly handle removed iframes in `GlobalScope::get_referrer`, a=testonly
Automatic update from web-platform-tests
script: Properly handle removed iframes in `GlobalScope::get_referrer`

Signed-off-by: newmoneybigbucks <newmoneybigbucks@protonmail.com>
Signed-off-by: Martin Robinson <mrobinson@igalia.com>

--

wpt-commits: ac9edc2dd9be5dd88d9dd159fa7c2990dda474ae
wpt-pr: 47458
2024-08-09 09:59:36 +00:00
Noam Rosenthal 42bf1cc279 Bug 1912004 [wpt PR 47506] - Nested view transitions: support view-transition-group: contain, a=testonly
Automatic update from web-platform-tests
Nested view transitions: support view-transition-group: contain

Instead of just saving the nearest group for every vt-name,
save also the nearest group that has "contain".
Use that group as the default instead of null when exits.

Bug: 347947051
Change-Id: I47b54f612d8b3ccbbe631fc8f0a037fc51ad9ec1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5749070
Reviewed-by: Khushal Sagar <khushalsagar@chromium.org>
Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1338321}

--

wpt-commits: 37f3ca0a24b0babb605582ac4937bb67d01d3da4
wpt-pr: 47506
2024-08-09 09:59:35 +00:00
Noam Rosenthal 0d75983aa1 Bug 1911987 [wpt PR 47505] - Nested view transitions: support view-transition-group: nearest/normal, a=testonly
Automatic update from web-platform-tests
Nested view transitions: support view-transition-group: nearest/normal

Parse nearest/normal as keywords, and use a StyleViewTransitionGroup
struct to store the result.

Rely on a stack while capturing elements hierarchically, to
correctly resolve "view-transition-group: nearest".

Also use that stack instead of element ancestry for
computing explicit names.

Bug: 347947051
Change-Id: If06d2a6ff266013f4a46a492191c31e4a66111c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5752182
Reviewed-by: Khushal Sagar <khushalsagar@chromium.org>
Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1338320}

--

wpt-commits: 3634d5a63f2fa3969616396d95537c91c3348fe5
wpt-pr: 47505
2024-08-09 09:59:34 +00:00
moz-wptsync-bot 1e06b35ef7 Bug 1911978 [wpt PR 47504] - Update wpt metadata, a=testonly
wpt-pr: 47504
wpt-type: metadata
2024-08-09 09:59:33 +00:00
Tanu Jain 3b87229d45 Bug 1911978 [wpt PR 47504] - [Editing] Update Selection before removing element in contenteditable div, a=testonly
Automatic update from web-platform-tests
[Editing] Update Selection before removing element in contenteditable
div

When an element is removed from a node, making it empty, the selection
was not updated accordingly. This resulted in the |OnSelectionChange|
event not being fired. To resolve this, the selection is now updated
prior to the removal of the element that makes the node empty.
Consequently, the |OnSelectionChange| event is fired through frame
selection.

Bug: 40876506
Change-Id: I2181ce44eb1356377c658bd6ba91023508ee4939
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5694338
Reviewed-by: Siye Liu <siliu@microsoft.com>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Tanu Jain <tanujain@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1338306}

--

wpt-commits: a1d1cdb6a171cd187162329cdce7ddd45bec93d1
wpt-pr: 47504
2024-08-09 09:59:32 +00:00
Noam Rosenthal 2ccb9dcec9 Bug 1911906 [wpt PR 47494] - Nested view transition: reparent & render, a=testonly
Automatic update from web-platform-tests
Nested view transition: reparent & render

This tracks the view-transition-group for the captured elements
as "containing group". Those values are filtered to only include
ancestors.

* When a captured element has a valid containing group, the
  pseudo-element is reparented to the containing group when the
  view transition starts.

* Note that when capturing the old element, we don't deal with nesting
  at all. The tree for the purpose of allowing the compositor to
  capture the old state is flat. This can be revisited iteratively,
  it's done for implementation simplicity.

* When building styles, the (inverse) parent transform is adjusted
  so that it's not applied twice.

* Changed all the recursive functions to retrieve pseudo-elements
  to adapt to nested containers.

Currently, by default mismatches here are handled by
"last capture wins", however this is to be resolved in the CSSWG so it's not tested yet: https://github.com/w3c/csswg-drafts/issues/10631

Note also that with the current implementation, after capturing the
old state and before starting might appear broken, as
clipping/opacity/etc are not applied to the generated pseudo-element.

Bug: 347947051
Change-Id: I49e4f7ea6c8d82b6ad34b50f8cda92eb3f074612
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5749090
Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1338296}

--

wpt-commits: c0b10b3c6286687496b07265dfca91eb5923cc79
wpt-pr: 47494
2024-08-09 09:59:32 +00:00
moz-wptsync-bot 6bffa17474 Bug 1911790 [wpt PR 47478] - Update wpt metadata, a=testonly
wpt-pr: 47478
wpt-type: metadata
2024-08-09 09:59:31 +00:00