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

631326 Коммитов

Автор SHA1 Сообщение Дата
Brian Grinstead cdd4391679 Bug 1519461 - Don't return values from docShellIsActive, renderLayers, and userTypedValue setters;r=mconley
This is more consistent with other setters, and lets us handle the null frameLoader
case a bit more simply.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:36:25 +00:00
Brian Grinstead cdd04b8d1b Bug 1519461 - Unify the hasLayers getter to use the same frameLoader check as renderLayers and docShellIsActive;r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D16369

--HG--
extra : moz-landing-system : lando
2019-01-14 20:36:23 +00:00
Brian Grinstead 7fb9763db0 Bug 1519461 - Check for frameLoader existence before accessing it in docShellIsActive;r=mconley
Alternatively, we could check for mInitialized in `AsyncTabSwitcher.logState` before accessing
the getter. But this matches an existing pattern for other browser getters that rely on the
frameLoader existing, and will support other callers that hit this case.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:36:16 +00:00
Bryce Van Dyk fedef4db1b Bug 1516660 - Add pattern encryption params to GMP IPDL and plumb to the CDM. r=cpearce
Note, we only pass the relevant IV across the IPC boundry. I.e. if the crypto
scheme is cenc we do not pass a constant IV (this is only used by cbcs), and
only pass per sample IVs. For cbcs we do the converse. This means in the CDM
child we're only receiving one IV, which should be appropriate for whatever
scheme (this is similar to how Chromium handle IVs being passed to the CDM).

The CDM child side now writes pattern information to samples it's preparing for
CDM.

With these changes we should be passing all the information required to handle
cbcs to the CDM.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:24:57 +00:00
Andrew Halberstadt 292cda01c7 Bug 1519968 - [mach] Minor improvements to autocomplete docs, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D16495

--HG--
extra : moz-landing-system : lando
2019-01-14 19:43:53 +00:00
Jason Orendorff 7ca57d1231 Bug 1317416 - GetPrototypeFromConstructor needs to retrieve the fallback prototype from the constructor's realm. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D14907

--HG--
extra : moz-landing-system : lando
2019-01-14 20:19:09 +00:00
Jason Orendorff e2b1e6991c Bug 1518648 - Tighten up a couple of assertions. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D15991

--HG--
extra : moz-landing-system : lando
2019-01-14 20:04:28 +00:00
Andreas Pehrson 61206f7677 Bug 1514016 - Check that all events are fired as expected for MediaRecorder-stop.html. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D15912

--HG--
extra : moz-landing-system : lando
2019-01-14 18:32:58 +00:00
Andreas Pehrson b0c7430863 Bug 1514016 - Check that MediaRecorder::Stop is idempotent. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D15911

--HG--
extra : moz-landing-system : lando
2019-01-14 18:32:57 +00:00
Bryce Van Dyk e48df97d26 Bug 1514016 - Rework MediaRecorder-stop tests to use async-await. r=jib
Depends on D14891

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:32:55 +00:00
Bryce Van Dyk 9117cbe248 Bug 1514016 - Add WPT for MediaRecorder pause and resume behaviour. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D14891

--HG--
extra : moz-landing-system : lando
2019-01-14 18:32:54 +00:00
Andreas Pehrson 67a532de95 Bug 1514016 - Make MediaRecorder::Pause and MediaRecorder::Resume idempotent. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D15910

--HG--
extra : moz-landing-system : lando
2019-01-14 18:32:56 +00:00
Andreas Pehrson f562a09e08 Bug 1514016 - Make MediaRecorder::Stop idempotent. r=jib
Depends on D14571

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:32:55 +00:00
Bryce Van Dyk 4c57de267d Bug 1514016 - Use DispatchTrustedEvent helper in MediaRecorder::DispatchSimpleEvent. r=pehrsons
During review of bug 1458538, :bz noted that our event dispatching code could be
simplified by using DOMEventTargetHelper::DispatchTrustedEvent. As this was not
done during that bug, driveby fix here while we're making other changes.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:32:54 +00:00
Bryce Van Dyk cebb739adb Bug 1514016 - Add logging of this to MediaRecorder::pause and resume. r=pehrsons
Driveby change to bring our logging here in line with out other logging.

Depends on D14488

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:32:54 +00:00
Bryce Van Dyk 53de28258e Bug 1514016 - Fire pause and resume events asynchronously. r=pehrsons
Depends on D14487

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:32:53 +00:00
Bryce Van Dyk f542c26fa8 Bug 1514016 - Replace DispatchStartEventRunnable with DispatchEventRunnable. r=pehrsons
Depends on D14486

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:32:53 +00:00
Bryce Van Dyk 497b61bdf5 Bug 1514016 - Add DispatchEventRunnable to media recorder to aid with dispatching different named events. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D14486

--HG--
extra : moz-landing-system : lando
2019-01-14 18:32:52 +00:00
Eitan Isaacson ce8d13e455 Bug 1518247 - Pass name in viewport cache. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D15857

--HG--
extra : moz-landing-system : lando
2019-01-14 20:04:58 +00:00
Eitan Isaacson 510d5dc2c3 Bug 1518315 - Clear accessibility focus correctly. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D15872

--HG--
extra : moz-landing-system : lando
2019-01-14 20:05:05 +00:00
Narcis Beleuzu 0e42fd473e Backed out changeset 58ebeaf27cf6 (bug 1505934) for wrench bustages. CLOSED TREE 2019-01-14 21:57:30 +02:00
Dave Townsend 6fa8b55502 Bug 1518746: Add additional logging to test_accept_header.html. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D16485

--HG--
extra : moz-landing-system : lando
2019-01-14 19:36:26 +00:00
Florin Strugariu 4aeedf5b2e Bug 1517800 Add Pinterest to tp6 r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D16048

--HG--
extra : moz-landing-system : lando
2019-01-14 19:42:12 +00:00
Glenn Watson 9b555d0f4a Bug 1519747 - Split primitive preparation into a separate culling pass. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D16429

--HG--
extra : moz-landing-system : lando
2019-01-14 19:03:52 +00:00
Glenn Watson 6c1d46db67 Bug 1519667 - Fix picture caching tiles being discarded incorrectly. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D16401

--HG--
extra : moz-landing-system : lando
2019-01-14 15:49:22 +00:00
Glenn Watson 0caeff8d25 Bug 1519609 - Optimize how picture caching handles world clips. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D16385

--HG--
extra : moz-landing-system : lando
2019-01-14 15:48:01 +00:00
Dzmitry Malyshau afdaf603bf Bug 1505934 - WR: Don't establish a raster root in pictures with sufficiently large local bounds r=gw
Differential Revision: https://phabricator.services.mozilla.com/D16335

--HG--
extra : moz-landing-system : lando
2019-01-14 19:29:53 +00:00
Lina Cambridge 121a77e8ed Bug 1490163 - Sync the Firefox Home Content prefs. r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D14347

--HG--
extra : moz-landing-system : lando
2019-01-14 19:23:29 +00:00
Jan Henning f74e1879b8 Bug 1494748 - Ensure GeckoView saved state lives at least as long as the app process. r=snorp
The arguably most interesting bit of state of BrowserApp/GeckoApp, namely the
currently open tabs, are living partly in Gecko and partly in the Tabs
manager singleton, the lifetimes of both of which are tied to the lifetime of
the app process.

If the whole process has been killed, things are simple: Neither the Tabs
manager nor Gecko know anything about any tabs and we simply restore them
through the session store if enabled.

If GeckoApp is however being restored into an app process in which it had
already executed earlier on, meaning that we have some open tabs, it relies on
the savedInstanceState in order to correctly reconnect its GeckoView instance
with the correct previous GeckoSession.

We can however end up in a state where we don't have a savedInstanceState (e.g.
because the user swiped away the BrowserApp activity in the task switcher), but
the app process keeps running throughout (if another activity of ours is still
present in the task switcher, e.g. a custom tab, or else if a service is active,
then standard Android keeps the process running even if the user swipes away an
activity).

In that case, if GeckoApp is subsequently recreated, the Android UI sees all the
Android-side tabs in the Tabs manager, and Gecko in fact still has the Window
open that is containing all those tabs, but without the savedInstanceState
GeckoApp doesn't know anything about that Window and proceeds to open a fresh
session instead.

This means that all previous tabs will appear white and unresponsive, while
freshly opened tabs will load, but they won't be correctly saved in the session
store, their context menu isn't working, etc., because we're not really
expecting to handle multiple Gecko-side Windows.

To fix this, we disable automatic state-saving for GeckoApp's GeckoView instance
and instead do it manually, so we can keep another reference to the saved state
in GeckoApplication, and therefore are able to retrieve it from there for as
long as the app process keeps running.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 19:21:49 +00:00
Andrew McCreight a1c718855a Bug 1519912 - Add back LSan whitelisting for css/css-fonts/font-display/. r=jgraham
These leaks are happening frequently, so hide them for now.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 19:10:01 +00:00
Dave Townsend 41c1ffde91 Bug 1518938: Make it possible to hide items from the application menu. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D16107

--HG--
extra : moz-landing-system : lando
2019-01-14 18:57:49 +00:00
Andrew McCreight 4f8e71a1ca Bug 1519224 - Fix stack frame printing in block_analyzer.py. r=erahm
Also, add a new allocator function.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:41:35 +00:00
Kaio Augusto de Camargo 18f2aa68a5 Bug 1513496 - Stop logging failure warnings if the scalar is expired. r=chutten
Currently, when operating with scalars, if a call to internal_GetScalarByEnum (or its keyed variant) return an error, then a warning will be logged. If one of the requested scalars is expired, this could lead to an unwated flood of logs. With this change, the return of the function is checked, and if it is NS_ERROR_NOT_AVAILABLE (i.e. expired scalar), then no warning is issued.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:33:13 +00:00
Ting-Yu Lin 3bd2052ec3 Bug 1486521 - Make Selection::Stringify() stop flushing frames if AccessibleCaretManager doesn't allow so. r=emilio
The added crashtest still crashes on Android verify runs (TV) for
unknown reasons, so skip it.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 04:58:59 +00:00
Jan Henning c6128fa586 Bug 1518229 - Allow clear-text network traffic in Android manifest. r=nalexander
Needs to be explicitly declared in case we start targeting Android P.
It's unclear to what extent this is really required when *not* using Android's
network stack directly, but at least with Firefox, some things definitively use
it, e.g. favicons. As we're a browser, we need to allow access to arbitrary
pages, so just generally white-list it.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:16:19 +00:00
Bryce Van Dyk 53ec57bafc Bug 1516669 - Update fake-cdm to use CDM10 interface. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D15520

--HG--
extra : moz-landing-system : lando
2019-01-14 16:41:55 +00:00
Bryce Van Dyk e41e35bf8d Bug 1516669 - Check init value of clearkey WMF decoder for failure. r=cpearce
We weren't checking this value and it was causing compiler warnings. Instead
this change means we check the value and log an error if init has failed.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 16:40:29 +00:00
Bryce Van Dyk 5aecaa0a28 Bug 1516669 - Update gmp-clearkey to use CDM10 interface. r=cpearce
Not much changed in the interface:
- CDM initialization takes a use hardware codecs arg, we pipe this through, but
  don't do anything more with it in the clearkey CDM.
- The CDM should call the hosts OnInitialized() when it's initialized. This is
  done is now done in the clearkey CDM once the session management is ready, as
  that is the last thing done during init.

Aside from the above, it's just updating interface usage. While the new CDM
interface adds support for different encryption schemes, this is not handled
here and will be done in follow up bug 1516673.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 16:40:04 +00:00
Bryce Van Dyk 5c977fdb7d Bug 1519617 - Update MoofParser to handle tracks using track_id 0. r=jya
Using track_id 0 is forbidden by the mp4 spec, however, some sites still serve
media using this track_id. We've been using the 0 track ID to trigger special
handling in the MoofParser where we will parse multiple tracks, and this led us
to be tolerant of tracks using this reserved id (though we likely had some bugs
due to this).

Since sites are using this track_id, and as other browsers (and Firefox until I
broke this) tolerate such media, we should too. In order to do so correctly, we
should no longer us track_id=0 as a special case in the MoofParser, and instead
have an explicit flag, which is what this patch does.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 16:33:03 +00:00
Dão Gottwald 0e43f06aef Bug 1515285 - Implement selecting switch-to-tab results by keyboard. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16023

--HG--
extra : moz-landing-system : lando
2019-01-14 16:58:21 +00:00
Dave Townsend 961eb5b518 Bug 1518591: Make the profile service responsible for protecting against downgrading to builds before dev-edition had a separate profile. r=froydnj
Because older versions of Firefox auto-select a profile if there is only one in
the database when running dev-edition which uses its own profile we create a
default for normal channels to use. Currently the browser code is responsible
for doing this but it uses a bad heuristic for deciding when to do that. It's
much easier to do it from the profile manager when the dev-edition profile is
created.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 21:15:53 +00:00
Dave Townsend 55dc7cb4db Bug 1518587: Move startup profile selection to nsToolkitProfileService. r=froydnj
Currently nsAppRunner is responsible for choosing or creating a profile to use
at startup. It then has to create a reset profile if necessary and lock the
selected profile directories. But these latter things are done in different
places of the selection code and done in different ways, sometimes we delay
while trying to get the lock, sometimes we don't.

This patch moves the profile selection part of the code to its own function so
that then we only have to have one place that does the profile reset and
locking logic.

It makes a lot of sense to have the selection code live in the profile service.
It can use information from the database load to help make the choices and it
also means that we can expose the profile selection code through xpcom allowing
it to be easily automatically tested. It will also be more important for future
patches for the dedicated profiles feature.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 17:27:34 +00:00
Csoregi Natalia 4a86022f41 Merge mozilla-central to autoland. CLOSED TREE 2019-01-14 19:19:46 +02:00
Csoregi Natalia dbb80cb51f Merge inbound to mozilla-central. a=merge 2019-01-14 19:17:06 +02:00
Noemi Erli 2e2a998fde Backed out changeset ee53bdc5b1d4 (bug 1419195) for failing in browser_ext_contextMenus.js 2019-01-14 18:59:02 +02:00
Noemi Erli 220d6a0fd2 Backed out changeset 732184f122e3 (bug 1419195) for failing in browser_ext_contextMenus.js 2019-01-14 18:58:48 +02:00
Noemi Erli e2736e7ab2 Backed out changeset 5f9ccc7b6039 (bug 1515810) for failing in browser_ext_contextMenus.js 2019-01-14 18:58:15 +02:00
John Lin 4784690b43 Bug 1516089 - Remove inset and outset class from global.css r=dao
Differential Revision: https://phabricator.services.mozilla.com/D16439

--HG--
extra : moz-landing-system : lando
2019-01-14 16:19:00 +00:00
Geoff Brown 49b8434f58 Bug 1512352 - Improve task retry handling in test-verify; r=bc 2019-01-14 07:58:41 -07:00
Ehsan Akhgari d855987de1 Bug 1518491 - Reduce the amount of UTF encodings we do when reporting content blocking events; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D16217
2019-01-14 09:36:12 -05:00