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

755066 Коммитов

Автор SHA1 Сообщение Дата
Markus Stange 43e5d7e69f Bug 1707598 - When opening a new menu just after closing an old menu, make sure we exit the nested event loop for the old NSMenu before we ask the new NSMenu to open. r=harry
On CI, where we open and close menu items in quick succession, we sometimes got
into a state where the new menu was opened while we were still in the old menu's
nested event loop. So we had the following sequence of events:

```
 - old menu +[NSMenu popUpContextMenu:withEvent:forView:]
   - nested event loop for old menu
     - old menu -[NSMenu cancelTrackingWithoutAnimation]
     - new menu +[NSMenu popUpContextMenu:withEvent:forView:]
       - nested event loop for new menu
         - new menu -[NSMenu cancelTrackingWithoutAnimation]
     - new menu's event loop is exited, but old menu's event loop remains on the
       stack
     - shutdown hang here
```

MOZMenuOpeningCoordinator makes sure that +[NSMenu popUpContextMenu:withEvent:forView:]
is always called in sequence, never in a nested fashion.

Differential Revision: https://phabricator.services.mozilla.com/D113373
2021-04-26 20:57:20 +00:00
Bryce Seager van Dyk 15e028a5fa Bug 1707559 - Stub out QueryOutputProtectionStatus. r=jbauman
Differential Revision: https://phabricator.services.mozilla.com/D113361
2021-04-26 20:52:47 +00:00
Agi Sferro 5bd4ee0a35 Bug 1558103 - Don't try to dispatch XPCOM events during shutdown. r=aklotz
XPCOM complains when events are dispatched during shutdown. Since we're
shutting down, there's no really any point in dispatching these messages
anyway, so we can safely ignore them.

Differential Revision: https://phabricator.services.mozilla.com/D113203
2021-04-26 20:49:27 +00:00
Agi Sferro 0bacfb352b Bug 1699046 - Allow GVE to have zero tabs. r=droeh
Marionette uses GVE and sometimes closes the last tab and calls |Quit| at the
same time. When the last tab is closed, GVE will try to open a new tab with the
same content in it, to avoid leaving the browser in the "zero tabs" state. This
causes a race condition where the browser is shutting down and a new tab is
being created, which trips an assertion in our widget code.

During real life usage of the browser, calling Quit only happens during errors.
Because of that, and the fact that we're not seing this crash in the wild,
it should be safe to just fix the problem in GVE instead of supporting this
edge case in GeckoView.

To support the Marionette case, we allow GVE to stay at zero tabs. Some menu
elements need to be disabled (like reload tab and the url bar).

This has the added benefit of being able to test the "no windows" case in GVE
which wasn't possible until now.

Differential Revision: https://phabricator.services.mozilla.com/D113202
2021-04-26 20:49:00 +00:00
Jared Wein 6f231d697c Bug 1703044 - Update the caclulation of the panel secondary text to get it closer to the UX spec. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D112809
2021-04-26 20:33:38 +00:00
Jeff Muizelaar b57459857a Bug 1707682 - Bump up GPU process max restarts. r=aosmond
We've been using 3 on Nightly for a long time without
any problems and it's generally much better to keep the GPU
process around than give up on it.

We also bump the Nightly value to increase the chances of us
finding any problems where we should give up on using the GPU process.

Differential Revision: https://phabricator.services.mozilla.com/D113393
2021-04-26 20:22:20 +00:00
Cosmin Sabou e3f5ad16b5 Backed out 2 changesets (bug 1600059) for bc failures on browser_autocomplete_footer.js. CLOSED TREE
Backed out changeset 6e03b1a45863 (bug 1600059)
Backed out changeset 9a742ac1be88 (bug 1600059)
2021-04-26 23:24:18 +03:00
Henrik Skupin 59d0b4e978 Bug 1676803 - [remote] Enable Remote Agent on Android. r=firefox-build-system-reviewers,mhentges,glandium
Differential Revision: https://phabricator.services.mozilla.com/D112005
2021-04-26 19:46:09 +00:00
Henrik Skupin 460f0ed59f Bug 1676803 - [remote] Hardening discards of registered FileIO streams. r=remote-protocol-reviewers,jdescottes
In some situations the FileIO stream's underlying file might not
exist anymore. Discarding the stream should not fail.

Depends on D112004

Differential Revision: https://phabricator.services.mozilla.com/D113379
2021-04-26 19:46:09 +00:00
Henrik Skupin 8bcc373610 Bug 1676803 - Make the Remote Agent part of remote debugging within GeckoView. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D112004
2021-04-26 19:46:08 +00:00
Kagami Sascha Rosylight 2489bd2d16 Bug 973604 - Mark set/releaseCapture() as deprecated r=annevk,edgar
Differential Revision: https://phabricator.services.mozilla.com/D113195
2021-04-26 19:37:45 +00:00
Brad Werth 784a86e1ca Bug 1705007: Ensure GPU process has created the observer service. r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D113193
2021-04-26 19:35:44 +00:00
Mike Kaply 17c57fe0c9 Bug 1706119 - Add enterprise policy for open-protocol-handler permission. r=emalysz,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113034
2021-04-26 19:17:11 +00:00
Neil Deakin afcb5f8ee1 Bug 1706136, update show/hide password icons in login manager, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D113362
2021-04-26 19:13:17 +00:00
Joel Maher a297be1afe Bug 1699456 - fix message for normal crash path. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D113376
2021-04-26 19:07:46 +00:00
Joel Maher 3f035da765 Bug 1707549 - add back in MacOSX 10.15 not -qr perf tests. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D113375
2021-04-26 19:07:24 +00:00
Jared Wein 3b703af54d Bug 1703957 - Colors for dark/light/system/system-dark audited and confirmed consistent. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D113137
2021-04-26 18:50:14 +00:00
Lee Salzman edf1e67938 Bug 1707228 - Check for no perspective dependency on Z component on axis-aligned transforms. r=aosmond
Recent changes in cs_clip_image are exposing some cases where we are letting rectangles being warped
by perspective transform get considered as axis-aligned. This makes the axis-alignment check stronger
for clipping to guard against the Z dependency in the W coordinate that is messing up clipping.

Differential Revision: https://phabricator.services.mozilla.com/D113259
2021-04-26 18:49:24 +00:00
alwu d54e623362 Bug 1706811 - explicitly restart the media sink in 'UpdateOutputCaptured()' if it was playing before. r=bryce.
When updating the output capture in MDSM, we didn't restart the sink after recreating it. The sink would actually get started later by `MaybeStartPlayback()` that would be checked periodly in the decoding and completed state.

However, we should make it explicitly start if the sink was playing before we recreate it, like what we did for `SetSink()` [1]

[1] https://searchfox.org/mozilla-central/rev/08013752b4638f01d41d2a38ca7bd741bc572c86/dom/media/MediaDecoderStateMachine.cpp#3803-3814

Differential Revision: https://phabricator.services.mozilla.com/D113046
2021-04-26 18:45:01 +00:00
alwu 18962da886 Bug 1706747 - make AudioSink's start time exactly same as the start time of AudioSinkWrapper. r=bryce.
AudioSink's`mStartTime` [1] represents the time when the MediaSink starts.

Currently that is initialized by calling `GetMediaTime()` [2], but we should better let the time explicitly equal to the start time of the media sink [3] (they're currently equal, but not easy to notice that by just looking the code).

So we should let AudioSinkWrapper to pass the start time to AudioSink in order to make the invariant clearer, which is that AudioSinkWrapper and AudioSink should be guaranteed having the same start time.

[1] https://searchfox.org/mozilla-central/rev/08013752b4638f01d41d2a38ca7bd741bc572c86/dom/media/mediasink/AudioSink.h#93
[2] https://searchfox.org/mozilla-central/rev/08013752b4638f01d41d2a38ca7bd741bc572c86/dom/media/MediaDecoderStateMachine.cpp#2831
[3] https://searchfox.org/mozilla-central/rev/08013752b4638f01d41d2a38ca7bd741bc572c86/dom/media/MediaDecoderStateMachine.cpp#3388

Differential Revision: https://phabricator.services.mozilla.com/D113016
2021-04-26 18:44:30 +00:00
Mike Conley fa71ff1b81 Bug 1706096 - Update media and Picture-in-Picture icons. r=sfoster,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D112982
2021-04-26 18:31:07 +00:00
keiko 425815c622 Bug 1705675 -Deleted and modified the document links. r=ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D113260
2021-04-26 18:24:14 +00:00
Dan Minor db62540452 Bug 1706318 - Rename connector pattern override preference; r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D112815
2021-04-26 18:11:59 +00:00
Kashav Madan fe1cf774c7 Bug 1696137 - Fix timeouts in browser_reopen_all_windows.js, r=annyG
We currently wait for the "sessionstore-single-window-restored" notification and
*then* start listening for individual "SSTabRestored" events. This doesn't work
because we may fire those events before we get the chance to create the listener.

Listening for "browser-window-before-show" works consistently, but we need
references to the windows *before* they start restoring, so we have
to manually run the "Restore All Windows" code, instead of clicking the Library
button.

Originally part of the patch stack for bug 1703556.

Differential Revision: https://phabricator.services.mozilla.com/D112887
2021-04-26 18:08:11 +00:00
Markus Stange 5187a2ca76 Bug 1707631 - Use activateIitem in browser_styleeditor_copyurl.js, so that the menu is closed at the end of the test. r=mac-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D113377
2021-04-26 17:29:46 +00:00
Emilio Cobos Álvarez 38251f50b8 Bug 1707070 - Tweak text/number/search control anonymous tree DOM / paint order. r=dholbert
So that we hit-test the spinners even if they overlap with the editor
root's padding.

Differential Revision: https://phabricator.services.mozilla.com/D113251
2021-04-26 16:55:32 +00:00
Mike Conley c0f33ff43d Bug 1705849 - Update toolbar icon fill colours for system/light/dark themes to remove opacity and match Proton spec. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D112820
2021-04-26 16:55:12 +00:00
Alexandru Michis 7602acfd71 Backed out 3 changesets (bug 1703934) for causing xpcshell failures in test_http3_fast_fallback.js
CLOSED TREE

Backed out changeset 9dea771db2ce (bug 1703934)
Backed out changeset 2a51d2530939 (bug 1703934)
Backed out changeset 6af76624ce86 (bug 1703934)
2021-04-26 19:56:53 +03:00
Cosmin Sabou 853902f7ce Bug 1707182 - Disable browser_autoSubmitRequest.js on apple silicon for causing crashes. r=jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D113254
2021-04-26 16:52:51 +00:00
Alexandru Michis 0e762fb5f0 Backed out changeset 4736b477e8cf (bug 1704636) for causing multiple wpt failures.
CLOSED TREE
2021-04-26 19:50:05 +03:00
Jamie Nicol e0f7687773 Bug 1704842 - Expose gecko version at time compositor is initialized to geckoview_streaming telemetry. r=janerik
On Fenix we see many users with a value of opengl for the
gfx_status_compositor telemetry probe, despite the fact they are
running versions of gecko for which webrender should be enabled on
their device.

The theory is that although gecko is being initialized the user has
not opened a tab, and therefore initialized a compositor, since they
have been updated to a version which should be running webrender by
default. To verify that this is the case, this patch adds a new probe
gfx_status_last_compositor_gecko_version, which reports the gecko
version at the time a compositor is initialized. This will be used to
confirm that the users whose compositor unexpectedly reports opengl
have indeed not initialized a compositor in a while.

Differential Revision: https://phabricator.services.mozilla.com/D112339
2021-04-26 16:26:38 +00:00
Punam Dahiya 7b6404b994 Bug 1706746 - New user onboarding - Remove urlbar focus by default r=andreio
Removes focus from address bar on about:welcome, patch will be uplifted to 89 and ride along with a dot release in 88

Differential Revision: https://phabricator.services.mozilla.com/D113014
2021-04-26 16:16:39 +00:00
Molly Howell a203d1899c Bug 1706148 - Switch to updated icons for extensions and accounts app menu notifications. r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D113151
2021-04-26 16:02:55 +00:00
Mike Conley 7eba80e7a8 Bug 1707086 - Update Protections Panel icons for Proton. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D113181
2021-04-26 15:57:57 +00:00
Andi-Bogdan Postelnicu 2508edc4c5 Bug 1519636 - Reformat recent changes to the Google coding style. r=necko-reviewers,geckoview-reviewers,agi
Updated with clang-format version 11.0.1 (taskcluster-GI8pmG3eQ_OSXfjFfr2yFw)

\# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D113294
2021-04-26 15:52:25 +00:00
Emilio Cobos Álvarez 5c9bd32723 Bug 1707597 - Garbage-collect event state bits. r=smaug
We had about 9 gaps / unused bits. I moved the devtools ones at the end
because I think we should be able to remove them (but separate bug).

Differential Revision: https://phabricator.services.mozilla.com/D113365
2021-04-26 15:46:52 +00:00
Neil Deakin 513e659b72 Bug 1600059, remove some usages of waitForCondition in formautofill tests and replace with waitForMutationCondition and waiting for popup event notifications in the child process to see if this fixes the intermittent failures, r=mak
This is the same issue as bug 1701078.

Differential Revision: https://phabricator.services.mozilla.com/D112979
2021-04-26 15:29:36 +00:00
Neil Deakin dd27439769 Bug 1600059, browser_autocomplete_footer.js doesn't account for collapsed items, causing it to fail when run twice or in sequence with certain other tests, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D112978
2021-04-26 15:29:36 +00:00
Christian Holler 7ae80c5d9a Bug 1644147 - Fix a deadlock in TSan. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D113364
2021-04-26 15:10:13 +00:00
Sebastian Hengst b076996739 Bug 1707595 - Set encoding/sharedarraybuffer.https.html as failing outside Nightly on Android. r=annevk DONTBUILD
The test got imported from the upstream web-platform-tests repository in
bug 1706987.

SharedArrayBuffer is only enabled on Android for Nightly builds (bug 1703968).
It will be enabled for all release channels including Beta and Release in
bug 1619655.

Differential Revision: https://phabricator.services.mozilla.com/D113363
2021-04-26 15:08:38 +00:00
Alexandru Michis 119bc51a2b Bug 1700504 - Disable browser_toggleButtonOnNanDuration.js on Linux optimized builds for frequent failures. r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D113250
2021-04-26 15:01:32 +00:00
Joel Maher ac5bdc0d59 Bug 1692091 - remove jsreftests from android now that it is running on osx 11. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D113173
2021-04-26 14:53:32 +00:00
Joel Maher 1bab60f4c0 Bug 1704636 - run many windows 7-32 tests on windows10x64 via wow64. r=ahal,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112372
2021-04-26 14:43:31 +00:00
Sebastian Hengst 30fd8c67b5 Bug 1707585 - Switch background-color-animation-with-zero-alpha.html back to intermittent on macOS opt. DONTBUILD
The latest synchronization of the web-platform-tests with the upstrem
repository in bug 1707476 dropped 'PASS' as a possible result of this test on
macOS opt. Add it back to account for the unexpected passes observed
afterwards.

Differential Revision: https://phabricator.services.mozilla.com/D113357
2021-04-26 14:39:51 +00:00
Sean Feng 8128d06c90 Bug 1706794 - Enable dom.input_events.strict_input_vsync_alignment in Nightly again r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D113039
2021-04-26 14:27:15 +00:00
Sean Feng dbf5f9f56b Bug 1706794 - Remove a MOZ_ASSERT from InputTaskManager.cpp r=smaug
This assertion is no longer making sense after the changes we made in
bug 1705251.

Differential Revision: https://phabricator.services.mozilla.com/D113166
2021-04-26 14:27:14 +00:00
Robert Mader 4cde7dfa5c Bug 1707209 - [wayland] Implement experimental fractional scaling support, r=stransky
Fractional scaling currently comes at a high performance cost as we
only support integer scaling for rendering. The overdraw ratio is
something like (ceil(scale) / scale)^2, which for 125% scaling means
we're drawing 2.56 times as much as we should.

In theory we already support everything needed to have proper fractional
scaling: Webrender support appears to be in great shape and on the Wayland
side we can use the wp_viewporter protocol to have arbitrary
buffer size <-> surface size relationships. The main blocker remains the
lack of proper negotiation between client and compositor about the
optimal buffer size.

In order to speed up the upstream discussion, lets implement it via a
fixed value that can be set in `about:config` for testing purposes
(`widget.wayland.fractional_buffer_scale`).
It will, of course, require wp_viewporter support from the compositor.

Differential Revision: https://phabricator.services.mozilla.com/D113321
2021-04-26 13:57:23 +00:00
Chris H-C 8a942e6fb9 Bug 1608807 - Disable more experiments in tt(c) r=raphael
Differential Revision: https://phabricator.services.mozilla.com/D113154
2021-04-26 13:55:20 +00:00
Sebastian Hengst c2cb84c993 Bug 1706953 - set mozlint task back to Tier 2 because it depends on a Tier 2 task. r=bustage-fix CLOSED TREE 2021-04-26 15:58:17 +02:00
Nicolas Chevobbe e18a8759d7 Bug 1706098 - [devtools] Cleanup browser_ext_devtools_inspectedWindow_reload.js. r=extension-reviewers,rpl.
Remove unused assignment in test.

Depends on D112980

Differential Revision: https://phabricator.services.mozilla.com/D113339
2021-04-26 13:35:14 +00:00