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

797362 Коммитов

Автор SHA1 Сообщение Дата
Marian-Vasile Laza f818cf7d7a Merge autoland to mozilla-central. a=merge 2022-06-04 00:43:15 +03:00
Haik Aftandilian 4591ba72b4 Bug 1770484 - Make Mac processes not depend on DYLD_LIBRARY_PATH to load libraries r=glandium,gsvelto,mac-reviewers,necko-reviewers,dragana,spohl
Change XUL and other dylibs to be built with an @rpath/<dylib> install name (LC_ID_DYLIB) instead of @executable_path/<dylib>.

Change executables to be built with an @rpath dyld search path set to @executable_path by default so that @rpath/<dylib> dylibs in the same directory can be resolved. For executables not in the same directory as @rpath dylibs, such as plugin-container, set a relative @rpath such as @executable_path/../../../.

Previously, dylib install names were set as @executable_path/<dylib> allowing them to be resolved by dyld for the loading executable if the executable resided in the same directory as the dylib. For executables not in the same directory as the dylibs, dyld resolved these dylibs using DYLD_LIBRARY_PATH set before launching the process by Firefox code. With this change, loading does not rely on DYLD environment variables. Instead, dylibs have an install name set as @rpath/<dylib> and each executable loading a dylib has its @rpath set at compile-time to refer to dylib directory.

Differential Revision: https://phabricator.services.mozilla.com/D147360
2022-06-03 21:14:01 +00:00
Razvan Cojocaru f0ceea18e4 Bug 1767127 - Change the types of FilterInstance::m[UserSpaceToFilter|FilterSpaceToUser]SpaceScale to MatrixScalesDouble. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D148138
2022-06-03 19:55:30 +00:00
Noemi Erli 098a007018 Backed out changeset 9cfa90256261 (bug 1772534) for causing failures in browser_expireThemes.js CLOSED TREE 2022-06-03 22:39:14 +03:00
Emilio Cobos Álvarez 50fea61916 Bug 1770829 - Use ColorMix for interpolated colors in the computed style rather than ComplexColorRatios. r=barret
This among other things preserves the right color-space when
interpolating currentColor.

Differential Revision: https://phabricator.services.mozilla.com/D147512
2022-06-03 19:11:07 +00:00
Mozilla Releng Treescript 49235f6144 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
br -> 4cb5ab289cc37542167744eafc9d10c0ee6025b3
ckb -> 987dfbc214848430b6e9b1d08a8ff8577494f7d8
de -> 575b9d4914805e9c9a8b7242e5ea0402e4592d9a
fi -> ae2e5e9666be72c47f6c175c508e6c4c8622c087
lt -> 364363bc6d85ac84b86d3b536a9938a3016fc8b9
sl -> dea163cd547aa739314da68773fa83ce6d0fd0b5
2022-06-03 19:03:57 +00:00
Drew Willcoxon 651e26a970 Bug 1772447 - Add quick suggest results in chunks so the main thread isn't blocked too long. r=nanj
This modifies `UrlbarQuickSuggest.addResults()` so it adds entries to the
`_resultsByKeyword` map in chunks. Each chunk uses the idle queue of the main
thread.

I chose 1,000 as the chunk size. On my machine, a chunk with 1,000 entries
usually takes less than a millisecond, sometimes 1ms. A chunk with 10,000 takes
10x the time, ~10ms. Per the recent Slack thread, the latest total number of
keywords is 134,276, so that's 135 chunks of size 1,000. Seems OK...? I'm open
to suggestions.

Differential Revision: https://phabricator.services.mozilla.com/D148221
2022-06-03 18:24:09 +00:00
Dan Robertson f25a982b1d Bug 1760368 - A fixed element hit in the gutter should not be absorbed. r=botond
When a hit test result hits a fixed element that extends over the gutter, do not
absorb the event.

Depends on D147564

Differential Revision: https://phabricator.services.mozilla.com/D148077
2022-06-03 18:12:26 +00:00
Dan Robertson 49c7adc0d3 Bug 1760368 - Fix hit testing of fixed elements. r=botond
When transforming the hit test to what gecko expects, ensure that we
handle fixed elements correctly.

Depends on D146825

Differential Revision: https://phabricator.services.mozilla.com/D148076
2022-06-03 18:12:26 +00:00
Dan Robertson 9a05a09fb2 Bug 1760368 - Overscroll transform should not apply to fixed content. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D146825
2022-06-03 18:12:25 +00:00
Jens Stutte f31ba2bcd9 Bug 1772281 - Reduce the scope of the mMutex lock in ThreadEventQueue::SetObserver to avoid a potential recursive deadlock. r=xpcom-reviewers,jesup,nika
Differential Revision: https://phabricator.services.mozilla.com/D148249
2022-06-03 18:03:36 +00:00
Dão Gottwald 1a567c000c Bug 1772534 - Version bump for old colorways. r=sfoster,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D148264
2022-06-03 18:00:31 +00:00
Thomas Wisniewski 754bef9e29 Bug 1772159 - support the removeEventListener feature of Google Publisher Tags in the SmartBlock shim; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D148208
2022-06-03 17:56:32 +00:00
Marian-Vasile Laza 30722837c1 Backed out changeset d2838baf9655 (bug 1750102) for causing bustages on nsStyleStruct.cpp by partially backing out 1750102. CLOSED TREE 2022-06-03 20:38:13 +03:00
Wong Yi Xiong 30a32855c4 Bug 1770545 - Add video wrapper for Nebula subtitles. r=pip-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D147425
2022-06-03 17:06:07 +00:00
Marian-Vasile Laza c7d153ca29 Backed out changeset c8b026cff732 (bug 1750102) for causing bc failures on browser_test_autoscrolling_in_extension_popup_window.js. CLOSED TREE 2022-06-03 20:12:55 +03:00
Julian Descottes b4b1231f7f Bug 1772239 - [devtools] Stop reading client preference devtools.browsertoolbox.fission in the devtools server r=ochameau,devtools-backward-compat-reviewers,bomsy
The devtools.browsertoolbox.fission should not be read on the server but should instead be provided to the server by the client.
The breakage can be reproduced if you try to debug a Firefox desktop with devtools.browsertoolbox.fission = false from a Firefox with devtools.browsertoolbox.fission
= true.

Differential Revision: https://phabricator.services.mozilla.com/D148129
2022-06-03 16:51:51 +00:00
Paul Zuehlcke 84a3a0135d Bug 1719221 - Fix intermittent test timeout by ensuring button is present before clicking it. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D148133
2022-06-03 16:35:33 +00:00
Agi Sferro 53dcdf0fe7 Bug 1772427 - Remove unneded sub-heading. r=calu
I think this sub-heading is a weird artifact of the migration from md to rst.
It creates a double menu that is not needed.

Before:

```
- Contributing to GeckoView
  - Contributor Site
    - GeckoView Contributor guide
    - GeckoView for Gecko engineers
    - ...
- Using GeckoView
  - Usage Documentation
    - Getting Started with GeckoView
    - Interacting with Web Content
    - ...

```

After

```
- Contributing to GeckoView
  - GeckoView Contributor guide
  - GeckoView for Gecko engineers
  - ...
- Using GeckoView
  - Getting Started with GeckoView
  - Interacting with Web Content
  - ...
```

Differential Revision: https://phabricator.services.mozilla.com/D148214
2022-06-03 16:25:02 +00:00
Agi Sferro cdfd02d7b2 Bug 1772427 - Add doc about Android Junit framework. r=calu
Differential Revision: https://phabricator.services.mozilla.com/D148210
2022-06-03 16:25:02 +00:00
Shane Hughes 5dcd0e2a07 Bug 1771276 - Fix an error in EnterprisePoliciesManager. r=mkaply
Services.policies.isExemptExecutableExtension will throw if passed a
falsy origin, which causes errors to be logged in the console when the
user downloads a file with an object URL source. Technically, it can
also throw if the URL is invalid for a variety of other reasons, so I
just wrapped the URL construction in a try...catch statement.

Differential Revision: https://phabricator.services.mozilla.com/D147407
2022-06-03 16:11:02 +00:00
Greg Tatum 118e895e71 Bug 1759504 - Drive by fix of Feature Gate docs r=nordzilla,preferences-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D146830
2022-06-03 16:01:34 +00:00
Greg Tatum 8387447504 Bug 1759504 - Put the text recognition UI behind an experimental feature r=emilio,nordzilla,fluent-reviewers,preferences-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D146829
2022-06-03 16:01:34 +00:00
Greg Tatum 6de8a36757 Bug 1759504 - Return the ImageText results from recognizeCurrentImageText r=emilio,nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D143423
2022-06-03 16:01:33 +00:00
Greg Tatum b0b5b0333b Bug 1759504 - Prototype a UAWidget for TextRecognition r=emilio,nordzilla
Note this is an experiment in getting functionality going for text
recognition. It may be possible to do this more efficiently from
the C++ side of things, but this will allow for rapid experimentation
while working with UX.

Differential Revision: https://phabricator.services.mozilla.com/D143422
2022-06-03 16:01:33 +00:00
Greg Tatum cd70478517 Bug 1759504 - Fill in the quad points for text recognition r=emilio,nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D143421
2022-06-03 16:01:32 +00:00
Greg Tatum eb3e44ad22 Bug 1759504 - Prototype a menu button click demo for text recognition r=fluent-reviewers,emilio,nordzilla,flod
Co-Authored-By: Emilio Cobos Álvarez <emilio@crisal.io>
Co-Authored-By: Greg Tatum <tatum.creative@gmail.com>

Depends on D140874

Differential Revision: https://phabricator.services.mozilla.com/D140875
2022-06-03 16:01:32 +00:00
Emilio Cobos Álvarez b0c2d0f04d Bug 1759504 - Implement text recognition component in macOS. r=emilio,nordzilla
Co-Authored-By: Emilio Cobos Álvarez <emilio@crisal.io>
Co-Authored-By: Greg Tatum <tatum.creative@gmail.com>

Differential Revision: https://phabricator.services.mozilla.com/D140874
2022-06-03 16:01:32 +00:00
Emilio Cobos Álvarez 793601b4c0 Bug 1772562 - Use nsIContent.h for Node in the WebIDL bindings. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D148276
2022-06-03 15:56:24 +00:00
Michael Ratcliffe b607b4b44f Bug 1771998 - Eliminate mozilla/reject-osfile eslint warning in PerfTools code r=julienw
Try is green:
https://treeherder.mozilla.org/jobs?repo=try&revision=9fe09c79953c516ffaaca3efada1fbe53cb9c97c

Differential Revision: https://phabricator.services.mozilla.com/D148068
2022-06-03 15:40:58 +00:00
Mike Conley 32c1db2b09 Bug 1354248 - Part 4: Make PageIconProtocolHandler use RemoteStreamGetter. r=necko-reviewers,nika,mak,ckerschb,kershaw
This makes it so that PageIconProtocolHandler uses RemoteStreamGetter in the event that the
privileged about content process attempts to use the page-icon: protocol. This allows the parent
to then remotely stream the favicons down to the privileged about content process.

This also adds a test to check that only the privileged about content process can use this
protocol, and that "normal" web content processes cannot.

Differential Revision: https://phabricator.services.mozilla.com/D147335
2022-06-03 15:17:34 +00:00
Mike Conley 545db4aaa0 Bug 1354248 - Part 3: Supply LoadInfoArgs through the RemoteStreamGetter mechanism. r=necko-reviewers,kershaw
The LoadArgs are wrapped in a Maybe, since that seems to be what the conversion utilities
(LoadInfoToLoadInfoArgs and LoadInfoArgsToLoadInfo) seem to expect. It's really up to the
users of RemoteStreamGetter to determine whether or not they're willing to accept requests
without LoadArgs.

Differential Revision: https://phabricator.services.mozilla.com/D147334
2022-06-03 15:17:33 +00:00
Mike Conley 9162e50177 Bug 1354248 - Part 2: Abstract out the IPC message that RemoteStreamGetter uses. r=necko-reviewers,kershaw
This will allow the PageIconProtocolHandler to also use RemoteStreamGetter, using
its own IPC message.

Differential Revision: https://phabricator.services.mozilla.com/D147181
2022-06-03 15:17:33 +00:00
Mike Conley 2ff2484102 Bug 1354248 - Part 1: Split PageThumbStreamGetter into a common utility class. r=necko-reviewers,kershaw
This utility class is called RemoteStreamGetter, and will be used for the PageIconProtocolHandler
in a later patch in this series.

Differential Revision: https://phabricator.services.mozilla.com/D147180
2022-06-03 15:17:32 +00:00
Katherine Patenio 238b90b6b9 Bug 1772172: fix z-index overlap for Colorways preview text in about:addons. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D148205
2022-06-03 15:13:32 +00:00
Niklas Baumgardner eb0911cfc7 Bug 1768450 - Focus the window when PiP is fullscreened. r=pip-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D147211
2022-06-03 14:46:39 +00:00
Emilio Cobos Álvarez 8b82a98c62 Bug 1772513 - Don't require unified build in widget/gtk. r=stransky
This also ensures on automation that we don't regress this.

Depends on D148256

Differential Revision: https://phabricator.services.mozilla.com/D148257
2022-06-03 14:33:48 +00:00
Emilio Cobos Álvarez 95ac9279f0 Bug 1772513 - Fix various non-unified build issues in GTK widget code. r=stransky
Mostly missing includes.

Differential Revision: https://phabricator.services.mozilla.com/D148256
2022-06-03 13:31:48 +00:00
Mirko Brodesser c27a361233 Bug 1772291: extend documentation of `XULPopupElement::openPopup*` to reflect behavior when the popup is already opened. r=NeilDeakin,edgar DONTBUILD
This allows callers to rely on this property.

I didn't extend the documentation for
`XULPopupElement::ShowPopupAtScreen` because it seems to not have this
property for native context menus.
If that inconsistency is considered a bug, it should be fixed in a
separate ticket.

Differential Revision: https://phabricator.services.mozilla.com/D148114
2022-06-03 13:13:34 +00:00
Pierre de La Morinerie 34a225ac72 Bug 359303 - preserve nbsps on clipboard export. r=hsivonen,mbrodesser
This patch ensures that non-breaking spaces in a text widget are preserved when being
copied to the clipboard.

It works by using the fact that a copy operation usually results in two successive copies:
- The first copy in plain-text,
- The second one, if the text is outside a text-widget, is pretty-printed.

Thus, if we configure the first copy to preserve non-breaking spaces, a copy made inside
a text widget will have non-breaking spaces preserved–but other copies will continue with
the current behavior of replacing non-breaking spaces.

Differential Revision: https://phabricator.services.mozilla.com/D141934
2022-06-03 12:57:44 +00:00
Mark Hammond 428e1a95f3 Bug 1772070 - vendor the current application-services. r=janerik,glandium
Differential Revision: https://phabricator.services.mozilla.com/D147833
2022-06-03 12:41:13 +00:00
Emilio Cobos Álvarez 20e06ba3ee Bug 1750102 - Two minor style system fixups.
MANUAL PUSH: Trivial fixup CLOSED TREE
2022-06-03 12:58:31 +02:00
Emilio Cobos Álvarez c6c289ff2d Bug 1750102 - Add an input-region-margin to widgets, and implement it on Linux. r=stransky
Recompute the input region when resizing the widget and so on, and use
it to check for rollups.

Depends on D148211

Differential Revision: https://phabricator.services.mozilla.com/D148222
2022-06-03 10:39:13 +00:00
Emilio Cobos Álvarez 5e438354e2 Bug 1772432 - Fix Windows build bustage.
MANUAL PUSH: Trivial fix CLOSED TREE
2022-06-03 12:23:00 +02:00
Paul Adenot f40adcf8b3 Bug 1771411 - Use LifecycleStateRef() in an MTG lifecycle assertion. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D148115
2022-06-03 10:04:35 +00:00
Emilio Cobos Álvarez 2bd192dbd0 Bug 1772432 - Remove nsWidgetInitData::mMouseTransparent. r=stransky
Instead, have the menu popup frame call SetWindowMouseTransparent (since
it needs to anyways to deal with dynamic changes).

Differential Revision: https://phabricator.services.mozilla.com/D148211
2022-06-03 09:41:39 +00:00
Emilio Cobos Álvarez b44d1c0376 Bug 1772432 - Clean up nsWidgetInitData. r=stransky
Use inline initializers, remove dead code, use consistent naming.

No behavior change.

Differential Revision: https://phabricator.services.mozilla.com/D148209
2022-06-03 09:41:39 +00:00
Bogdan Szekely e93753343a Merge mozilla-central to autoland. CLOSED TREE 2022-06-03 12:38:14 +03:00
Molnar Sandor 4d1529da83 Bug 1772211 - Fix typo. a=fix. 2022-06-03 12:34:06 +03:00
Bogdan Szekely 1fb9316c26 Merge autoland to mozilla-central. a=merge 2022-06-03 12:32:54 +03:00