Commit Graph

793172 Commits

Author SHA1 Message Date
Tooru Fujisawa
c58cfb22df Bug 1843030 - Part 4: Add PreallocatedCompilationGCOutput. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D183462
2023-07-14 08:27:01 +00:00
Tooru Fujisawa
6da2acfdfa Bug 1843030 - Part 3: Add PreAllocateableGCArray and use it in CompilationGCOutput. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D183461
2023-07-14 08:27:00 +00:00
Tooru Fujisawa
ccb75d4677 Bug 1843030 - Part 2: Cleanup include in CompilationStencil.h. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D183460
2023-07-14 08:27:00 +00:00
Tooru Fujisawa
12a180f043 Bug 1843030 - Part 1: Cleanup include in HelperThreadState.h. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D183459
2023-07-14 08:27:00 +00:00
Gregory Pappas
cf13378af3 Bug 1842978 - Remove dom.event.default_to_passive_touch_listeners pref r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D183559
2023-07-14 08:07:21 +00:00
Iulian Moraru
26e42186d1 Backed out changeset 68bc85e67303 (bug 1838122) for causing mochitest assertion failures on nsAutoCompleteController.cpp. CLOSED TREE 2023-07-14 10:38:25 +03:00
Alexandre Poirot
206c429970 Bug 1822310 - [devtools] Move from "context" to breakpoint's location assertion for SET_BREAKPOINT action. r=devtools-reviewers,bomsy
Focus on actions involving SET_BREAKPOINT and all its nested callsites.

Differential Revision: https://phabricator.services.mozilla.com/D182797
2023-07-14 07:08:19 +00:00
Alexandre Poirot
b0bc8406d5 Bug 1822310 - [devtools] Migrate setExpandedScope action to "selectedFrame" pattern. r=devtools-reviewers,bomsy
This action records the expanded paths in the scope panel.

While these paths are saved across pause/resume via lastExpandedScopes,
this particular action saves the data into `expandedScopes` which is specific to each paused/step location.

Differential Revision: https://phabricator.services.mozilla.com/D182552
2023-07-14 07:08:18 +00:00
Alexandre Poirot
6064dc2408 Bug 1822310 - [devtools] Migrate updateExpressions to "selected frame or global context". r=devtools-reviewers,bomsy
This is slightly more complex than "scopes" actions.
Expressions aren't only evaluated on paused frames,
but also against the global scope of the target.
So that we have to accept having a null `selectedFrame`.
The main special case here is that the action will either have selectedFrame or thread attribute set.

Removing a few jest test as they are testing more mocks than actual code
and poorly replicate correct state regarding selected thread/frame.

Differential Revision: https://phabricator.services.mozilla.com/D182551
2023-07-14 07:08:08 +00:00
Alexandre Poirot
78fd53d8e1 Bug 1822310 - [devtools] Use the context middleware to cancel outdated fetch and map scope actions. r=devtools-reviewers,bomsy
The current "thread context" is too loose. These actions are specific to the currently selected frame.
If we step to another frame, or select another frame in the call stack, or select another thread, we can cancel these async actions.

But instead of using the "context" pattern, only identify the "selectedFrame" attribute passed
and ensure it is still relevant.

Also correctly await for async actions from selectFrame.

Differential Revision: https://phabricator.services.mozilla.com/D182550
2023-07-14 07:08:08 +00:00
Mozilla Releng Treescript
fa3dcc35d0 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
be -> 1b9ef9f4c2aa01457e0f4e01a9fbcce2c2b86b5e
cs -> 7098cc1ce44a0120a1d89ab03a7ec6fe57f9b0e6
fi -> db2ec8d2946041c8d241c2c50281d93c8f6479ab
it -> 1370df09391ceffbf3161ea1a798f7f067f54d11
skr -> 0e1ab8ca7b29427dd98877d876503d85d249a3b9
2023-07-14 06:59:52 +00:00
Sergey Galich
f34b93c2c9 Bug 1838122 - Deduplicating FormAutoCompleteResult implementations r=credential-management-reviewers,search-reviewers,issammani,Standard8
Depends on D180617

Differential Revision: https://phabricator.services.mozilla.com/D180639
2023-07-14 06:51:34 +00:00
Willy R. Vasquez
91876d4a44 Bug 1829765 - Enable SIMD support in wasm2c for RLBox sandboxing r=glandium,sergesanspaille
Vendor in support for simd-everywhere

Differential Revision: https://phabricator.services.mozilla.com/D176371
2023-07-14 06:42:19 +00:00
Willy R. Vasquez
8154d867f7 Bug 1843419 - Vendor in the most recent wasm2c release r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D183537
2023-07-14 06:35:17 +00:00
Willy R. Vasquez
c53fa4aae0 Bug 1843418 - Vendor in the most recent rlbox r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D183536
2023-07-14 04:55:02 +00:00
Iulian Moraru
d9b9508194 Backed out changeset 99bcff922822 (bug 1707735) for causing bc failures on browser_devices_get_user_media_in_xorigin_frame.js. CLOSED TREE 2023-07-14 08:29:50 +03:00
Abhishek Madan
531a95e649 Bug 1748138 - Modified cache checks to account for partition key taken from content process. r=anti-tracking-reviewers,timhuang,mconley a=reland
Differential Revision: https://phabricator.services.mozilla.com/D183190
2023-07-13 19:20:38 +00:00
Stanca Serban
0d33e60e59 Backed out changeset 148252770707 (bug 1837000) as requested for making some corrections to the pool config. 2023-07-14 07:22:06 +03:00
Cristina Horotan
b867f0d1e4 Backed out changeset 93efae7712c8 (bug 1748138) for causing bc failures at browser_devices_get_user_media_in_xorigin_frame.js 2023-07-14 06:36:57 +03:00
Gregory Pappas
66a8fa6091 Bug 1839520 - Convert tps.jsm to ES module r=Standard8,sync-reviewers,skhamis
Co-authored-by: Mark Banner <standard8@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D181610
2023-07-14 03:31:26 +00:00
Abhishek Madan
30594cc1bb Bug 1830058 - Extend query_stripping_count_by_param to account for updated query strip list. r=anti-tracking-reviewers,pbz
Differential Revision: https://phabricator.services.mozilla.com/D182860
2023-07-14 03:17:21 +00:00
James Teh
0c5e4531d1 Bug 1842160: Support the LABELLED_BY/LABEL_FOR relations on HTML figure/figcaption for RemoteAccessible. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D183316
2023-07-14 01:20:24 +00:00
Ryan VanderMeulen
a1502eda53 Bug 1837000 - Switch jobs from b-win2012 workers to b-win2022. r=taskgraph-reviewers,releng-reviewers,jmaher,hneiva
Differential Revision: https://phabricator.services.mozilla.com/D183540
2023-07-14 01:14:34 +00:00
Glenn Watson
168c43560a Bug 1842952 - Disable 1157984-1.html on swgl + android, due to float accuracy r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D183454
2023-07-14 01:08:40 +00:00
Mike Hommey
2db2f05775 Bug 1843219 - Update distro to 1.8.0. r=firefox-build-system-reviewers,sergesanspaille
For some reason, on opensuse-tumbleweed, lsb_release is busted. It
exists, but fails. That situation is not handled by distro 1.4.0. That
was fixed in later versions. Upgrade to 1.8.0, which is the latest
version.

Differential Revision: https://phabricator.services.mozilla.com/D183463
2023-07-14 00:43:53 +00:00
Masayuki Nakano
9eee09202f Bug 1841689 - Make nsFocusManager::ContentRemoved let IMEStateManager of focus change when focused element is removed from the tree r=emilio
When an element in the shadow DOM of UA widget of `<input>` gets focus,
`IMEStateManger` let know the element instead of `<input>`.  Then, when
`HTMLInputElement` destroys the shadow DOM at changing type attribute,
`IMEStateManager` may not let know the focus change until `TextEditor`
is created.  Then, `IMEContentObserver` is created by `UpdateIMEState`
notification from `EditorBase::PostCreateInternal`, but
`TextControlState::GetIMEContentObserver()` fails to check whether it's
observed by an `IMEContentObserver` instance (*1).  Therefore,
`TextControlState` fails to notify `IMEContentObserver` of the value change
while `TextEditor` is not ready (*2).  Then, `IMEContentObserver` will let
IME know only a selection change without text change.  Therefore,
`ContentCacheInChild` will get invalid data due to outdated `mText` value
and latest `mSelection` value (*3).

For solving this issue, this patch makes `nsFocusManager::ContentRemoved`
let `IMEStateManager` know the focus change synchronously because `TextEditor`
may be initialized for some API calls of `HTMLInputElement` before
`nsFocusManager` handles the focus change.

1. https://searchfox.org/mozilla-central/rev/1bcef85eb36da6de8fab890bc724e214dde68ecb/dom/html/TextControlState.cpp#3055
2. https://searchfox.org/mozilla-central/rev/1bcef85eb36da6de8fab890bc724e214dde68ecb/dom/html/TextControlState.cpp#2959
3. https://searchfox.org/mozilla-central/rev/1bcef85eb36da6de8fab890bc724e214dde68ecb/widget/ContentCache.cpp#54

Differential Revision: https://phabricator.services.mozilla.com/D183080
2023-07-14 00:30:25 +00:00
Tif Tran
6390bd1185 Bug 1843175 - Handle when cache header is null r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D183441
2023-07-13 23:59:44 +00:00
Stanca Serban
b0a90cf606 Backed out changeset 8f98c9ff33a8 (bug 1842952) for causing reftests failures. 2023-07-14 02:45:35 +03:00
june wilde
48e92f0dba Bug 1550792 - Change LoadInfo to use GetIsOriginPotentiallyTrustworthy; r=ckerschb,necko-reviewers,freddyb,kershaw,extension-reviewers,devtools-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D175649
2023-07-13 22:40:30 +00:00
Narcis Beleuzu
b3557244ea Backed out changeset 949ab6d791cd (bug 1840517) for bc failure on browser_aboutwelcome_multistage_mr.js 2023-07-14 01:37:54 +03:00
Narcis Beleuzu
b4ba570abf Merge mozilla-central to autoland 2023-07-14 00:53:23 +03:00
Tiaan Louw
cd83d0bd40 Bug 1814588 - Implement sign() function r=emilio
This makes available the use of the sign() function.

https://drafts.csswg.org/css-values-4/#sign-funcs

Differential Revision: https://phabricator.services.mozilla.com/D182905
2023-07-13 21:47:55 +00:00
Emily McMinn
c4e12e1095 Bug 1840517 - Render addons screen & tiles, and allow addons to be intalled from addonspicker component r=desktop-theme-reviewers,omc-reviewers,dao,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D182128
2023-07-13 21:30:07 +00:00
Daisuke Akatsuka
2c5a3d58ab Bug 1843186: Append UTM parameter to Pocket suggestions r=dao
Differential Revision: https://phabricator.services.mozilla.com/D183455
2023-07-13 21:20:01 +00:00
Updatebot
99eabe2a6d Bug 1843273 - Update PDF.js to 762d86a59ebd7cc2f7733f519de70610089344e6 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D183494
2023-07-13 21:06:45 +00:00
Amy Churchwell
8081362d66 Bug 1841086 - Page parent component to connect data to UI components. r=shopping-reviewers,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D183012
2023-07-13 21:02:31 +00:00
Mike Conley
6ac3614ea7 Bug 1842605 - Handle errors in loading passwords from Safari CSV files. r=kpatenio,fluent-reviewers,bolsson
This also fixes some incorrect inline documentation I found in some of our tests,
and fixes a case where we were showing the warning state for importing bookmarks
in browser_safari_passwords.js.

Differential Revision: https://phabricator.services.mozilla.com/D183506
2023-07-13 20:55:05 +00:00
Neil Deakin
c2bdd9ab4a Bug 1840269, nsFilePicker::GetFile can return a different object on each call, so only call it once, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D183363
2023-07-13 20:44:04 +00:00
Stanca Serban
a9a2a127ca Backed out changeset 2c5181cc46ec (bug 1843279) for causing mochitests failures in test_MozDomFullscreen_event.xhtml. CLOSED TREE 2023-07-13 23:42:59 +03:00
Glenn Watson
246199176d Bug 1842952 - Disable 1157984-1.html on swgl + android, due to float accuracy r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D183454
2023-07-13 20:09:25 +00:00
Stanca Serban
23fefc1f0c Backed out changeset 2c5181cc46ec (bug 1843279) for causing mochitests failures in test_MozDomFullscreen_event.xhtml. CLOSED TREE 2023-07-13 23:42:59 +03:00
Narcis Beleuzu
31f8b4f54a Backed out 6 changesets (bug 1822310) for damp failure on custom.js
Backed out changeset 0ed58729f441 (bug 1822310)
Backed out changeset bac1b1b00515 (bug 1822310)
Backed out changeset c04429ac3e1a (bug 1822310)
Backed out changeset 611c749c898f (bug 1822310)
Backed out changeset 3091e86bf099 (bug 1822310)
Backed out changeset c34244cc7cf5 (bug 1822310)
2023-07-13 23:03:20 +03:00
Narcis Beleuzu
d9d15c4e4a Backed out 6 changesets (bug 1822310) for damp failure on custom.js
Backed out changeset 0ed58729f441 (bug 1822310)
Backed out changeset bac1b1b00515 (bug 1822310)
Backed out changeset c04429ac3e1a (bug 1822310)
Backed out changeset 611c749c898f (bug 1822310)
Backed out changeset 3091e86bf099 (bug 1822310)
Backed out changeset c34244cc7cf5 (bug 1822310)
2023-07-13 23:03:20 +03:00
David Turner
b1fafcf0ba Bug 1836063 - Add invalidation regression test r=gfx-reviewers,gw
Add a regression test for picture cache invalidation caused by scrolling
content with opacity-filtered stacking contexts.  This test ensures that
picture cache tiles are not invalidated by scrolling when such
sub-pictures are present, which was the problem in bug 1836063.

Depends on D181664

Differential Revision: https://phabricator.services.mozilla.com/D182496
2023-07-13 19:42:21 +00:00
David Turner
77ebb249d6 Bug 1836063 - Exclude common clip in subpictures r=gfx-reviewers,gw
When processing a picture-cache-tile we find the lowest common ancestor
clip of each primitive in the cache-tile and set that as the clip root.
Not only does this save separately applying the clip to each primitive,
it also means we actually draw the parts of the cache tile which are out
of view.  This means we don't have to redraw the cache tile every time
more of it scrolls in to view.

This mechanism doesn't work when we have Picture primitives inside a
picture-cache-tile, e.g. for applying a filter.  Primitives in the
sub-Picture still had the viewport clip applied and so when the
sub-Picture intersected with the viewport edge we had to redraw the
cache tile on every scroll event.

This diff copies the common-ancestor-clip logic to sub-Picture
primitives.  On pages with lots of opacity filtered areas (e.g.
w3schools.com) this eliminates unnecessary cache-tile invalidation and
massively improves scrolling performance on systems with a weak GPU.

Differential Revision: https://phabricator.services.mozilla.com/D181664
2023-07-13 19:42:20 +00:00
Michael Froman
1fd338bad8 Bug 1842298 - improved error messaging around first-run of elm_rebase.sh r=dbaker DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D183051
2023-07-13 19:28:50 +00:00
Michael Froman
b9b71aaca1 Bug 1842298 - improved bootstrapping during first-run of elm_rebase. r=dbaker DONTBUILD
Automatically finds the bottom (earliest) commit of the fast-forward
stack in most cases and removes the need to specify the original
mozilla-central commit that elm was based on.

Differential Revision: https://phabricator.services.mozilla.com/D183050
2023-07-13 19:28:50 +00:00
Bas Schouten
057b116c1c Bug 1843342: Update Speedometer 3 repo to tip. r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D183514
2023-07-13 19:26:51 +00:00
David Parks
09a949eb8b Bug 1843119: Remove SpinEventLoopUntil from nsWifiMonitor r=necko-reviewers,kershaw
We were using SpinEventLoopUntil to order the scans and the scan results but this seems to be overkill -- we should expect the main loop to process our tasks ery quickly.  In addition, it's probably not desirable to wait before scheduling the next scan because a delay in main thread processing doesn't imply lack of movement so our update is still needed.  Finally, we try to avoid SpinEventLoopUntil as much as possible.

Differential Revision: https://phabricator.services.mozilla.com/D183420
2023-07-13 19:22:17 +00:00
Abhishek Madan
a45ed1ada1 Bug 1748138 - Modified cache checks to account for partition key taken from content process. r=anti-tracking-reviewers,timhuang,mconley
Differential Revision: https://phabricator.services.mozilla.com/D183190
2023-07-13 19:20:38 +00:00