Commit Graph

868797 Commits

Author SHA1 Message Date
Mike Conley
65f281083c Bug 1906912 - Make parseArchiveHeader resilient to partial Unicode characters in the buffer. r=mconley,backup-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D216849
2024-07-18 15:59:46 +00:00
William Wen
060019310e Bug 1880230 - Added support for private browsing only widgets in CustomizableUI. r=hsohaney,firefox-desktop-core-reviewers ,Gijs,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D209857
2024-07-18 15:56:17 +00:00
Denis Palmeiro
372939b5bf Bug 1907314: Update perfetto to v46.0. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D216948
2024-07-18 15:52:07 +00:00
Kershaw Chang
8b2ee5d60d Bug 1622901 - Enable some HTTP3 test on Android, r=mxinden
Differential Revision: https://phabricator.services.mozilla.com/D216264
2024-07-18 15:51:15 +00:00
Julien Cristau
7b93c5fea1 Bug 1908626 - use one as default index rank for tier-2 and tier-3 tasks. r=taskgraph-reviewers,bhearsum DONTBUILD
This ensures completed tasks have a higher rank than entries added by
eager-index, when a cached task is scheduled despite not changing index
path.

Differential Revision: https://phabricator.services.mozilla.com/D216915
2024-07-18 15:49:59 +00:00
AndiAJ
d468d48326 Bug 1908346 - Increase page loading waiting time for real websites used in UI test r=aaronmt
This started with a fix for verifyCFRAfterBlockingTheCookieBanner which failed on the beta branch because of the website was loaded slowly.
To overcome this problem, I've increased the waiting time of the page load.

The UI test successfully passed 150x on Firebase 

Aaron suggested using the same approach for real website from our UI tests.

All UI tests successfully passed 1x on Firebase 

Differential Revision: https://phabricator.services.mozilla.com/D216809
2024-07-18 15:09:03 +00:00
Yazan Al Macki
303d201cdc Bug 1907185 - Update schemas to add a new overridesIdv2 field to search-default-override-allowlist. r=standard8 CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D216234
2024-07-12 18:54:26 +00:00
Alex Cottner
7598f2be38 Bug 1889617 - Enabling the new attachment bundling capability for IntermediatePreloads. r=leplatrem,keeler
Depends on D216814.
This patch enables the new attachment bundling/extraction logic for the intermediate certificate downloads.

In my local testing, this gives a significant improvement in the time it takes to download and unpack all the intermediate attachments.

Testing on my laptop (linux laptop on good wifi and gigiabit).
Before: 3.2-4.1 seconds to download and unpack
After: 0.75-0.95 seconds to download and unpack

Would love to pull before/after data for a variety of devices.

Differential Revision: https://phabricator.services.mozilla.com/D216815
2024-07-18 14:43:39 +00:00
Alex Cottner
434393621a Bug 1889617 - Working on client data bundle download and extraction r=leplatrem
This is to enhance our initial remote-settings sync processes for collections. We are able to bundle attachments for collections (targeting collections with many small attachments) to improve client performance.

Ground work that will allow remote-settings consumers to download an attachment bundle. This patch itself does not change any existing client behaviors.

Differential Revision: https://phabricator.services.mozilla.com/D216814
2024-07-18 14:43:39 +00:00
Matthew Gaudet
6b7d769a29 Bug 1908521 - Add coverage for previously missed syntax error r=arai
Analyzing if there's any other cases which would be interesting:

1. CoverInitializedName isn't supposed to be generated inside a class, so can't test for that.
2. Shorthand also cannot be created inside a class.
2. Field and FieldWithAccessor is handled in the block prior to this one.

That leaves Constructor and DerivedConstructor, which I think are handled elsewhere.

Differential Revision: https://phabricator.services.mozilla.com/D216868
2024-07-18 14:05:17 +00:00
ffxbld
63fcdba74e No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D216925
2024-07-18 13:58:49 +00:00
Updatebot
73a525289e Bug 1908593 - Update android nightly application-services version bump to d2a2e7645d10bfd86e0881376c746e2743eae70b r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D216904
2024-07-18 13:52:57 +00:00
Tarek Ziadé
9130ce6d98 Bug 1908645 - fixed cursor lookup - r=atossou
Differential Revision: https://phabricator.services.mozilla.com/D216939
2024-07-18 13:49:32 +00:00
Emilio Cobos Álvarez
f65e8bf020 Bug 1908242 - Minor clean-ups to StickyScrollContainer. r=TYLin,layout-reviewers
Remove one totally unused function, and some useless virtual keywords.

Differential Revision: https://phabricator.services.mozilla.com/D216860
2024-07-18 13:43:41 +00:00
Andrew Creskey
81a0efd2b2 Bug 1889771 - Optimize socket pool constants on Android r=necko-reviewers,kershaw
Increasing the absolute number of http connections on Android from 40 to 128
Will monitor telemetry for indications that this was a bottleneck.
Telemetry landed in bug 1901855.

Differential Revision: https://phabricator.services.mozilla.com/D213475
2024-07-18 13:42:26 +00:00
Andrew Creskey
4b8f2b7082 Bug 1908228 - Avoid late pref write of parental controls state r=necko-reviewers,kershaw
Don't cache via pref on shutdown to avoid late pref writing.

Differential Revision: https://phabricator.services.mozilla.com/D216834
2024-07-18 13:41:46 +00:00
Nicolas Chevobbe
63eb5e1462 Bug 1173057 - [devtools] Allow to add attributes to a node from the "tagName" input. r=devtools-reviewers,jdescottes.
When double clicking the tag name in the markup view, people can edit the tag,
but they might want to add attributes at the same time, and we didn't allow that.
This patch makes it possible, parsing the input to check for any attributes in
it, and in such case, setting them on the node before changing the tag name.

Differential Revision: https://phabricator.services.mozilla.com/D216384
2024-07-18 13:25:58 +00:00
Nicolas Chevobbe
b2fe6dce88 Bug 1907932 - [devtools] Pick detached-front parentNode from mutation's remove node. r=devtools-reviewers,ochameau.
When there's a mutation and the client sees that the currently selected node
isn't connected anymore, a detached-front event is emitted with a node we think
is the parent node of the removed node, and select it.

Unfortunately, we were picking the first node who was mutated as the one we
should select, without checking that this mutation was the one triggered by the
node removal.

The fix is pretty simple: only pick a parent node if the currently selected node
is in the list of removed nodes from the mutation.

We're not adding a specific test for it, the next patch on the queue (for Bug 1173057),
has a test which was failing intermittently without this fix.

Differential Revision: https://phabricator.services.mozilla.com/D216667
2024-07-18 13:25:58 +00:00
Jonas Jenwald
a503bf89dd Bug 1908401 - Include additional data when fetching browser preferences in the PDF Viewer. r=pdfjs-reviewers,calixte
To avoid having to request and await various browser data early during the PDF Viewer initialization, we can include that data in the existing preference fetching instead. With other planned changes to the PDF Viewer, the current situation would only become worse over time.

*Note:* Technically this data aren't preference-values, however we're already including other non-prefs in this list (e.g. `isInAutomation`) and doing it this way simplifies the overall implementation.

Differential Revision: https://phabricator.services.mozilla.com/D216819
2024-07-18 12:51:20 +00:00
Hubert Boma Manilla
0cf1a4e6d4 Bug 1903700 - [devtools] Fix position visiblity check to handle scrolling correctly r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D216719
2024-07-18 12:47:03 +00:00
Shane Hughes
aefae347a1 Bug 1908237 - Fix img srcset in chrome feature callouts. r=omc-reviewers,frontend-codestyle-reviewers,negin
Differential Revision: https://phabricator.services.mozilla.com/D216745
2024-07-18 12:27:10 +00:00
Emilio Cobos Álvarez
efe881929b Bug 1907868 - Optimize nsQueryFrame for all final frame types and ScrollContainerFrame. r=tnikkel,layout-reviewers,TYLin
Differential Revision: https://phabricator.services.mozilla.com/D216682
2024-07-18 11:51:13 +00:00
Calixte
9a215d19c5 Bug 1908483 - Add the possibility to change some pdfjs preferences from the viewer r=pdfjs-reviewers,Snuffleupagus
Differential Revision: https://phabricator.services.mozilla.com/D216842
2024-07-18 11:16:03 +00:00
Norisz Fay
471367226c Backed out 17 changesets (bug 1896709) for causing build bustage and mochitest failures CLOSED TREE
Backed out changeset 046f0f522ce7 (bug 1896709)
Backed out changeset 0271e50308e6 (bug 1896709)
Backed out changeset 26fac760de19 (bug 1896709)
Backed out changeset 6fa3424dfc40 (bug 1896709)
Backed out changeset b7bcb9904435 (bug 1896709)
Backed out changeset c6878c5fdde4 (bug 1896709)
Backed out changeset 8ca8a4082e44 (bug 1896709)
Backed out changeset 20ff83806cc6 (bug 1896709)
Backed out changeset 6c9338852a19 (bug 1896709)
Backed out changeset e8615b5d82ab (bug 1896709)
Backed out changeset 842f2047a4bd (bug 1896709)
Backed out changeset 54eea04a7342 (bug 1896709)
Backed out changeset 220b544127cb (bug 1896709)
Backed out changeset 52ce0ebfb29a (bug 1896709)
Backed out changeset 34fc79dc1ad7 (bug 1896709)
Backed out changeset 50b0f6a23e3c (bug 1896709)
Backed out changeset 89c4c6bb465a (bug 1896709)
2024-07-18 14:48:46 +03:00
Jan de Mooij
64fafcec4f Bug 1904644 - Share more exception handling code. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D214959
2024-07-18 10:51:40 +00:00
Tarek Ziadé
775214aded Bug 1885100 - add about:inference r=Mardak,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D215471
2024-07-18 10:30:59 +00:00
Julian Descottes
1985a570b2 Bug 1908621 - [wdspec] Update script invalid tests to properly check invalid optional arguments r=webdriver-reviewers,whimboo
Depends on D216811

In most cases, the calls would fail early because of a missing channel argument.
Ideally for invalid tests, all the payload should be correct except for the invalid argument we are testing.

Differential Revision: https://phabricator.services.mozilla.com/D216865
2024-07-18 10:28:26 +00:00
Julian Descottes
7880f69283 Bug 1788437 - [remote] Update pprint call sites to avoid pretty printing known strings r=webdriver-reviewers,whimboo
Depends on D212469

Differential Revision: https://phabricator.services.mozilla.com/D216811
2024-07-18 10:28:25 +00:00
Balarama Raju
f100fdf752 Bug 1788437 - Use pprint for assertion messages in remote/marionette. r=jdescottes,webdriver-reviewers
Depends on D212454

Differential Revision: https://phabricator.services.mozilla.com/D212469
2024-07-18 10:28:25 +00:00
Balarama Raju
2dec2c7fa4 Bug 1788437 - Use pprint for assertion messages in remote/shared. r=jdescottes,webdriver-reviewers
Depends on D212446

Differential Revision: https://phabricator.services.mozilla.com/D212454
2024-07-18 10:28:25 +00:00
Balarama Raju
f92b3bb39f Bug 1788437 - Use pprint for assertion messages in remote/webdriver--bidi. r=jdescottes,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D212446
2024-07-18 10:28:24 +00:00
Marco Bonardo
126c66ea1a Bug 1907278 - Shutdown PlacesFrecencyRecalculator earlier and don't handle topics after finalization. r=daisuke,places-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D216262
2024-07-18 10:18:14 +00:00
Kershaw Chang
ffaf769808 Bug 1907539 - Don't calculate network ID during shutdown, r=acreskey
Differential Revision: https://phabricator.services.mozilla.com/D216387
2024-07-18 10:06:58 +00:00
Nicolas Chevobbe
ff2cff73fd Bug 1908606 - [devtools] Check that imagePreviewTooltip is defined before using it. r=devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D216908
2024-07-18 10:04:13 +00:00
stransky
3dad84aa50 Bug 1902227 [Linux/VA-API] Backport AV1/VA-API playback fix for AMD/mesa > 24.0.7 r=padenot
Backport of https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29400
Allows to use multiple slices for AV1 VA-API decode.

Differential Revision: https://phabricator.services.mozilla.com/D216919
2024-07-18 10:01:27 +00:00
Tooru Fujisawa
91c2bda0ca Bug 1896709 - Part 17: Add tests. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D216317
2024-07-18 09:15:30 +00:00
Tooru Fujisawa
d171e57c46 Bug 1896709 - Part 16: Integrate into nsIClearDataService. r=nbp,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D215885
2024-07-18 09:15:29 +00:00
Tooru Fujisawa
fa11638fd7 Bug 1896709 - Part 15: Add nsIDOMWindowUtils.clearSharedScriptCache. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215884
2024-07-18 09:15:29 +00:00
Tooru Fujisawa
3e7786c61b Bug 1896709 - Part 14: Add ChromeUtils.clearScriptCache* methods. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215883
2024-07-18 09:15:28 +00:00
Tooru Fujisawa
309452cddc Bug 1896709 - Part 13: Use SharedSubResourceCache in ScriptLoader. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215882
2024-07-18 09:15:28 +00:00
Tooru Fujisawa
de3ba3568c Bug 1896709 - Part 12: Add SharedScriptCache field to ScriptLoader. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215881
2024-07-18 09:15:28 +00:00
Tooru Fujisawa
868639d538 Bug 1896709 - Part 11: Add PContent::ClearScriptCache. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215880
2024-07-18 09:15:27 +00:00
Tooru Fujisawa
2fd3dec9e1 Bug 1896709 - Part 10: Add SharedScriptCache. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215879
2024-07-18 09:15:27 +00:00
Tooru Fujisawa
2d77dfea62 Bug 1896709 - Part 9: Add ScriptLoadRequest::CacheEntryFound. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215878
2024-07-18 09:15:26 +00:00
Tooru Fujisawa
bbff5d2fa7 Bug 1896709 - Part 8: Add Stencil variant to LoadedScript. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215877
2024-07-18 09:15:26 +00:00
Tooru Fujisawa
5b2a723085 Bug 1896709 - Part 7: Add pref for nagivation cache. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215876
2024-07-18 09:15:25 +00:00
Tooru Fujisawa
e784103fc3 Bug 1896709 - Part 6: Add JSExecutionContext::{SetKeepStencil,StealStencil}. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215875
2024-07-18 09:15:25 +00:00
Tooru Fujisawa
500c12673d Bug 1896709 - Part 5: Add ScriptLoadRequest::IsCacheable. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215874
2024-07-18 09:15:25 +00:00
Tooru Fujisawa
99e7436687 Bug 1896709 - Part 4: Accumulate cache expiration time in script load. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215873
2024-07-18 09:15:24 +00:00
Tooru Fujisawa
a876247a94 Bug 1896709 - Part 3: Add LoadedScript::CanHaveBytecode. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215872
2024-07-18 09:15:24 +00:00