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

692454 Коммитов

Автор SHA1 Сообщение Дата
Tim Nguyen 378e9808bf Bug 1615862 - Handle conic-gradients in nsCSSGradientRenderer for WebRender. r=emilio,mstange
Differential Revision: https://phabricator.services.mozilla.com/D63018

--HG--
extra : moz-landing-system : lando
2020-02-20 22:07:32 +00:00
Zibi Braniecki 374e0856d0 Bug 1607052 - Unify language identifier canonicalization in LocaleService and OSPreferences to use unic_langid, and extend GTK's RegionalPrefs reading to fallback on SystemLocales. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D63393

--HG--
extra : moz-landing-system : lando
2020-02-20 22:19:42 +00:00
Eitan Isaacson 1e2369f4ca Bug 1615562 - Don't move accessible focus if caret is collapsed or not on focusable. r=Jamie
If a keyboard-focused accessible is removed, the caret jumps to its
nearest ancestor. To avoid arbitrary accessibility focus moves, ignore
caret events that have no selection and are not focusable items.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 21:49:20 +00:00
Scott d2b6fe9743 Bug 1613093 - Fixing Navigation componenet and locale prop. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D63511

--HG--
extra : moz-landing-system : lando
2020-02-20 21:38:53 +00:00
Kartikaya Gupta 7f634ba2c0 Bug 1616977 - Fix the tag lookup to look at all the interesting tags. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D63544

--HG--
extra : moz-landing-system : lando
2020-02-20 20:55:00 +00:00
Boris Chiou 468e3c044e Bug 1616443 - Hide composite memeber from the result of getKeyframes(). r=birtles,bzbarsky
If dom.animations-api.compositing.enabled is false, we have to hide
composite member from getKeyframes.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 19:09:34 +00:00
John Lin 827ee06469 Bug 1613871 - cancel background task when releasing DRM object. r=snorp
The provision request is executed in background through AsyncTask and will
post the result once finished. However, when the DRM object is released
before onPostExecute() is called, there will be NPE. Use AsyncTask.cancel()
to avoid that.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 19:30:15 +00:00
alwu a985a8926b Bug 1611328 - part3 : generate a default metadata. r=bzbarsky
Metadata is used to be showed on the virtual controller interface during media is playing, which website can set from MediaSession API.

However, if website doesn't use media session, or the media session website uses doesn't have metadata, then we would like to generate a default one to tell user what website is playing media. If we're in private browsing mode, then we should not expose any website information in the default metadata.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 19:41:51 +00:00
alwu 1a104771e5 Bug 1611328 - part2 : let media session controller store top level session Id r=chunmin
As we would like to use `mTopLevelBCId` in `MediaSessionController` as well in order to get the corresponding browsing context, so move `mTopLevelBCId` to the `MediaSessionController`.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 19:04:36 +00:00
alwu b47157c216 Bug 1611328 - part1 : update document title via WindowGlobal r=nika
In order to generate media default metadata, we need to know document's title in the media session controller.

Therefore, store this property in `WindowGlobal` to allow we access document's title in chrome process.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 19:04:23 +00:00
Eitan Isaacson 777e8fba2d Bug 1616797 - Check that accessible's frame still exists in scroll dispatcher r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D63546

--HG--
extra : moz-landing-system : lando
2020-02-20 21:12:43 +00:00
Scott 2bf255b05a Bug 1616956 - Ensure collections with no title is hidden r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D63540

--HG--
extra : moz-landing-system : lando
2020-02-20 20:55:23 +00:00
Jeff Gilbert 95d86374ba Bug 1616715 - SurfaceFromElement gets alpha Premult unless opt-in to NonPremult. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D63421

--HG--
extra : moz-landing-system : lando
2020-02-20 20:52:10 +00:00
Aaron Klotz e377847a3f Bug 1616562: Do not call GeckoProcessManager::MarkAsDead unless the ContentParent lifecycle state is ALIVE; r=geckoview-reviewers,snorp
`OtherPid()` release asserts when the process has not connected.

Since `MarkAsDead` is called under both success and failure conditions, we must
ensure that we are running under a success condition (ie, we successfully
started but are now shutting down) before we call into `GeckoProcessManager`.

Note that, in the failure case, `GeckoProcessManager` is already aware that the
process is not alive by virtue of the fact that it was responsible for creating
the process in the first place; it already saw the failure.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 21:12:05 +00:00
Perry Jiang 235ee6bbd9 Bug 1604847 - let ClientSourceOpChild finish initialization r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D63239

--HG--
extra : moz-landing-system : lando
2020-02-19 17:56:08 +00:00
Eden Chuang 88ad97f84e Bug 1557732 - Don't create worker for discarded document. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D62608

--HG--
extra : moz-landing-system : lando
2020-02-20 14:05:14 +00:00
Dave Townsend 6d32b7af50 Bug 1531475: Drop the greomni and appomni command line arguments. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D58851

--HG--
extra : moz-landing-system : lando
2020-01-07 14:29:50 +00:00
Sylvestre Ledru 7156338c89 Bug 1616969 - docs: Bring back the larger display of the docs r=championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D63542

--HG--
rename : tools/moztreedocs/_static/custom_theme.css => docs/_static/custom_theme.css
extra : moz-landing-system : lando
2020-02-20 20:46:56 +00:00
Matthew Gaudet 55c0a549bd Bug 1616709 - Pass SourceRefs by const-reference where possible r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D63530

--HG--
extra : moz-landing-system : lando
2020-02-20 20:08:40 +00:00
Agi Sferro 45e67578d0 Bug 1614894 - Remove autoplayDefault. r=snorp,esawin,droeh
The pref does not make a lot more sense now that we check autoplay on every
session.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 19:07:58 +00:00
Agi Sferro f8c4745805 Bug 1616339 - Improve window.open support in GVE. r=snorp
This patch: makes the URL bar consistent with the location displayed and
actually switches to a the new tab when content code calls window.open or
tabs.create.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 19:33:17 +00:00
Agi Sferro 9f665f844c Bug 1608731 - Remove messageManager fallback for Browser:LoadURI. r=mconley
Actor was added as part of Bug 1554302.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 19:07:53 +00:00
Agi Sferro 64dab61eb5 Bug 1554302 - Restore history when switching process during navigation. r=snorp
History is kept locally on the content process (or main process for main
process pages), so when going from one process to the other we need to restore
history. This will eventually be superseded by moving all history to the main
process, but we don't know when that's going to happen so we need to add this
workaround here. Desktop has the same workaround in place and this patch is
based on that code.

There are two places where we need to restore history:

- App navigates to page directly using `loadURI` or similar: in this case we
  need to pass down the load details to the content process alongside the
  history information so that we can restore and immediatelly navigate to the
  new page. This also avoids an extra history reloading that ordinarely happens
  when restoring history.

- App calls `goBack`, `goForward`, etc: in this case we don't need to reload a
  page but just restore the history and adjust the `historyIndex`. I'm not
  entirely sure why we need to add `1` to the `historyIndex` but that's what
  Desktop does and it seems to work correctly so I just did it.

This patch changes `updateRemoteTypeForURI` to `updateRemoteAndNavigate` which
more closely matches what that method is doing now, this is similar to what
happens on desktop.

This patch also adds a `window.moduleManager` that can be used in Actors to
access the current `moduleManager`. I expect this to go away when we fully
migrate all modules to actors.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 19:07:46 +00:00
Agi Sferro 04971529b6 Bug 1615329 - Enable tests in toolkit/components/extensions for GeckoView. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D62820

--HG--
extra : moz-landing-system : lando
2020-02-20 19:07:44 +00:00
Agi Sferro 8feb1c66a2 Bug 1613237 - Add test for a no-opener window from extension page. r=mixedpuppy,esawin
Differential Revision: https://phabricator.services.mozilla.com/D62819

--HG--
extra : moz-landing-system : lando
2020-02-20 19:30:13 +00:00
Agi Sferro 519b20f8e1 Bug 1613237 - Open window in main process when opener is present. r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D62818

--HG--
extra : moz-landing-system : lando
2020-02-20 19:07:39 +00:00
Agi Sferro 907a5549e7 Bug 1613237 - Call nsIWebBrowserChrome3 for main process pages. r=kmag,esawin
nsContentTreeOwner uses XULBrowserWindow (which is Desktop-only) to get the
current WebBrowserChrome instance.

This patch adds a lookup for the WebBrowserChrome actor to make sure that the
correct instance is queried on all platforms.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 19:29:08 +00:00
Agi Sferro b1c5704faa Bug 1614295 - Provide a way for apps to know when an extension is installed. r=snorp,ochameau,esawin
This patch adds a `onExtensionListUpdated` method to `DebuggerDelegate` which
is called whenever devtools install a new extension.

This method provides an opportunity for apps to refresh the list of installed
extensions and sets appropriate delegates so that the new extension is
correctly recognized.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 19:25:31 +00:00
Csoregi Natalia 6360b24e80 Backed out 2 changesets (bug 1616630) for Android bustage. CLOSED TREE
Backed out changeset 15016546c954 (bug 1616630)
Backed out changeset dcb7dc51633b (bug 1616630)
2020-02-20 21:24:11 +02:00
Steve Fink e2dda15912 Bug 1614518 - Followup fix to undo unneeded part of change that breaks tests
Differential Revision: https://phabricator.services.mozilla.com/D63533

--HG--
extra : moz-landing-system : lando
2020-02-20 19:10:07 +00:00
Marc Streckfuss 8f47daac4b Bug 1584501: Draft Implementation of the Windows SystemMediaTransportControl WinRT Interface r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D47546

--HG--
extra : moz-landing-system : lando
2020-02-20 12:04:12 +00:00
Marc Streckfuss 0954bfbeae Bug 1616800 - MediaControl: MediaControlKeysManager now checks the result of EventSource#Open(). r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D63459

--HG--
extra : moz-landing-system : lando
2020-02-20 18:17:15 +00:00
Harald Kirschner 04cb9a86bf Bug 1615030 - Update DevTools What's New content for 74/73 r=jlast,victoria
Differential Revision: https://phabricator.services.mozilla.com/D63420

--HG--
extra : moz-landing-system : lando
2020-02-20 19:00:17 +00:00
Andrew Halberstadt 4d752c4ca7 Bug 1616368 - [reftest] Replace 'default-preferences' with 'defaults' r=dbaron
With the new 'defaults' key being added, 'default-preferences' is now
redundant. This commit converts all existing uses of 'default-preferences' to
use 'defaults' instead.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 18:47:54 +00:00
Andrew Halberstadt e08b5215e1 Bug 1616368 - [reftest] Implement ability to set manifest-level defaults r=dbaron
This introduces a new 'defaults' key to reftest manifests. It works similarly
to the existing 'default-preferences' key except it can be used for any test
modifier (e.g, skip-if, fail-if, pref, etc.).

See the changes to README.txt in this commit for an explanation on how to use
it.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 16:04:18 +00:00
Zibi Braniecki 1e5ae10955 Bug 1614767 - Use AppLocale to set document direction for chrome, about and resource protcols. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D62528

--HG--
extra : moz-landing-system : lando
2020-02-20 18:43:53 +00:00
Neil Deakin b216311716 Bug 1598305, replace frame script in test browser_domFullscreen_fullscreenMode.js with SpecialPowers.spawn, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D61918

--HG--
extra : moz-landing-system : lando
2020-02-20 15:12:20 +00:00
Neil Deakin 63bc29892b Bug 1598305, replace frame script in test browser_testOpenNewRemoteTabsFromNonRemoteBrowsers.js with SpecialPowers.spawn, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61917

--HG--
extra : moz-landing-system : lando
2020-02-19 22:28:38 +00:00
Neil Deakin b127221c47 Bug 1598305, replace frame script in test browser_fullscreen-contextmenu-esc.js with SpecialPowers.spawn, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D61916

--HG--
extra : moz-landing-system : lando
2020-02-20 15:22:31 +00:00
Neil Deakin 50705f47df Bug 1598305, replace frame script in test xpinstall head.js with BrowserTestUtils.waitForContentEvent, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61915

--HG--
extra : moz-landing-system : lando
2020-02-19 22:28:37 +00:00
Neil Deakin 9ce17d142b Bug 1598305, replace frame script in test browser_e10s_switchbrowser.js with SpecialPowers.spawn, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61914

--HG--
extra : moz-landing-system : lando
2020-02-19 22:28:37 +00:00
Neil Deakin 3ecfb3109d Bug 1598305, replace frame script in test browser_aboutSessionRestore.js with SpecialPowers.spawn, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61913

--HG--
extra : moz-landing-system : lando
2020-02-19 22:28:37 +00:00
Neil Deakin 3a51183ffc Bug 1598305, replace frame script in test browser_findbar.js with SpecialPowers.spawn, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D61912

--HG--
extra : moz-landing-system : lando
2020-02-19 22:28:36 +00:00
Neil Deakin 07a98b6fa0 Bug 1598305, remove what appears to be a non-existent frame script from the test browser_no_tabs.js, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D61911

--HG--
extra : moz-landing-system : lando
2020-02-19 22:28:36 +00:00
Neil Deakin aaa1a4e707 Bug 1598305, replace frame script in test browser_TelemetryGC.js with SpecialPowers.spawn, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61910

--HG--
extra : moz-landing-system : lando
2020-02-19 22:28:36 +00:00
Neil Deakin dc252e7baa Bug 1598305, replace frame script in test browser_bug1204626.js with SpecialPowers.spawn, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61908

--HG--
extra : moz-landing-system : lando
2020-02-19 22:28:36 +00:00
Neil Deakin 965e5ed66b Bug 1598305, replace frame script in test browser_child_resource.js with SpecialPowers.spawn, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61907

--HG--
extra : moz-landing-system : lando
2020-02-19 22:28:35 +00:00
Neil Deakin 172b3c2acb Bug 1598305, replace frame script in test browser_post_file.js with browserLoaded, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D61906

--HG--
extra : moz-landing-system : lando
2020-02-20 18:36:13 +00:00
Neil Deakin a24f9fbb37 Bug 1598305, replace frame script in browser_autoplay_policy* tests with SpecialPowers.spawn, r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D61905

--HG--
extra : moz-landing-system : lando
2020-02-19 22:28:35 +00:00
Neil Deakin 24705cb816 Bug 1598305, replace frame script in test browser_webAudio_silentData.js with SpecialPowers.spawn, r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D61904

--HG--
extra : moz-landing-system : lando
2020-02-19 22:28:35 +00:00