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
Like the changes in bug 1777972 concerning CycleRoot, this is not in the spec
but seems necessary due to the fact that this field isn't set when synchronous
module execution fails.
Differential Revision: https://phabricator.services.mozilla.com/D151734
The test disables the pref so that it can test the feature's interaction with
Nimbus, but didn't re-enable the pref, so tests after it would break.
Differential Revision: https://phabricator.services.mozilla.com/D151566