Commit Graph

692383 Commits

Author SHA1 Message Date
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
Steve Fink
f30d0d3f35 Bug 1614518 - Allow using declaration order for listing subcommands in help output, and allow commands to be hidden. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D62385

--HG--
extra : moz-landing-system : lando
2020-02-20 18:28:26 +00:00
Steve Fink
6c335b53f8 Bug 1614518 - Implement mach hazards command set for running the GC rooting hazard analysis. r=ahal,jonco,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62384

--HG--
extra : moz-landing-system : lando
2020-02-20 18:27:50 +00:00
Steve Fink
fb0884a86b Bug 1614518 - Make warnings.py py3-compatible r=ahal,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62382

--HG--
extra : moz-landing-system : lando
2020-02-20 18:33:10 +00:00
Steve Fink
68147f294f Bug 1614518 - Allow using internal name for selecting application to bootstrap. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D62379

--HG--
extra : moz-landing-system : lando
2020-02-20 18:33:10 +00:00
Steve Fink
46dbe458f2 Bug 1614518 - Remove code only present for python 2.6 compatibility. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D62378

--HG--
extra : moz-landing-system : lando
2020-02-11 17:16:45 +00:00
emcminn
adf004ccbc Bug 1613218 - Updated mochitest & variable names, removed unused strings r=pdahiya,fluent-reviewers,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D61702

--HG--
extra : moz-landing-system : lando
2020-02-20 18:07:12 +00:00
Matthew Gaudet
8f0a2c316b Bug 1616909 - Return a copy of SourceExtent, not a reference r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D63518

--HG--
extra : moz-landing-system : lando
2020-02-20 18:03:52 +00:00
Mike Shal
39492660f4 Bug 1616630 - Use py3_action for GENERATED_FILES that already support it; r=firefox-build-system-reviewers,kvark,rstewart
Depends on D63437

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

--HG--
extra : moz-landing-system : lando
2020-02-20 16:21:55 +00:00
Mike Shal
a9c693112c Bug 1616630 - Add PYTHON3 to fastermake variables; r=firefox-build-system-reviewers,rstewart
Without PYTHON3 defined, we can't actually run any GENERATED_FILES
scripts in the fastermake backend.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 16:22:38 +00:00
Noemi Erli
27e963773a Backed out changeset c3e43b7b1376 (bug 1607052) for causing leaks CLOSED TREE 2020-02-20 20:17:46 +02:00
Noemi Erli
3d7d919746 Backed out changeset 87347a74981d (bug 1614767) for failures in test_righttoleft.xhtml 2020-02-20 20:13:47 +02:00