Commit Graph

692394 Commits

Author SHA1 Message Date
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
Neil Deakin
2fa963fcce Bug 1598305, replace frame script in test browser_webAudio_hideSoundPlayingIcon.js with SpecialPowers.spawn, r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D61903

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

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

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

--HG--
extra : moz-landing-system : lando
2020-02-19 22:28:34 +00:00
Neil Deakin
6523198091 Bug 1598305, replace frame script in test browser_save_video_frame.js with synthesizeMouse, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61899

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

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

--HG--
extra : moz-landing-system : lando
2020-02-19 22:28:33 +00:00
Neil Deakin
8485e07b43 Bug 1598305, replace frame script in test browser_crashedTabs.js with SpecialPowers.spawn, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D61894

--HG--
extra : moz-landing-system : lando
2020-02-20 18:30:58 +00:00
Steve Fink
e38809458a Bug 1614518 - Refactor method scanning when gathering commands r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D62682

--HG--
extra : moz-landing-system : lando
2020-02-20 18:31:06 +00:00
Steve Fink
f8716a1bc0 Bug 1614518 - Quote shell commands properly r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D62386

--HG--
extra : moz-landing-system : lando
2020-02-13 02:25:24 +00:00