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

728857 Коммитов

Автор SHA1 Сообщение Дата
Jeff Muizelaar 06840cd992 Bug 1668859 - Separate out the safe part of profile_create_rgb_with_table. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D92251
2020-10-02 19:00:59 +00:00
Ryan VanderMeulen 710bcd903a Bug 1668580 - Update pdf.js to version 2.7.99. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D92091
2020-10-02 18:22:59 +00:00
Kartikaya Gupta 5234c61e56 Bug 1666792 - Don't allow events to get retargeted outside the nearest z-index container. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D92157
2020-10-02 18:08:12 +00:00
Timothy Nikkel a9912e4bb1 Bug 1668751. Make sure nsFrameSelection::PageMove is only called on a frame in the same document. r=emilio
The frame we pass to PageMove is used to extend the selection, we can't extend a selection outside of the document. The scrolling that takes place can still scroll scroll frames in parent documents afterwards.

Differential Revision: https://phabricator.services.mozilla.com/D92176
2020-10-02 18:04:04 +00:00
Gijs Kruitbosch 1aa2c4d5db Bug 1668274 - update eslint, eslint-plugin-no-unsanitized and mocha to allow use of logical assignment operators, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D91933
2020-10-02 18:00:40 +00:00
Chris H-C f68646e734 Bug 1668279 - Generate metrics code when any metrics definition file changes r=janerik
Turns out that metrics_index.py is not only valid Python but is also valid
mozbuild format. So long as our constants are lowercase (uppercase is reserved)
we can `include()` the index and read the arrays of files to tell
`GeneratedFile` every file it depends on, not just the index.

We do have to transform the paths, though, as I still maintain that paths
relative to TOPSRCDIR makes more sense for the index, but the `inputs` to
`GeneratedFile` are relative to the dir of the `moz.build`.

Differential Revision: https://phabricator.services.mozilla.com/D91961
2020-10-02 13:08:59 +00:00
Anny G d67780d72b Bug 1668664 - Fix toolkit/mozapps/extensions/test/xpinstall/browser_localfile2.js to be compatible with session history in parent, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D92147
2020-10-02 17:31:16 +00:00
David Teller ec4af2673b Bug 1667381 - Implement a doorhanger to notify Fission experiment users;r=fluent-reviewers,andreio,neha
Differential Revision: https://phabricator.services.mozilla.com/D91713
2020-10-02 17:23:36 +00:00
Bryce Seager van Dyk bf659512f8 Bug 1668372 - Escape URI GMP zips are extracted from. r=Gijs
Users with certain special characters on the path to the temp dirs where GMPs
are saved would not be able to extract GMPS. This fixes this by escaping
characters such as # so that the URIs to the file are treated correctly.

Differential Revision: https://phabricator.services.mozilla.com/D92088
2020-10-01 22:17:06 +00:00
Bryce Seager van Dyk dbe64bb4b5 Bug 1668372 - Test GMPExtractor handles special characters. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D92149
2020-10-02 16:45:52 +00:00
Robert Mader 948e33f1f0 Bug 1667116 - Request to stay unredirected on WR/OGL, too. r=stransky CLOSED TREE
Until bug 1617002 Firefox would unintendedly not get unredirected on X11
when used with WR and OpenGL as it didn't fullfill the requirements -
not being transparent.

Now that this is fixed, fullscreen unredirection can happen on certain
compositors. For the basic compositor we already explicitely ask to not
get unredirected - do that for all backends.

Differential Revision: https://phabricator.services.mozilla.com/D92180
2020-10-02 11:33:06 +00:00
Csoregi Natalia 231777144e Backed out changeset 1b76f477b19c (bug 1666497) for unexpected reflow failures. CLOSED TREE 2020-10-03 00:50:15 +03:00
Sebastian Hengst ab7b1dae03 Bug 1668809 - Disable more intermittently failing tests. CLOSED TREE 2020-10-02 23:38:30 +02:00
Nika Layzell 7575a8a095 Bug 1667426 - Part 2: Fix failing browser_Troubleshoot.js test r=fix CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D92282
2020-10-02 18:37:20 +00:00
Csoregi Natalia dc6364ce5e Backed out changeset 2b03ab71a84c (bug 1667116) for failures on browser_startup_syncIPC.js. CLOSED TREE 2020-10-02 21:25:57 +03:00
Sebastian Hengst b4439cfe22 Bug 1668809 - Disable intermittently fission failing browser_doorhanger_toggles.js. a=smaug-on-matrix CLOSED TREE 2020-10-02 20:06:03 +02:00
Csoregi Natalia 9a15f04386 Backed out changeset 2834ef721441 (bug 1668824) for build bustages on AppleDecoderModule.cpp. CLOSED TREE 2020-10-02 20:25:45 +03:00
Eitan Isaacson 96fe811eb7 Bug 1668142 - Support AXDirectionPrevious in rotor with no start element. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D91878
2020-10-02 16:33:42 +00:00
Eitan Isaacson e3bbc94ed8 Bug 1668137 - Use search root for rule's aDirectDescendantsFrom argument. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D91875
2020-10-02 16:33:34 +00:00
André Bargull 7e04b39310 Bug 1668785: Remove using declarations from namespace level in Proxy.h. r=mgaudet
The `using` declarations in "Proxy.h" make it act like a second
"NamespaceImports.h", introducing names from `JS` into the `js` namespace.

Remove the `using` declarations from "Proxy.h" and then fix up the breakage by:
- Prepend `JS::` in various header files.
- Add "NamespaceImports.h" in cpp files.
- Add `PropertyDescriptor` to "NamespaceImports.h". There are many unqualified
  references to `PropertyDescriptor`, making it a prime candidate for
  "NamespaceImports.h".

Drive-by changes:
- Use local variables in `CheckProxyFlags()` to make the `static_assert`
  conditions more readable.

Differential Revision: https://phabricator.services.mozilla.com/D92207
2020-10-02 12:51:03 +00:00
Jeff Muizelaar e53f994944 Bug 1668708 - Make build_sRGB_gamma_table safe. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D92169
2020-10-02 15:59:39 +00:00
Paul Adenot e6da0db2a2 Bug 1656068 - Backout first patch in 1656068 for breaking bluetooth audio input on Linux/Pulse. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D92247
2020-10-02 15:51:46 +00:00
Nika Layzell 630277fb31 Bug 1668054 - Use computed fission enabled status in TelemetryEnvironment, r=kmag,chutten
This new fissionEnabled flag in settings replaces the previous reporting of the
"fission.autostart" pref value from userPrefs. This is needed in order to
correctly reflect the fission enabled status for a particular browsing session,
as the pref may change at runtime, or the enabled status may be impacted by
other factors than the pref's current value.

Differential Revision: https://phabricator.services.mozilla.com/D91686
2020-10-02 06:33:24 +00:00
Nika Layzell a21ceee531 Bug 1667426 - fisison.autostart/normandy pref integration improvements, r=kmag,mythmon
Differential Revision: https://phabricator.services.mozilla.com/D91687
2020-10-02 15:52:40 +00:00
Andreas Farre 20f649d371 Bug 1668847 - Don't use SessionHistory.collect from content child r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D92246
2020-10-02 15:42:50 +00:00
Kate Hudson 250a54c2c0 Bug 1667791 - Update Xman to use new recipe schema r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D91599
2020-10-02 15:24:35 +00:00
James Willcox ac966a1df8 Bug 1549418 - Hook up WebAuthn support for GeckoView r=geckoview-reviewers,jcj,agi
This mostly just refactors the stuff we had for Fennec.

We add a dependency on Google Play Services here, but care
is taken to ensure that things will fail gracefully if
Play Services are not present at runtime.

Differential Revision: https://phabricator.services.mozilla.com/D91446
2020-10-02 15:43:41 +00:00
James Willcox 4312bd0da2 Bug 1549418 - Add GeckoRuntime.ActivityDelegate r=geckoview-reviewers,agi,esawin
This allows GeckoView to ask the embedding application to launch
other Activities on our behalf and collect the result. We need
this to invoke the FIDO authentication tools for WebAuthn.

Differential Revision: https://phabricator.services.mozilla.com/D91445
2020-10-02 15:43:39 +00:00
Henrik Skupin 479ef2392a Bug 1668790 - [marionette] Keep error class from evaluate.fromJSON() in MarionetteFrameChild.receiveMessage(). r=marionette-reviewers,maja_zf DONTBUILD
Without catching the error from evaluate.fromJSON() the default error handling
will kick-in and an UnknownError will be returned.

Differential Revision: https://phabricator.services.mozilla.com/D92218
2020-10-02 14:12:07 +00:00
Mark Banner 3dc768cd68 Bug 1651394 - Update DDG ad-click probe recording. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D92177
2020-10-02 14:05:51 +00:00
Markus Stange 2e5e4bdcbc Bug 1668107 - Clean up how nsChildView decides to use acceleration and OMTC. r=jrmuizel
In the past we had a problem with transparent windows and window shadows. This
is no longer a problem, because we have dropped the versions of macOS where it
is a problem [1].

So we now support acceleration on all window types.

But we don't necessarily want to use the OpenGL compositor or WebRender for all
windows, due to per-window overhead.

[1] Specifically, the problematic macOS versions are 10.9 and 10.10. On 10.9,
transparent windows with CoreAnimation content never have shadows, and on 10.10,
those windows only get a shadow when they are opened for the second time without
their size changing, see bug 1632895 comment 5. We now support only 10.12+.

Depends on D91828

Differential Revision: https://phabricator.services.mozilla.com/D91829
2020-10-01 15:18:51 +00:00
Markus Stange 572cc297b2 Bug 1668107 - Be more consistent about having opaque non-popup windows. r=spohl
We already don't support transparency on non-popup windows, but the code in
nsChildView makes it look like we do.

The changes in this patch have the following effects:
 - nsCocoaWindow::SetTransparencyMode no longer sets a white background color on
   non-popup windows.
 - nsChildView picks up the default implementation for Get/SetTransparencyMode
   from nsBaseWidget, which ignores calls to SetTransparencyMode and always
   returns opaque. The nsChildView methods were only called for non-popup
   windows (popup windows call the nsCocoaWindow implementations), so this is
   what we want.

Differential Revision: https://phabricator.services.mozilla.com/D91828
2020-10-02 15:07:12 +00:00
Bert Peers 5444eeeaf6 Bug 1668145 - Detect all Mac GPUs. r=jrmuizel,haik
This also adds a diagonstic assert to make sure the code works in all process types.
And it adds another item to the sandbox IOKit property name allowlist, so that
the detection works in content processes.

This landed before, in bug 1649490, but without the sandbox adjustment (so it
didn't work in content processes).

Differential Revision: https://phabricator.services.mozilla.com/D91950
2020-10-02 01:10:20 +00:00
Alexis Beingessner dc6f1e5b44 Bug 1668750 - manually expand JammedWithFlags tests for compat with clang-cl-9. r=decoder
I have no idea what the issue is, but this fixes it. I figure it's not
worth putting too much effort into since this was just to make the tests
as DRY as possible, and not actually important.

Differential Revision: https://phabricator.services.mozilla.com/D92237
2020-10-02 15:00:28 +00:00
Paul Adenot 0e5d4a42a3 Bug 1668248 - Test that DataChannel.send fails gracefully when the argument is too big. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D91930
2020-10-02 12:42:14 +00:00
Paul Adenot f18e95d3c1 Bug 1668248 - Use fallible string operations in WebSocket::Send. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D91929
2020-10-02 12:42:06 +00:00
Paul Adenot 0778d12718 Bug 1668248 - Use fallible string operations in nsDOMDataChannel::Send. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D91928
2020-10-02 12:41:54 +00:00
Hunter Jones bb1d276f41 Bug 1664667: Fix test for closing Picture-in-Picture when fullscreening another video r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D92208
2020-10-02 13:38:07 +00:00
Emma Malysz f1eaa12c10 Bug 1663503, only update custom margins settings if it has been initialized r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D92097
2020-10-02 14:47:18 +00:00
Nicolas Chevobbe 30e2fd6b18 Bug 1668810 - [devtools] Remove unnecessary if-block in build.js. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D92232
2020-10-02 14:32:41 +00:00
Emilio Cobos Álvarez 43e7bad0b6 Bug 1666497 - Fix various issues with anchored popups. r=NeilDeakin
The patch in bug 1666497 (which makes regular <window>-based XUL
documents with other the XHTML-based ones) uncovers an issue in the
anchored popup tests, which starts timing out.

The underlying issue is that it changes the reflow order from popups in
XUL-only documents with respect to their anchors. Note that Firefox
already uses the "broken" code, because we moved to xhtml and
browser.xhtml doesn't use a XUL <window> anymore.

Since we reflow now the popup _after_ the anchor rather than before, we
don't need to rely on CheckForAnchorChange() to deal with changes. This
means that we need to notify on the positioning changes that happen
during reflow though.

We should be able to simplify a bit the CheckForAnchorChange() stuff
now, but it also takes care of hiding popups and such so I don't plan to
do it on this bug to minimize risk.

Differential Revision: https://phabricator.services.mozilla.com/D91012
2020-10-02 14:33:14 +00:00
Razvan Maries 6e146b7ab6 Bug 1668809 - Disabled browser_privilegedmozilla_process_pref.js on fission. a=test-only DONTBUILD CLOSED TREE 2020-10-02 19:37:33 +03:00
Emilio Cobos Álvarez 941e868780 Bug 1668767 - Make "print selection" setting independent of page range. r=jfkthame
It conceptually is, and this will allow to have UI independent of the
page range in bug 140718.

Differential Revision: https://phabricator.services.mozilla.com/D92201
2020-10-02 13:59:48 +00:00
Paul Adenot 9c766cc22e Bug 1668824 - On macOS and Windows, prefer ffmpeg to decode mp3s. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D92235
2020-10-02 14:23:56 +00:00
Dzmitry Malyshau 6bed8e6181 Bug 1655732 - Fix backface-visibility checks with regards to intermediate flattening. r=gw
When we are looking at a transform of an element relative to the surface
it's rendered into, we used to only consider the final transformation
when determining back-face visibility.
However, in case there are any Flat reference frames on the way,
the transformation is flattened. We should be checking for back-face
visibility on each such step.

This doc was helpful, although it doesn't have all the answers:
https://docs.google.com/document/d/1yb4a_uhTG3KmcbGPta4B9p67v1HO_qY8ZMk-otGOwTc/

Differential Revision: https://phabricator.services.mozilla.com/D92135
2020-10-02 14:02:08 +00:00
Olli Pettay 34f1de3fc9 Bug 1668809 - Disable some intermittently failing tests, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D92231
2020-10-02 13:57:05 +00:00
Ted Campbell 1d99957f22 Bug 1668565 - Update help for --setpref in Marionette r=marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D92070
2020-10-02 07:52:52 +00:00
Ted Campbell 37b5890c05 Bug 1668565 - Update help for --setpref in Raptor/talos r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D92069
2020-10-02 13:42:33 +00:00
Bryce Van Dyk 6b7522e2fc Bug 1551615 - Have GeckoMediaPluginServiceChild use async shutdown blocker. r=jbauman
Differential Revision: https://phabricator.services.mozilla.com/D75180
2020-10-02 13:32:41 +00:00
Bryce Seager van Dyk 4abf2b993c Bug 1551615 - Make PGMPService protocol refcounted. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D75178
2020-10-02 13:32:10 +00:00