Commit Graph

677247 Commits

Author SHA1 Message Date
Markus Stange
e2f8c029aa Bug 1591523 - Add NativeLayerRoot::SetLayers. r=jrmuizel
This allows us to somewhat cheaply swap out the entire set of layers.
It also means that clearing the array of layers no longer has quadratic complexity;
in the past, you would do this by calling RemoveLayer once per layer, and RemoveLayer
does a linear scan through the array.

Differential Revision: https://phabricator.services.mozilla.com/D50725

--HG--
extra : moz-landing-system : lando
2019-10-29 20:31:44 +00:00
Markus Stange
f2c9430255 Bug 1591523 - Move existing NativeLayer management into RenderCompositorOGL. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D50724

--HG--
extra : moz-landing-system : lando
2019-10-29 20:50:33 +00:00
alwu
67f934d684 Bug 1591620 - part2 : allow more customers to moniter media keys event by adding a listener to the event source. r=chunmin
Create methods to add or remove listener directly to the media control keys event source.

So if anyone has a need to monitor media control keys event, they can simply implement their own listener and use `MediaControlService::GetMediaControlKeysManager()` to add or remove a listener.

Differential Revision: https://phabricator.services.mozilla.com/D50687

--HG--
extra : moz-landing-system : lando
2019-10-30 00:50:44 +00:00
alwu
e4099c0683 Bug 1591620 - part1 : make 'MediaControlKeysEventListener' as a pure interface. r=chunmin
If the web extention also needs to implement its listener, they would definitely not need the current implementation in `KeyPressed()` for controlling media controller. Therefore, we should make `MediaControlKeysEventListener` as a pure interface and let inherited class to define their own `KeyPressed()`.

Differential Revision: https://phabricator.services.mozilla.com/D50686

--HG--
extra : moz-landing-system : lando
2019-10-29 23:46:36 +00:00
Jan Varga
f745bd76f9 Bug 1578177 - Crash in [@ mozilla::dom::quota::QuotaManager::EnsureTemporaryStorageIsInitialized]; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D50969

--HG--
extra : moz-landing-system : lando
2019-10-29 20:42:24 +00:00
thomasmo
351a434e71 Bug 1592019 - Miscellaneous 2D UI tweaks for FxR Desktop r=Gijs,PhilipLamb
This change makes several small changes:
- Update default window size to 16:9 ratio for common fullscreen video size
- Update license URL
- Fix spacing of settings icon in nav bar
- make the window have Private Browsing behavior by default

Differential Revision: https://phabricator.services.mozilla.com/D50843

--HG--
extra : moz-landing-system : lando
2019-10-29 21:15:15 +00:00
Chris Manchester
43f9563dd7 Bug 1592443 - Update sccache to the current master branch. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D51017

--HG--
extra : moz-landing-system : lando
2019-10-30 00:17:11 +00:00
Emma Malysz
1fe0cf5758 Bug 1434087, remove [moz-collapsed=true] attribute from minimal-xul.css and static atom r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D51015

--HG--
extra : moz-landing-system : lando
2019-10-29 23:05:31 +00:00
Dragana Damjanovic
a4cc5f503c Bug 1581599 - Http2 response without content-length can be considered stronly framed. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D48463

--HG--
extra : moz-landing-system : lando
2019-10-29 23:28:40 +00:00
Gijs Kruitbosch
cbe6115aca Bug 1585732 - cache fission.rebuild_frameloaders_on_remoteness_change pref instead of refetching it, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D50956

--HG--
extra : moz-landing-system : lando
2019-10-29 23:33:54 +00:00
Gijs Kruitbosch
8af91551b6 Bug 1585732 - use staticprefs for media.cubeb.sandbox, r=haik
Differential Revision: https://phabricator.services.mozilla.com/D50955

--HG--
extra : moz-landing-system : lando
2019-10-29 23:33:45 +00:00
Gijs Kruitbosch
1bb658765f Bug 1585732 - use staticprefs for security.sandbox.content.level, r=haik
Differential Revision: https://phabricator.services.mozilla.com/D50954

--HG--
extra : moz-landing-system : lando
2019-10-29 23:32:39 +00:00
Alexander J. Vincent
0e30d06762 Bug 1591761 - parseXULToFragment should throw a clearer exception for non-well-formed markup. r=bgrins
***
Bug 1591671, revert a breaking change in calling DOMParser.

Differential Revision: https://phabricator.services.mozilla.com/D50729

--HG--
extra : moz-landing-system : lando
2019-10-29 23:04:14 +00:00
alwu
c092a45ba0 Bug 1591608 - part3 : follow the new naming rule for define guards. r=chunmin
Per [1], we should follow our coding style.

[1] https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#CC_practices

Differential Revision: https://phabricator.services.mozilla.com/D50683

--HG--
extra : moz-landing-system : lando
2019-10-29 23:08:05 +00:00
alwu
b251629f2f Bug 1591608 - part2 : rename files from 'MediaHardwareKeysXXX' to 'MediaControlKeysXXX'. r=chunmin
File's name should reflect what the class is inside the file.

Differential Revision: https://phabricator.services.mozilla.com/D50682

--HG--
rename : dom/media/mediacontrol/MediaHardwareKeysEvent.cpp => dom/media/mediacontrol/MediaControlKeysEvent.cpp
rename : dom/media/mediacontrol/MediaHardwareKeysEvent.h => dom/media/mediacontrol/MediaControlKeysEvent.h
rename : dom/media/mediacontrol/MediaHardwareKeysManager.cpp => dom/media/mediacontrol/MediaControlKeysManager.cpp
rename : dom/media/mediacontrol/MediaHardwareKeysManager.h => dom/media/mediacontrol/MediaControlKeysManager.h
extra : moz-landing-system : lando
2019-10-29 23:05:59 +00:00
alwu
f2f6bb1b22 Bug 1591608 - part1 : rename MediaHardwareKeysXXX to MediaControlKeysXXX. r=chunmin
The media control key events can come from either physical devices, such as a keyboard or a headset, or from virtual interface, such as SMTC-based visual controller on Windows or MPRIS-based visual controller on Linux.

Therefore, we would be better to rename all those MediaHardwareKeysXXX to MediaControlKeysXXX in order to represent a generic concept.

Differential Revision: https://phabricator.services.mozilla.com/D50681

--HG--
extra : moz-landing-system : lando
2019-10-29 23:05:24 +00:00
Jonathan Watt
e4ec992ba0 Bug 1591118. Make 'mach doc' provide a clearer error message when jsdoc is missing. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D50485

--HG--
extra : moz-landing-system : lando
2019-10-24 21:38:28 +00:00
Marco Bonardo
d973ff4e31 Bug 1525296 - Remove any remaining references to old search suggestions notifications. r=adw,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D50932

--HG--
extra : moz-landing-system : lando
2019-10-29 17:57:10 +00:00
Marco Bonardo
b28ed3c0db Bug 1551242 - Remove telemetry from UnifiedComplete. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D50929

--HG--
extra : moz-landing-system : lando
2019-10-29 17:54:37 +00:00
Gurzau Raul
75def3b448 Backed out changeset 0961f4328316 (bug 1588056) for build bustage at nsNetworkLinkService.mm on a CLOSED TREE. 2019-10-30 00:57:27 +02:00
Gurzau Raul
29cef09b45 Backed out 2 changesets (bug 1591013) for eslint failure at inspector/node.js on a CLOSED TREE.
Backed out changeset 5d53ab2f3152 (bug 1591013)
Backed out changeset d888aded0e70 (bug 1591013)
2019-10-30 00:56:04 +02:00
Dragana Damjanovic
3071f2992e Bug 1588056 - Add telemetry about the time between network change events if we do the events coalescing. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D48954

--HG--
extra : moz-landing-system : lando
2019-10-29 22:25:40 +00:00
Julian Descottes
a2bad4c3c2 Bug 1591013 - Support lazyImporter in reject-some-requires r=Standard8,nchevobbe
Depends on D50466

reject-some-requires only supports require/lazyRequireGetter at the moment
We still have a few call sites for lazyImporter, even though they probably should be
migrated to lazyRequireGetter IMO.

Differential Revision: https://phabricator.services.mozilla.com/D50465

--HG--
extra : moz-landing-system : lando
2019-10-29 22:10:00 +00:00
Julian Descottes
15ee8feee3 Bug 1591013 - Add an eslint rule to prevent loading client modules from devtools/server r=nchevobbe
This will help catch some issues related to server files importing client files.
Note that we still don't validate:
- devtools/shared: at the moment devtools/shared still contains client only files which
  naturally import other client files, so linting here is not an option before we clean
  this up
- require calls using variables eg require(MY_MODULE_URI). Maybe we should prevent this via
  another linting rule

Differential Revision: https://phabricator.services.mozilla.com/D50466

--HG--
extra : moz-landing-system : lando
2019-10-25 07:01:53 +00:00
Jonathan Kew
4c6b51d9d2 Bug 1591863 - Ensure we don't sometimes bypass the possibility of intra-family style fallback in system fonts. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D50930

--HG--
extra : moz-landing-system : lando
2019-10-29 18:38:10 +00:00
Itiel
dc8477eb57 Bug 1592367 - Fix Edit Address's label-text location for RTL r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D50974

--HG--
extra : moz-landing-system : lando
2019-10-29 20:16:49 +00:00
Itiel
743ed4a8ba Bug 1592413 - [RTL] Fix the text alignment of "The Book of Mozilla" text in about:mozilla r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D51002

--HG--
extra : moz-landing-system : lando
2019-10-29 21:35:36 +00:00
Andrew McCreight
07dc2afa5b Bug 1586393, part 2 - Fix BrowserTestUtils.addContentEventListener() with Fission. r=mconley
The current implementation of addContentEventListener() is centered
around the message manager. When any message manager goes away, it
cleans up everything, which does not work when Fission is enabled and
we do a cross-process navigation.

My new implementation instead uses window actors. Message manager
shared state is used to store the set of expected event listeners. New
windows, after the function is called for the first time in a test,
will get listeners added properly. Of windows that exist at the first
time the function is called in a test, only windows associated with
the BC of the browser that is passed in will get added, which is a
disadvantage relative to the current setup. That could probably be
fixed.

We auto remove at the end of the test, not when any message manager is
torn down, so there's never a need to disable auto removal.

Differential Revision: https://phabricator.services.mozilla.com/D48777

--HG--
extra : moz-landing-system : lando
2019-10-29 21:29:02 +00:00
Andrew McCreight
9cdc76e45f Bug 1586393, part 1 - Add test-complete observer notification. r=mconley
This allows generic code, like a testing JSM, to do clean up when a
test completes, in a way that will work in different test suites.

Differential Revision: https://phabricator.services.mozilla.com/D50648

--HG--
extra : moz-landing-system : lando
2019-10-29 21:25:02 +00:00
Jonathan Kingston
b114ae02a3 Bug 1590917 - Extend telemetry of HTTP_CHANNEL_DISPOSITION_UPGRADE expiry to never r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D50386

--HG--
extra : moz-landing-system : lando
2019-10-25 16:33:54 +00:00
Itiel
7ea0c579de Bug 1592372 - Fix container icons margin in about:preferences#containers for RTL r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D50978

--HG--
extra : moz-landing-system : lando
2019-10-29 21:17:33 +00:00
Chris Manchester
0de3e0765d Bug 1592402 - Remove erroneous duplicate toolchain alias. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D51003

--HG--
extra : moz-landing-system : lando
2019-10-29 21:10:09 +00:00
Mike Conley
3c16817a75 Bug 1590428 - Enable Picture-in-Picture by default on Windows. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D50950

--HG--
extra : moz-landing-system : lando
2019-10-29 16:48:10 +00:00
Sean Feng
74eaf3ce20 Bug 1592083 - Convert certList to raw array for nsITransportSecurityInfo r=keeler,Ehsan,kershaw
This patch converts the certList attribute of nsITransportSecurityInfo
from nsIX509CertList to Array<nsIx509Cert>

Differential Revision: https://phabricator.services.mozilla.com/D48745

--HG--
extra : moz-landing-system : lando
2019-10-29 17:20:07 +00:00
Ehsan Akhgari
0cff83e9b9 Backout changeset 31d3e3068c32 (bug 1592253) because we still depend on these probes
Differential Revision: https://phabricator.services.mozilla.com/D50997

--HG--
extra : moz-landing-system : lando
2019-10-29 20:39:20 +00:00
Nour
7afb8b57b4 Tests for wbr element Bug 584141 r=Ehsan
added tests for Bug 584141 selection across wbr elements

Differential Revision: https://phabricator.services.mozilla.com/D49193

--HG--
extra : moz-landing-system : lando
2019-10-29 20:35:23 +00:00
Ehsan Akhgari
95201d9fb4 Bug 1592253 - Remove the unused Fennec telemetry probes; r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D50928

--HG--
extra : moz-landing-system : lando
2019-10-29 20:31:03 +00:00
Matthew Gaudet
f11b39371f Bug 1584649 - Remove un-needed template parameter in EmitterScope r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D50096

--HG--
extra : moz-landing-system : lando
2019-10-22 17:56:24 +00:00
Travis Long
aea11f0f42 Bug 1592315 - Update about:telemetry Probe Dictionary link to point to its new home at probes.tmo r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D50988

--HG--
extra : moz-landing-system : lando
2019-10-29 19:50:23 +00:00
Drew Willcoxon
0f3ee530d3 Bug 1592179 - Quantumbar: Remove redundant bottom border on tips when they're last in the view. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D50992

--HG--
extra : moz-landing-system : lando
2019-10-29 20:15:19 +00:00
Geoff Brown
8852ffec71 Bug 1592385 - Update test-verify android defaults; r=bc
Android TV has appropriate configuration, so updating these defaults makes
no practical difference, but I think it looks a little more modern.

Differential Revision: https://phabricator.services.mozilla.com/D50986

--HG--
extra : moz-landing-system : lando
2019-10-29 20:08:38 +00:00
Ting-Yu Lin
fe7aba788d Bug 1590185 Part 3 - Add --paged command line argument to layout debugger. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49994

--HG--
extra : moz-landing-system : lando
2019-10-29 19:51:44 +00:00
Ting-Yu Lin
0023c0c92d Bug 1590185 Part 2 - Support paged mode layout in layout debugger. r=dbaron
This patch adds a menu item in "Toggle" -> "Paged Mode". If the item is
toggled, after finishing loading the document, the document will be
forced into paged mode.

The print settings in `nsLayoutDebuggingTools::SetPagedMode()` are
similar to `setupPrintMode()` in reftest-content.js.

Remove the hack in nsDocumentViewer::InitInternal() because we don't
want to set a new document when mIsPageMode = false.

Differential Revision: https://phabricator.services.mozilla.com/D49993

--HG--
extra : moz-landing-system : lando
2019-10-29 19:51:42 +00:00
Ting-Yu Lin
3f0609ea5d Bug 1590185 Part 1 - Remove obsolete member variables in nsLayoutDebuggingTools. r=heycam
Bug 1566215 Part 3 moved these features to layoutdebug.js.
https://hg.mozilla.org/mozilla-central/rev/f84c119572a1f4d8b20ac05c0bd8cefe4fe70fef

Differential Revision: https://phabricator.services.mozilla.com/D49992

--HG--
extra : moz-landing-system : lando
2019-10-29 19:51:33 +00:00
Alex Henrie
4e325c4480 Bug 969980 - Use case folding for case-insensitive searches. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D50940

--HG--
extra : moz-landing-system : lando
2019-10-29 19:56:56 +00:00
Micah Tigley
04dddd2796 Bug 1585080 - Make RDM browser <stack> use CSS Grid r=mconley,gl
Differential Revision: https://phabricator.services.mozilla.com/D50559

--HG--
extra : moz-landing-system : lando
2019-10-29 19:49:03 +00:00
Bogdan Tara
f866fef3ad Backed out 3 changesets (bug 1591523) for bustages complaining about RenderCompositorOGL.cpp CLOSED TREE
Backed out changeset 407f051e14db (bug 1591523)
Backed out changeset b4c8080dae86 (bug 1591523)
Backed out changeset abb627bc4f75 (bug 1591523)
2019-10-29 22:00:05 +02:00
Markus Stange
9585925ff5 Bug 1591523 - First pass of OS compositor implementation on macOS. r=sotaro
This implementation is off by default (behind gfx.webrender.compositor) until
various bugs and inefficiencies are fixed. See bug 1592016.

Differential Revision: https://phabricator.services.mozilla.com/D50726

--HG--
extra : moz-landing-system : lando
2019-10-29 19:25:39 +00:00
Markus Stange
eb84b69274 Bug 1591523 - Add NativeLayerRoot::SetLayers. r=jrmuizel
This allows us to somewhat cheaply swap out the entire set of layers.
It also means that clearing the array of layers no longer has quadratic complexity;
in the past, you would do this by calling RemoveLayer once per layer, and RemoveLayer
does a linear scan through the array.

Differential Revision: https://phabricator.services.mozilla.com/D50725

--HG--
extra : moz-landing-system : lando
2019-10-29 19:25:36 +00:00
Markus Stange
4631463725 Bug 1591523 - Move existing NativeLayer management into RenderCompositorOGL. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D50724

--HG--
extra : moz-landing-system : lando
2019-10-29 19:25:29 +00:00