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

759759 Коммитов

Автор SHA1 Сообщение Дата
Jan Varga 74cdcac137 Bug 1713820 - Add dedicated QM_LOG_ERROR_ENABLED identifier for conditional LogError compilation; r=dom-storage-reviewers,jstutte
Differential Revision: https://phabricator.services.mozilla.com/D117132
2021-06-08 16:27:28 +00:00
Kagami Sascha Rosylight 41fc1feef9 Bug 1714640 - Add AdjustFrameForLineStart call in Selection::ScrollIntoView r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D117009
2021-06-08 16:21:36 +00:00
Mike Conley 529c78906f Bug 1715129 - Collect telemetry on how many clients have Proton enabled. r=chutten data-review=chutten
Differential Revision: https://phabricator.services.mozilla.com/D117093
2021-06-08 16:09:22 +00:00
Andrew Osmond a58e7ef933 Bug 1715132 - Ignore the blocklist for Software WebRender on desktop. r=jrmuizel
We still need the blocklist to control rollout on Android, but on
desktop, we should be shipping Software WebRender to all users, except
those in safe mode or whom have explicitly disabled WebRender.

Differential Revision: https://phabricator.services.mozilla.com/D117088
2021-06-08 16:07:57 +00:00
Andrey Bienkowski 888618300d Bug 1714376 - Replace a number of "exception.message" usages. r=mhentges,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D116723
2021-06-08 15:50:10 +00:00
Yulia Startsev 81d2466f6e Bug 1711872 - Implement Object.hasOwn proposal; r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D115483
2021-06-08 15:46:29 +00:00
Kajal Sah 3a3d434baa Bug 1679313 - Adds screenshot option in frames.r=emalysz,fluent-reviewers,sfoster,flod
Differential Revision: https://phabricator.services.mozilla.com/D114885
2021-06-08 15:32:54 +00:00
Connor Sheehan 632d552e70 Bug 1702017: add a mach doctor check for `invalid locale: UTF-8` r=mhentges
Adds a `mach doctor` check to assert Python's locale is not set to
`UTF-8`, an invalid value due to a Python bug in most pre-3.8 versions.

Differential Revision: https://phabricator.services.mozilla.com/D117081
2021-06-08 15:24:00 +00:00
Connor Sheehan ff302e46aa Bug 1713988: add a check for ssh access to `hg.mozilla.org` to mach doctor r=mhentges
Adds a check that SSH access to hg.mozilla.org is properly configured.
Attempt to run `ssh hg.mozilla.org` which will authorize to hgmo over
SSH via `pash`, without running any commands on the service. In the case
the user has properly configured SSH we will see a success message and
information on the SCM levels granted to the user. If we don't see
a successful connection, parse the output to ensure the user is using
an email address as their username (which is required on hg.mozilla.org).
If the user couldn't connect yet does have an email address as their
username, notify them that they do not have permission to push to hgmo.

Differential Revision: https://phabricator.services.mozilla.com/D117080
2021-06-08 15:23:59 +00:00
Andrei Oprea 8492bda6c5 Bug 1711473 - Intermittent browser/components/privatebrowsing/test/browser/browser_privatebrowsing_about_nimbus.js r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D116485
2021-06-08 15:10:44 +00:00
Connor Sheehan dc08a2c897 Bug 1713988: add a check that `mozilla.org` is reachable over https r=mhentges
Adds a simple check that a Mozilla domain is reachable over HTTPS.

Differential Revision: https://phabricator.services.mozilla.com/D117079
2021-06-08 15:04:06 +00:00
Connor Sheehan 9f03fdf3e4 Bug 1713988: add a `mach doctor` check for a DNS query r=mhentges
Adds a simple DNS query to `mozilla.org` as a doctor check.
We use `socket.getaddrinfo` to resolve the hostname to IP.

Differential Revision: https://phabricator.services.mozilla.com/D117078
2021-06-08 15:04:06 +00:00
Olli Pettay 43f0e95954 Bug 1697905, requestedIndex may not always be cleared, r=peterv
I think there might be a case for the issue happening also without SHIP, but
since it is way less asynchronous, triggering that issue is hard.
So the patch and test are for SHIP only.

Differential Revision: https://phabricator.services.mozilla.com/D116744
2021-06-08 14:23:10 +00:00
Andreas Farre dbee36b3e8 Bug 1710004 - Part 3: Restore session storage from the parent process. r=kashav,asuth
Depends on D116007

Differential Revision: https://phabricator.services.mozilla.com/D116213
2021-06-08 13:42:33 +00:00
Andreas Farre 03d1f5a511 Bug 1710004 - Part 2: Make it possible to pre load data into BackgroundSessionStorageManager. r=asuth
This makes it possible to do the session storage restoration for
session restore from the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D116007
2021-06-08 13:42:33 +00:00
Andreas Farre 6481b507ac Bug 1710004 - Part 1: Remove dataset concept from Session Storage. r=asuth
Session Storage used to share implementation with Local Storage, where
a distinction of a default data set from a session data set made
sense. In Session Storage all data is actually scoped by the
session. Since Bug 1322316 Session Storage no longer share
implementation with Local Storage, which makes it safe to collapse the
datasets in Session Storage to one dataset, which makes life easier,
especially for Session (Re-)Store.

Differential Revision: https://phabricator.services.mozilla.com/D116609
2021-06-08 13:42:33 +00:00
Dimi Lee e9398d13e2 Bug 1714252 - extend doorhanger_submitte event telemetry to Fx100. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D117008
2021-06-08 12:54:46 +00:00
Connor Sheehan 553fd4e3fe Bug 1714470: add `.lando.ini` file r=zeid DONTBUILD
Used to control auto-formatting, at the moment limited to black.
The current fileset pattern matches all `.py` files in the `python/`
directory and no files in any `third_party` directory.

Differential Revision: https://phabricator.services.mozilla.com/D117014
2021-06-08 12:52:25 +00:00
Olli Pettay 08f0e2afbb Bug 1706167, don't update SessionHistoryEntry.title when doing same document navigations, r=peterv
The change to DoNotifyPossibleTitleChange handling is needed so that we flush the pending title change
before adding a new active entry.

aUpdateEntryInSessionHistory is a bit odd name, since it is really about SHIP only. The patch isn't trying to
fix non-SHIP UI issues, but just give Fission similar behavior what Chrome has.

Differential Revision: https://phabricator.services.mozilla.com/D116504
2021-06-08 12:49:47 +00:00
Christoph Kerschbaumer 0d334f9412 Bug 1714947: Update missed PBM tests to work with https-first-mode enabled r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D116979
2021-06-08 12:48:32 +00:00
Tom Schuster f17ea61dbe Bug 1714531 - Restore deleted comment
Differential Revision: https://phabricator.services.mozilla.com/D117150
2021-06-08 12:16:22 +00:00
Emilio Cobos Álvarez c413e19eec Bug 1714524 - Don't draw native theme focus outlines if the author specifies a non-auto outline. r=mstange
While this doesn't match traditional Gecko behavior, the non-native
theme has much more opinionated focus outlines so I think this makes
sense.

It also matches Safari and Chrome, afaict.

Differential Revision: https://phabricator.services.mozilla.com/D116831
2021-06-08 12:16:08 +00:00
Emilio Cobos Álvarez 5a1587ef38 Bug 1715155 - Fix some @property subtest to account for whitespace trimming, and update expectations for another subtest that's now passing. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D117131
2021-06-08 11:26:30 +00:00
Tom Schuster 6f198a10b0 Bug 1714531 - Update ValidateAndApplyPropertyDescriptor. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D116942
2021-06-08 10:27:02 +00:00
Emilio Cobos Álvarez 2b0eae6061 Bug 1715134 - Make form control type an enum class. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D117087
2021-06-08 09:43:59 +00:00
Jamie Nicol a399e95a65 Bug 1712290 - Re-enable webrender on Adreno 3xx Android 9 devices. r=gfx-reviewers,nical
Webrender had previously been disabled on Adreno 3xx devices running
Android 9 due to a rendering issue caused by a driver bug. (See bug
1712148) The issue has now been identified and a workaround put in
place, so we can re-enable webrender.

Depends on D117033

Differential Revision: https://phabricator.services.mozilla.com/D117034
2021-06-08 09:43:44 +00:00
Jamie Nicol f951f07256 Bug 1712290 - Rebind VAO after VBO has been orphaned on Adreno 3xx. r=gfx-reviewers,nical
Prior to making a draw call, we orphan the instance data VBO and
upload the new instance data in to the new buffer. In cases where the
new buffer is the same size as a previous one (as is the case when
compositing picture cache tiles), the Adreno 3xx driver gets confused
an appears to use the old orphaned data for the draw call.

To work around this, manually unbind then rebind the VAO after the
instance VBO has been orphaned. This tricks the driver in to using the
new VBO.

Differential Revision: https://phabricator.services.mozilla.com/D117033
2021-06-08 09:43:43 +00:00
lyavor 0e97d943bc Bug 1713593 - HTTPS-First: Add test for mixed content blocker. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D116465
2021-06-08 09:08:08 +00:00
Nicolas Silva 2c48dba193 Bug 1711648 - Move all world rects to the endpoint representation. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D116733
2021-06-08 09:00:52 +00:00
Alexandre Poirot 9c61bd73ee Bug 1713643 - [devtools] Use DOCUMENT_EVENT will-navigate in ResourceCommand to prune its cache. r=nchevobbe,jdescottes,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D116345
2021-06-08 08:56:24 +00:00
Alexandre Poirot 028ab4fbc0 Bug 1713643 - [devtools] Expose areExistingResources argument via onResourceAvailable callbacks. r=jdescottes
Doing this helps knowing if some resources are coming from ResourceCommand cache,
or if they are live resources coming from the server.

Differential Revision: https://phabricator.services.mozilla.com/D116984
2021-06-08 08:56:23 +00:00
Alexandre Poirot 1c86e5569b Bug 1713643 - [devtools] Watch for netmonitor resources from a single place. r=bomsy
We were calling ResourceCommand.watchResources from onTargetAvailable, whereas we could and should
call it once before or after calling TargetCommand.watchTargets.
Doing this helps calling watchResources only once, for all the resource types.

Also tweaked networkFront and responsiveFront instantiation.
to only instantiate them when we need them.

Differential Revision: https://phabricator.services.mozilla.com/D116983
2021-06-08 08:56:23 +00:00
Emilio Cobos Álvarez 52363d42aa Bug 1714103 - Fallback to unthemed scrollbars if the thumb wouldn't be visible. r=stransky
The right fix for this theme in particular would be for WidgetUsesImage
to check "border-image". However, that doesn't work (instead I get a GTK
warning saying that border-image is not gettable).

So instead, make sure that we fallback to unthemed colors if the thumb
would be invisible in any of its states. This is more resilient anyways.

Depends on D116936

Differential Revision: https://phabricator.services.mozilla.com/D116937
2021-06-08 08:45:44 +00:00
Emilio Cobos Álvarez 62b79cfe22 Bug 1714103 - Simplify a condition in RecordLookAndFeelSpecificTelemetry. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D116936
2021-06-08 08:45:44 +00:00
Alexandru Michis d826660a1a Bug 1643998 - Disable browser_new_tab_in_privilegedabout_process_pref.js on fission Linux and OS X for frequent failures. r=mccr8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D117101
2021-06-08 08:27:38 +00:00
Julian Descottes 7240e461cc Bug 1715123 - Remove unused method broadcastPermissionsForPrincipalToAllContentProcesses in PermissionManager r=timhuang,necko-reviewers,dragana
Depends on D116850

Differential Revision: https://phabricator.services.mozilla.com/D116852
2021-06-08 08:08:48 +00:00
Mark Banner 95cf72b645 Bug 1713899 - Re-enable search browser mochitests for fission. r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D116977
2021-06-08 08:03:04 +00:00
Valentin Gosu fb8a8baf5e Bug 1700895 - Check if deserialized URL is valid r=necko-reviewers,dragana
We return an error code if the serialization isn't valid, and also clear the
URL segments so we don't trigger the sanity checks when the URL is released.

Differential Revision: https://phabricator.services.mozilla.com/D116589
2021-06-08 07:32:05 +00:00
Kimberly Sereduck c1ea6d3942 Bug 1714601 - Add placeholders for missing test definitions in AWSY docs;r=perftest-reviewers,AndraEsanu,sparky
Differential Revision: https://phabricator.services.mozilla.com/D116866
2021-06-08 07:26:03 +00:00
James Teh 2aca9d3532 Bug 1695116 part 11: When the cache is enabled, don't generate an MSAA id for each content process. r=morgan
This isn't used and thus isn't necessary.
Also, we can currently only support 127 content processes because of this id allocation, so avoiding this removes that restriction.

Differential Revision: https://phabricator.services.mozilla.com/D116206
2021-06-08 07:20:53 +00:00
James Teh 552af4f9de Bug 1695116 part 10: When the cache is enabled, don't send COM proxies and MSAA ids from the content process. r=morgan
Sending these doesn't really do any harm, as we already disregard them in the parent process.
However, it's certainly unnecessary and wasteful.

Differential Revision: https://phabricator.services.mozilla.com/D116204
2021-06-08 07:20:53 +00:00
James Teh f3997d5080 Bug 1695116 part 9: Fail gracefully for MSAA methods which don't support RemoteAccessible yet instead of crashing. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D116199
2021-06-08 07:20:52 +00:00
James Teh 6a5d7b980e Bug 1695116 part 8: Support MSAA accRole for RemoteAccessibles. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D116198
2021-06-08 07:20:52 +00:00
James Teh 5ce0efd820 Bug 1695116 part 7: Support MSAA accParent, accChildCount and accNavigate for RemoteAccessibles. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D116197
2021-06-08 07:20:51 +00:00
James Teh cca7d4ef02 Bug 1695116 part 6: Support retrieval of remote MsaaAccessibles via MSAA child id. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D116196
2021-06-08 07:20:51 +00:00
James Teh f53c791606 Bug 1695116 part 5: Initial support for RemoteAccessibles in QueryInterface. r=morgan
For now, a lot of interfaces are disabled, since they don't support RemoteAccessibles at all.

Differential Revision: https://phabricator.services.mozilla.com/D116195
2021-06-08 07:20:51 +00:00
James Teh 9cd14edcc6 Bug 1695116 part 4: Support events for RemoteAccessibles with the cache enabled. r=morgan
1. GetHWNDFor and FireWinEvent now take an Accessible and support RemoteAccessible.
2. The Proxy*Event methods pass a RemoteAccessible instead of a RemoteAccessibleWrap, since RemoteAccessibleWraps aren't used with the cache enabled. FireWinEvent retrieves the RemoteAccessibleWrap if the cache is disabled.

Differential Revision: https://phabricator.services.mozilla.com/D116194
2021-06-08 07:20:50 +00:00
James Teh 02d4927b94 Bug 1695116 part 3: Id management for remote MsaaAccessibles with the cache enabled. r=morgan
1. Make MsaaDocAccessible id maps contain Accessibles instead of AccessibleWraps. This allows us to put RemoteAccessibles in the id map.
2. Make MsaaAccessible::MsaaShutdown and GetChildIDFor handle RemoteAccessibles. GetChildIDFor lazily generates an id, Just as it does for LocalAccessible.

Differential Revision: https://phabricator.services.mozilla.com/D116193
2021-06-08 07:20:50 +00:00
James Teh 57f2c79bdb Bug 1695116 part 2: Support RemoteAccessible in various utility functions. r=morgan
1. Add support for RemoteAccessible in MsaaAccessible::GetFrom.
2. Add an overload of MsaaDocAccessible::GetFrom which accepts a (remote) DocAccessibleParent.
3. Add MsaaDocAccessible::GetFromOwned to return the containing document's MsaaDocAccessible for a given Accessible.
4. MsaaAccessible::LocalAcc now returns null for a RemoteAccessible, rather than just assuming the accessible is local.
5. MsaaAccessible::NativeAccessible now supports retrieving a native client pointer for LocalAccessibles, RemoteAccessibles and RemoteAccessibleWraps.

Differential Revision: https://phabricator.services.mozilla.com/D116192
2021-06-08 07:20:49 +00:00
James Teh cca8d5e473 Bug 1695116 part 1: When the cache is enabled, use a real MsaaAccessible for RemoteAccessibles. r=morgan
With the cache disabled (which was previously always the case), we create a RemoteAccessibleWrap for each RemoteAccessible, stored as the RemoteAccessible's "Wrapper".
This in turn creates an MsaaAccessible.
However, both of these are little more than stubs: the MsaaAccessible itself is never returned to clients and most of the methods would crash if called.
They exist only to store the MSAA id received from the content process and to return the COM proxy from the content process to clients.

With the cache enabled, we now create a real MsaaAccessible for each RemoteAccessible, stored as the RemoteAccessible's "Wrapper".
This MsaaAccessible is directly returned to clients.
Soon, it will generate its own id in the parent process and will delegate to the underlying RemoteAccessible to serve queries from clients.

As part of this:

1. We stop managing COM proxies in the parent process when the cache is enabled, since we don't need those and can't store them anyway.
2. We stop setting the id on the MsaaAccessible when the cache is enabled, since it will soon generate its own id like local MsaaAccessibles do.
3. OuterDocAccessible::ChildCount had to be tweaked so it doesn't try to return a RemoteAccessibleWrap when the cache is enabled. (It previously called RemoteChildDocAccessible, which fetches a RemoteAccessibleWrap.)

Differential Revision: https://phabricator.services.mozilla.com/D116191
2021-06-08 07:20:49 +00:00