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

797489 Коммитов

Автор SHA1 Сообщение Дата
Jan Varga d88413ed98 Bug 1702600 - Change ToInteger to ToInteger64 in ClientUsageArray::Deserialize; r=dom-storage-reviewers,jstutte
We use uint64_t for usages internally, but the deserializing function was using
ToInteger which can handle only 32bit integers. The problem became more visible
after increasing the group limit from 2GB to 10GB, but it was possible to
experience the problem even before that because persisted origins are not
limited by the group limit.

Differential Revision: https://phabricator.services.mozilla.com/D148480
2022-06-07 15:01:54 +00:00
Jan Varga 8b2ddb2b2c Bug 1702600 - Move ClientUsageArray class to separate source files; r=dom-storage-reviewers,jstutte
This will enable writting a gtest for the class.

Differential Revision: https://phabricator.services.mozilla.com/D148479
2022-06-07 15:01:54 +00:00
andrej 2b3e9b96df Bug 1768061 - Increase wait time for obtaining video from android device, to resolve intermittent raptor-browsertime unexpected end of JSON input. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D148314
2022-06-07 14:52:57 +00:00
Thomas Wisniewski d0c4cefea1 Bug 1716220 - add a SmartBlock shim for Branch Web SDK; r=webcompat-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D148471
2022-06-07 14:27:47 +00:00
Jan Rio Krause b554820c29 Bug 1770786 - Replace `QM_TRY` with `QM_WARNONLY_TRY`. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D148149
2022-06-07 14:27:45 +00:00
Nicolas Silva 0bfbdf273b Bug 1768650 - Turn off gfx.webrender.svg-images for a test. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D147051
2022-06-07 13:45:20 +00:00
Tom Ritter cb4903e286 Bug 1772877 - Fix pdfjs reviewers r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D148419
2022-06-07 13:34:12 +00:00
Alexandre Poirot dc8192a132 Bug 1772088 - [devtools] Align DevToolsWorkerParent and DevToolsFrameParent around unregisterWatcher method. r=jdescottes
The `_connections` map is still not quite the same between the two,
and workers auto-destroy the JSWindowActor when the last connection closes.

But this auto-destroy looks meaningless? If the map is empty _destroy won't do much...

Regarding merging or sharing code between the two actors,
I don't have a clear picture on how to do so as there is subtle differences.
It might be clearer once content process targets are using a JSProcessActor.
It would introduce a third Actor, doing probably the same things again, in a yet different way!

Differential Revision: https://phabricator.services.mozilla.com/D148477
2022-06-07 13:27:13 +00:00
Gabriele Svelto 647f30234d Bug 1769266 - Use smart pointers in MIDI runnables r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D148495
2022-06-07 12:51:08 +00:00
Timothy Nikkel 08d3f3c2f4 Bug 1772665. Initialize WebRenderImageProviderData::mDrawResult. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D148334
2022-06-07 12:50:30 +00:00
Jan-Erik Rediger 9f36df3eb8 Bug 1765326 - Update clap and other dependencies to avoid duplication. r=jnicol
The duplications arise from a Glean update, which has some of those as
transitive dependencies.
Upgrading Clap and others here reduces the duplication.

Differential Revision: https://phabricator.services.mozilla.com/D147659
2022-06-07 12:37:21 +00:00
Jan-Erik Rediger 5c0d663676 Bug 1720494 - Call glean_parser's `translate.transform_metrics` directly. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D145951
2022-06-07 12:37:21 +00:00
Jan-Erik Rediger 8182bee632 Bug 1768834 - Switch to Glean with UniFFI integration r=glandium,chutten
Upgrades to Glean v50.0.1, which comes with a rewritten core and
UniFFI-powered bindings.
Glean has some API changes, so we swap it over to that. Mostly mechanical changes.
Also upgrades to inherent v1.0 in fog.
This matches what Glean uses internally and gets rid of one duplicated crate.

Also upgrades to glean-parser==6.0.1

One crate duplication now (change in `python/mozbuild/mozbuild/vendor/vendor_rust.py` required).
Some new crates now vendored.
These are transitive dependencies of Glean dependencies, all with valid
licenses and already used in other products (mobile).

Differential Revision: https://phabricator.services.mozilla.com/D146062
2022-06-07 12:37:20 +00:00
Sylvestre Ledru 42f6811d95 Bug 1519636 - Reformat recent changes to the Google coding style r=andi,media-playback-reviewers,necko-reviewers,padenot,dragana
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D148375
2022-06-07 12:32:55 +00:00
Kershaw Chang 1d3eabcafc Bug 1770123 - Clear PAC loader when the load is failed, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D147861
2022-06-07 12:32:45 +00:00
Emilio Cobos Álvarez e0b737458a Bug 1772507 - Minor cleanup to the hit-test code on Windows. r=handyman
This doesn't change behavior but I was going through this code and I think it
makes sense.

In general I think this code could be cleaned up a bit more, it's not clear to
me why we need the distinction between nonClientSizeMargin and borderSize, but
that's probably worth another bug.

Differential Revision: https://phabricator.services.mozilla.com/D148361
2022-06-07 12:18:54 +00:00
Hubert Boma Manilla 27106e41bc Bug 1771277 - [devtools] Remove the websocket and server sent events prefs r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D147413
2022-06-07 12:18:49 +00:00
Hubert Boma Manilla 8acd16def6 Bug 1764348 - Pause / Resume should toggle listening to network resources r=ochameau
With this patch Pause and Resume, now stop and start listening to network requests.

Differential Revision: https://phabricator.services.mozilla.com/D148488
2022-06-07 12:18:49 +00:00
Emilio Cobos Álvarez 761ce0613b Bug 1771950 - Try to show native window menu when rolling up popups with the context menu button on the draggable area of the window. r=stransky
That is, when you right-click twice in the tab area (in a way such that we
close the pre-existing context menu).

Depends on D148224

Differential Revision: https://phabricator.services.mozilla.com/D148225
2022-06-07 11:52:28 +00:00
David Shin 14611a24e8 Bug 1764126 - Part 4: Add parsing for linear easing function and gate it behind pref. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D146839
2022-06-07 11:51:24 +00:00
David Shin e46f5534e2 Bug 1764126 - Part 3: Hook up linear easing calculation for servo and expose it to C++. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D146838
2022-06-07 11:51:24 +00:00
David Shin c79a8137f5 Bug 1764126 - Part 2: Rust side plumbing work for linear easing function. r=emilio
Add LinearFunction to TimingFunction. Because the linear function is a
variable list of linear stops, the enum is no longer Copyable.

Differential Revision: https://phabricator.services.mozilla.com/D146837
2022-06-07 11:51:24 +00:00
Michael Kohler 303678dcea Bug 1696233 - Remove expired Telemetry probe a11y.indicator_acted_on r=Jamie DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D148379
2022-06-07 11:14:32 +00:00
Michael Kohler 42ca477975 Bug 1683099 - Remove expired probe webrtc.ui.show_indicator#show_indicator r=mconley DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D148355
2022-06-07 11:14:04 +00:00
Michael Kohler 65ebeae6b5 Bug 1703132 - Remove expired Telemetry probe preferences.browser_home_page_change r=preferences-reviewers,mstriemer DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D148354
2022-06-07 11:13:33 +00:00
Michael Kohler 0bdaaea795 Bug 1769086 - Update metadata for layout/xul/ files to not point to Firefox Menus component r=emilio DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D148352
2022-06-07 11:11:50 +00:00
ganguin 6f3c06c869 Bug 1772719 - fix wayland-only build with mesa X11 support r=stransky
this patch fixes building firefox with
--enable-default-toolkit=cairo-gtk3-wayland-only when system mesa is build
with X11 support.

Without this patch, it only builds with mesa built without X11 support.

Differential Revision: https://phabricator.services.mozilla.com/D148347
2022-06-07 11:09:40 +00:00
Jan Horak 502017c6cb Bug 1748096 Allow multi word search on Gnome shell search provider; r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D148132
2022-06-07 11:09:06 +00:00
Marco Bonardo a7c2ee8534 Bug 1772997 - Expose removedReason from Snapshot objects. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D148497
2022-06-07 10:47:07 +00:00
Mike Hommey 7ce663eb08 Bug 1772048 - Update rustc_version and semver crates. r=emilio,webdriver-reviewers,kinetik,whimboo
semver 1.0 doesn't and won't support Clone on semver::Error[1], so we
convert the mozversion error type to store the string version of the
error, which is an incompatible change requiring a version bump on the
crate.

1. https://github.com/dtolnay/semver/pull/280

Differential Revision: https://phabricator.services.mozilla.com/D147825
2022-06-07 10:01:32 +00:00
Emilio Cobos Álvarez 23b07c1867 Bug 1694061 - Simplify XULResizerElement by removing the window resizing path which is dead code. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D105988
2022-06-07 09:38:23 +00:00
criss ef541d14f0 Merge mozilla-central to autoland on a CLOSED TREE 2022-06-07 12:36:32 +03:00
criss 0e3d9bfae6 Merge autoland to mozilla-central. a=merge 2022-06-07 12:33:40 +03:00
Mats Palmgren f13e1725b3 Bug 1694056 - Remove (XUL) nsTitleBarFrame since it's no longer used. r=emilio
Depends on D105927

Differential Revision: https://phabricator.services.mozilla.com/D105928
2022-06-07 09:30:03 +00:00
Mats Palmgren de27d55d14 Bug 1590376 part 2 - Remove (XUL) nsResizerFrame since it serves no purpose anymore. r=emilio
Depends on D105926

Differential Revision: https://phabricator.services.mozilla.com/D105927
2022-06-07 09:30:02 +00:00
Mats Palmgren 6b2f046373 Bug 1590376 part 1 - Add a XULResizerElement and move all nsResizerFrame's event handling code there. r=ntim,smaug
I'm mostly moving the code verbatim, but I excluded a few bits
that handled resizers inside menu popup frames, e.g.
https://searchfox.org/mozilla-central/rev/7bb1cc6abf6634b2a20f71935e1e519e73402b63/layout/xul/nsResizerFrame.cpp#165-170
I don't think we need that functionallity anymore and it
simplifies the code to exclude it.

Differential Revision: https://phabricator.services.mozilla.com/D105926
2022-06-07 09:30:01 +00:00
Mike Hommey 9e959e791a Bug 1772967 - Update dirs crate to 4.0. r=webdriver-reviewers,gfx-reviewers,jrmuizel,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D148466
2022-06-07 09:29:07 +00:00
Mike Hommey f2afd39ca6 Bug 1772965 - Update geckodriver to zip 0.6. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D148465
2022-06-07 09:27:44 +00:00
Mike Hommey 57c2d48e4f Bug 1772960 - Upgrade geckodriver to base64 0.13. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D148460
2022-06-07 09:26:16 +00:00
Alexandre Poirot ccc4ee6c24 Bug 1772088 - [devtools] Close only the connection specific to the destroyed target's watcher. r=jdescottes
Thanks to the exception fixed by the previous patch of this queue,
we weren't triggering `closeAllConnections`!
Calling this method was simply all wrong.
It was closing all watcher's connections intead of only the one
related to the currently destroyed target.

Doing this was breaking cases involving more than one watcher per server.
When opening RDM and a Toolbox. Closing one of the two, would destroy the other one's connection/actors/fronts.

Differential Revision: https://phabricator.services.mozilla.com/D148388
2022-06-07 07:55:58 +00:00
Alexandre Poirot 724b6c501a Bug 1772088 - [devtools] Avoid `"notifyTargetDestroyed", watcher is undefined` when closing toolboxes. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D148104
2022-06-07 07:55:58 +00:00
Julian Descottes d2b00c2027 Bug 1767764 - [devtools] Add logs to browser_layoutHelpers_getBoxQuads2.js r=Honza
Just adding some logs for now to help with the investigation

Differential Revision: https://phabricator.services.mozilla.com/D148401
2022-06-07 07:53:13 +00:00
Hubert Boma Manilla 1ef847a862 Bug 1771659 - [devtools] Fix perma failure in BETA r=ochameau
The multiprocess browser toolbox is on by default in BETA, so we
need to switch it on explicitly for the addon extensions to be listed.

Differential Revision: https://phabricator.services.mozilla.com/D148392
2022-06-07 07:39:42 +00:00
Gabriele Svelto 8f9904bb76 Bug 1670885 - Replace deprecated NSSpinLocks with os_unfair_locks in the memory allocator r=glandium
Depends on D148287

Differential Revision: https://phabricator.services.mozilla.com/D99280
2022-06-07 07:37:20 +00:00
Gabriele Svelto f56fb96281 Bug 1670885 - Fix post-fork() handlers for PHC/LogAlloc to work on macOS using unfair locks r=glandium
macOS unfair locks enforce that a lock can only be released by the thread which locked it.

On macOS 11+ this caused the fork()'d child process to raise a SIGILL signal. Confusingly enough this behavior seems to be different on macOS 10.15 and possibly interacted in odd ways with our exception handler if it was installed before fork()-ing.

Differential Revision: https://phabricator.services.mozilla.com/D148287
2022-06-07 07:37:20 +00:00
Mozilla Releng Treescript 9f66cf0c63 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
tg -> 87876327cb566d2741eb952c138f1689febe0d8c
2022-06-07 06:57:24 +00:00
Mike Hommey 89e0a977d1 Bug 1684384 - Update glsl to 6.0. r=gfx-reviewers,lsalzman
Derived from patch by Dimitri Sabadie.

Differential Revision: https://phabricator.services.mozilla.com/D100511
2022-06-07 06:17:35 +00:00
James Teh 0c1571c44a Bug 1771934: Acquire the Android a11y lock in some additional places. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D147854
2022-06-07 06:14:45 +00:00
Sammy Khamis 0f37ee0746 Bug 1772956 - only sync after tab changes if the user has more than one client r=markh
Differential Revision: https://phabricator.services.mozilla.com/D148467
2022-06-07 04:32:42 +00:00
Tooru Fujisawa 24801f7209 Bug 1772101 - Part 50: Use plain object for FormAutofill.defineLazyLogGetter in toolkit/components/formautofill/. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D147991
2022-06-07 04:31:07 +00:00