Automatic update from web-platform-tests
Move File System Access-specific code out of framed_test WPT helper.
This makes using this helper for other APIs cleaner. Current tests
have been updated to perform this clearing before every test, so this
should be a no-op.
Bug: 1322897
Change-Id: I8209e3875473bdce449ad90db007bc095cce2d8d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3755310
Auto-Submit: Nathan Eliason <eliason@chromium.org>
Commit-Queue: Andrew Williams <awillia@chromium.org>
Reviewed-by: Andrew Williams <awillia@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1022900}
--
wpt-commits: 65d9152ec1a6c96df05214c4768feff4b2867f9e
wpt-pr: 34775
Automatic update from web-platform-tests
Move the pop-up show event earlier in the process
This ensures the `show` event can be used to populate pop-up content
before the pop-up is actually rendered.
Bug: 1307772
Change-Id: Ia2d4d7e1c43101e0f27d22b27cf77978e7efd3d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3753161
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1022867}
--
wpt-commits: dd5105629780311882f53b3c5e75da4538b81513
wpt-pr: 34764
Automatic update from web-platform-tests
blink: Switch overflow overrides for replaced elements to used value.
Replaced elements support only 2 configs for overflow: visible and clip.
Currently we apply this override at style resolution based on the
element tag to identify replaced elements. This misses cases where a
an element (like img) could be rendered as a non-replaced element if
fallback to alt text is used.
Avoid this by applying the override when using the value in
layout/paint when it's known whether the element will render as a replaced element.
See discussion at: https://github.com/w3c/csswg-drafts/issues/7435.
Bug: 1321217
Change-Id: Iadf653ea4a531a1ab313e2e797988d082d5ef1c1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3750018
Auto-Submit: Khushal Sagar <khushalsagar@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Khushal Sagar <khushalsagar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1022859}
--
wpt-commits: e8138dce388f65c12feff54c07d07e5755962799
wpt-pr: 34743
Automatic update from web-platform-tests
blink: Switch embedded elements to use overflow properties.
This change switches embedded elements to clip to content box using
existing platform primitives (overflow and overflow-clip-margin) instead
of a custom code-path in paint and hit testing.
Note that as opposed to other replaced elements, embedded elements are
still not allowed to have ink overflow using rules enforced in UA CSS.
R=pdr@chromium.org, vmpstr@chromium.org
Bug: 1321217
Change-Id: Ifafacd936bfd0d76816f9460a310fa92ae32250a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3747336
Commit-Queue: Philip Rogers <pdr@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Auto-Submit: Khushal Sagar <khushalsagar@chromium.org>
Commit-Queue: Khushal Sagar <khushalsagar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1022811}
--
wpt-commits: 8c410d74ae3aa1731bddf901492beab76eaf35d9
wpt-pr: 34748
Automatic update from web-platform-tests
Fix the stp downloads: Mac OS Monterey and Mac OS Ventura (#34771)
--
wpt-commits: f96f182eda53d955e729b838379ca621d4cf9b1c
wpt-pr: 34771
Automatic update from web-platform-tests
blink: Switch root svg elements to apply all overflow properties.
This change switches the outermost root svg element (other than svg
documents where the root svg element is also the document element) to
respect paint containment and overflow-clip-margin. This aligns svg with
the implementation for other replaced elements.
This also applies overflow correctly if it's different in both axis.
Prior to this change overflow was either visible in both directions
or clipped in both.
Bug: 1321217
Fixed: 364503
Change-Id: I9c49b16dc829d214ebd2b748638c7b4133d21509
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3743708
Reviewed-by: Philip Rogers <pdr@chromium.org>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Auto-Submit: Khushal Sagar <khushalsagar@chromium.org>
Commit-Queue: Khushal Sagar <khushalsagar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1022723}
--
wpt-commits: 6538541cf9a31f3597a7f41b672131fac6a8734e
wpt-pr: 34736
Automatic update from web-platform-tests
[bindings] always return value from Window self-referential getters
For whatever reason, some operations seem to invalidate the CacheAccessor unnecessarily. Rather than marking a bunch of operations as being side-effect free incorrectly, or finding another work around, it seemed the simplest solution was to simply return the v8 wrapper from the accessor. To achieve this, the wrapper object the method is invoked on is returned. The [CrossOrigin] IDL attribute remains, and the previous method of looking up the correct wrapper for a window in a detached frame is still used.
BUG=1305302
Change-Id: I2fb0f0fb9d59511debe9e009a6f3194b48ca29b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3715140
Commit-Queue: Caitlin Potter <caitp@igalia.com>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1022719}
--
wpt-commits: eb28a8355c45a936da95ea99276af87c4bb97ab4
wpt-pr: 34709
Automatic update from web-platform-tests
Fix flaky test memory leak (#34723)
event-timing-test-utils.js tap() has some unknown flaky memory leak issue related to test_driver.Actions(), while test_driver also has a built in function for click which doesn't cause any memory leak.
This commit replace tap with click to fix the memory leak and re-enable
the disabled test.
Test coverage for tap will be added later once Bug 1338420 is fixed.
Also added helper function addListenersAndClick() to reduce repetitive
patterns between tests.
Bug: 1335002
Change-Id: Ic2670288e596ff5eac8f1e742e395717bdabde5c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3747288
Reviewed-by: Lan Wei <lanwei@chromium.org>
Commit-Queue: Aoyuan Zuo <zuoaoyuan@chromium.org>
Reviewed-by: Michal Mocny <mmocny@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1021762}
Co-authored-by: Aoyuan Zuo <zuoaoyuan@chromium.org>
--
wpt-commits: 64af02fb9e88d3778d157f080a13211529e80106
wpt-pr: 34723
Automatic update from web-platform-tests
[FedCM] Rename the well-known endpoint to "web-identity"
In addition, this changes the code to look for the full path + filename
in the list, instead of appending "fedcm.json".
Bug: 1336657
Change-Id: I4cf415fb3e11bf89d833aa92b006f5ba1b09e0a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3730747
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1022228}
--
wpt-commits: 7bb97b8a57ca84a972b7f34611fa73778adaf84d
wpt-pr: 34613
Automatic update from web-platform-tests
[FedCM] Rename FederatedCredential to IdentityCredential
Also renames associated interfaces, and adds an "identity" field
in CredentialRequestOptions for use with FedCM.
https://github.com/fedidcg/FedCM/pull/280
Change-Id: Ia84957518393a8957946dfb9cc16cad625c2da84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3736464
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Reviewed-by: Yi Gu <yigu@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1022214}
--
wpt-commits: 2dcf2a3dfbf58d4892836b37a22f3f00fc9cd231
wpt-pr: 34663
All its members are optional, so we can just use it as a plain struct
rather than Maybe<> all around, which simplifies the code and prevents
silly bugs like bug 1779592.
Mostly automatic via:
rg -l 'SVGImageContext' . | xargs sed -i 's/Maybe<SVGImageContext>/SVGImageContext/g'
With trivial build fixes.
Not intended to change behavior.
Differential Revision: https://phabricator.services.mozilla.com/D151846
This revision migrates all the content of the following modules:
- Desktop_Firefox
- Toolkit
- Core
- Testing
Up to the their state on Monday June 20th, 2022 in the old system.
The rst file was automatically generated by running `mots export`.
Differential Revision: https://phabricator.services.mozilla.com/D130508
Rust is required to use the external libprio-rs Rust library.
C++ XPCOM is added because writing XPCOM objects in Rust is still
difficult.
Differential Revision: https://phabricator.services.mozilla.com/D151805
That was about XBL constructors being able to run script. But XBL is
gone and this should just be wasted work.
I want to land this in preparation for container queries substantially
changing the model here.
Differential Revision: https://phabricator.services.mozilla.com/D151495
When something switches to display: none, right now we rely on
StopAnimationsForElementsWithoutFrames(), which posts a restyle and the
previous ProcessPendingRestyles call was papering over it.
For other elements in the display none subtree it doesn't matter,
because we don't keep their styles around, but for the display: none
element themselves we do need to update transitions on time.
We could, possibly more generally, remove
StopAnimationsForElementsWithoutFrames() altogether and cancel
animations when we clear style data, perhaps... But that's probably
worth a follow-up.
Differential Revision: https://phabricator.services.mozilla.com/D151600
This patch adds a new set of tests (essential only) to run in CI at tier 2. A command line argument is added to turn bytecode cache testing on in warm pageloads. This also disables the testing in our primary pageload tests to fix the variance and increases in runtime.
Differential Revision: https://phabricator.services.mozilla.com/D151757