Commit graph

4856 commits

Author SHA1 Message Date
Mike Conley
5a5b08df8c Bug 1607545 - Don't record about_home_topsites_first_paint scalar unless the first windows initial tab is about:home. r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D60416

--HG--
extra : moz-landing-system : lando
2020-01-24 21:08:30 +00:00
Kendall Werts
7f966c7fbf Bug 1606265 - Work on new tab containers menu popup. r=fluent-reviewers,Gijs,flod
Added right click on new tab button to open containers menu.
Removed long press and added option to enable left click in preferences menu.
Renamed privacy.userContext.longPressBehavior to privacy.userContext.newTabContainer.enabled

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

--HG--
extra : moz-landing-system : lando
2020-01-23 22:28:30 +00:00
Mike Conley
ea70cbeec9 Bug 1576917 - Port PopupBlocker to JSWindowActors to make it Fission-compatible. r=NeilDeakin
This patch was started by Alex Vamvounis <a.vamvounis@gmail.com> and finished by
Mike Conley <mconley@mozilla.com>

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

--HG--
extra : moz-landing-system : lando
2020-01-22 21:24:19 +00:00
Neil Deakin
87bf897e88 Bug 1598919, move Browser:LoadURI into BrowserTabParent actor, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D54411

--HG--
extra : moz-landing-system : lando
2020-01-20 15:19:14 +00:00
Harry Twyford
cf63dc31df Bug 1604798 - Re-focus Urlbar more reliably after exiting customize mode. r=dao
focusAndSelectUrlbar can fire after isCustomizing() is false but before customizeMode is fully exited. This means the Urlbar is refocused but then quickly loses focus after the main browser window is focused. By adding this additional check we can be sure that the browser focus event occurs before the Urlbar is refocused.

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

--HG--
extra : moz-landing-system : lando
2020-01-16 15:22:47 +00:00
Harry Twyford
8ad4e1813a Bug 1606909 - Port Tips from the experiment behind a pref. r=adw,fluent-reviewers,flod
Top Sites must be disabled for this to work correctly. This is because we haven't defined the behaviour for when two restricting providers are active. Bug 1607797 must be resolved before this is preffed on.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 16:28:46 +00:00
Dimi Lee
10c00c38cf Bug 1600878 - P3. Do not store contentBlockingEvent in RemoteSecurityUI.jsm r=timhuang,Ehsan
ContentBlockingEvents is now accessed via WindowGlobalActor::ContentBlockingEvents.
Updating and storing contentBlockingEvent in RemoteSecurityUI are no longer needed.

Depends on D55622

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

--HG--
extra : moz-landing-system : lando
2019-12-17 11:25:27 +00:00
Dimi Lee
27d4d88bfe Bug 1600878 - P2. Use contentBlockingEvents in WindowGlobalParent instead of contentBlockingEvent in RemoteSecurityUI r=timhuang,Ehsan
ContentBlockingEvent in RemoteSecurityUI is updated after receiving a notification from a child process.
Since contentBlockingEvent will be removed from the child, this patch removes the use of
contentBlockingEvent in RemoteSecurityUI and uses the API defined in WindowGlobalActor.

Depends on D55621

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

--HG--
extra : moz-landing-system : lando
2019-12-17 11:25:23 +00:00
Dão Gottwald
f536402657 Bug 1606069 - Enable openViewOnFocus for about:newtab and about:home. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D59548

--HG--
extra : moz-landing-system : lando
2020-01-13 19:18:16 +00:00
Shane Caraveo
7fa8b283f6 Bug 1544975 remove private window extension change notification r=robwu,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D57716

--HG--
extra : moz-landing-system : lando
2020-01-03 23:01:54 +00:00
Neil Deakin
16f95497b9 Bug 1601301, rework webrtc permission granting UI around JSWindowActor, performing the work of determining the ultimate state for the tab icon and menu in the parent rather than the content process, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D56570

--HG--
rename : browser/modules/webrtcUI.jsm => browser/actors/WebRTCParent.jsm
extra : moz-landing-system : lando
2020-01-10 15:09:59 +00:00
Dão Gottwald
3225b46d32 Bug 1607170 - Remove openNewTabWith, openNewWindowWith. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D58754

--HG--
extra : moz-landing-system : lando
2020-01-07 11:00:30 +00:00
Andreea Pavel
c4508fa4ad Backed out changeset 564b928b0203 (bug 1607170) for crashing browser_newWindowDrop.js on a CLOSED TREE 2020-01-06 16:31:37 +02:00
Dão Gottwald
3baab4766b Bug 1607170 - Remove openNewTabWith, openNewWindowWith. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D58754

--HG--
extra : moz-landing-system : lando
2020-01-06 12:41:19 +00:00
Dave Townsend
06456f883d Bug 1603272: List installed site specific browsers in the app menu. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D57015

--HG--
extra : moz-landing-system : lando
2019-12-23 18:58:03 +00:00
Vijay Budhram
69c06d53ba Bug 1597994 - Update FxA menu manage account labels r=markh,flod
Differential Revision: https://phabricator.services.mozilla.com/D57548

--HG--
extra : moz-landing-system : lando
2019-12-23 14:42:09 +00:00
Dão Gottwald
e400e680a5 Bug 1605050 - Stop inconsistently accepting javascript: and data: URL drops on new-tab-button. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D57762

--HG--
extra : moz-landing-system : lando
2019-12-19 11:24:13 +00:00
Johann Hofmann
edad9865cc Bug 1603511 - Optimize sending SiteProtection:ContentBlockingEvent events. r=nhnt11
These events were sent excessively on onStateChange. This patch makes it so that:

- we only listen to top-level document changes (we used to send all events from iframes)
- we don't send events unless there's tracking content on the page
- we only send a single event on tab switch instead of multiple

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

--HG--
extra : moz-landing-system : lando
2019-12-12 23:48:13 +00:00
Dão Gottwald
2dd81d3884 Bug 1599544 - Remove the workaround hiding the initial browser. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D56718

--HG--
extra : moz-landing-system : lando
2019-12-12 14:06:40 +00:00
Marco Bonardo
d360177352 Bug 1601450 - Further restrict the retained results behavior. r=dao
If the user types a full url, confirms it, and then focuses the urlbar, we should
not

When focusing the address bar after typing and confirming a page, we end up reopening
the view because the search string is the same. This causes unexpected noise and
selection problems (the url is not selected anymore).
This patch changes the behavior so we don't reopen on valid pageproxystate, that
seems to make sense considering the feature scope of restoring an abandoned search.

Additionally, make the keyboard shortcut not trying to reopen the view if it's
already open, to avoid messing up with the selection.

Finally, restore the appropriate allowAutofill status from the last context.
This may still cause us to not autofill something that was previously autofilled,
if 2 tabs contain the same exact search, but that's an edge case, so acceptable.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 09:16:22 +00:00
Emma Malysz
57215abe07 Bug 1601094, rename the remaining .xul files in browser/ to .xhtml r=marionette-reviewers,whimboo,mossop
Differential Revision: https://phabricator.services.mozilla.com/D55751

--HG--
rename : browser/base/content/aboutDialog.xul => browser/base/content/aboutDialog.xhtml
rename : browser/base/content/newInstall.xul => browser/base/content/newInstall.xhtml
rename : browser/base/content/pageinfo/pageInfo.xul => browser/base/content/pageinfo/pageInfo.xhtml
rename : browser/base/content/safeMode.xul => browser/base/content/safeMode.xhtml
rename : browser/base/content/sanitize.xul => browser/base/content/sanitize.xhtml
rename : browser/base/content/titlebar-items.inc.xul => browser/base/content/titlebar-items.inc.xhtml
rename : browser/base/content/webext-panels.xul => browser/base/content/webext-panels.xhtml
rename : browser/base/content/webrtcIndicator.xul => browser/base/content/webrtcIndicator.xhtml
rename : browser/components/downloads/content/contentAreaDownloadsView.xul => browser/components/downloads/content/contentAreaDownloadsView.xhtml
rename : browser/components/migration/content/migration.xul => browser/components/migration/content/migration.xhtml
rename : browser/components/places/content/bookmarkProperties.xul => browser/components/places/content/bookmarkProperties.xhtml
rename : browser/components/places/content/bookmarksSidebar.xul => browser/components/places/content/bookmarksSidebar.xhtml
rename : browser/components/places/content/historySidebar.xul => browser/components/places/content/historySidebar.xhtml
rename : browser/components/places/content/places.xul => browser/components/places/content/places.xhtml
rename : browser/components/shell/content/setDesktopBackground.xul => browser/components/shell/content/setDesktopBackground.xhtml
extra : moz-landing-system : lando
2019-12-11 00:27:19 +00:00
Jonathan Watt
8b155d8f62 Bug 1602561. Make PrintUtils.printWindow() act on a BrowsingContext. r=Gijs
Factored out from patches to make printing work with Fission enabled.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 21:59:02 +00:00
Andrei Oprea
a06612790c Bug 1596118 - Remove fxa accounts badge that has been replaced by Messaging System badging r=eoger,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D52843

--HG--
extra : moz-landing-system : lando
2019-12-06 13:53:07 +00:00
Sean Feng
93f9021bb1 Bug 1589700 - Record the number of unique site origins across all tabs r=smaug,agi,Dexter
Differential Revision: https://phabricator.services.mozilla.com/D54027

--HG--
extra : moz-landing-system : lando
2019-12-05 23:13:24 +00:00
Mark Striemer
7609763e4b Bug 1564525 - Remove extensions.htmlaboutaddons.enabled pref r=Gijs
Depends on D55720

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

--HG--
extra : moz-landing-system : lando
2019-12-05 18:49:43 +00:00
Masatoshi Kimura
502bc1fe35 Bug 1601235 - Remove the second arg of nsIXULBrowserWindow::SetOverLink. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D55946

--HG--
extra : moz-landing-system : lando
2019-12-05 14:23:01 +00:00
Razvan Maries
ef51899325 Backed out changeset 52af8765cb21 (bug 1589700) for perma fails on browser_Telemetry_numberOfSiteOrigins.js. CLOSED TREE 2019-12-04 23:48:27 +02:00
Sean Feng
0dea348f20 Bug 1589700 - Record the number of unique site origins across all tabs r=smaug,agi,Dexter
Differential Revision: https://phabricator.services.mozilla.com/D54027

--HG--
extra : moz-landing-system : lando
2019-12-04 19:39:18 +00:00
Marco Bonardo
64e5635ba8 Bug 1593964 - part 2 - Retain results on tab switch/deactivate, requery on reopen. r=dao
Rather than clearing results on tab switch or deactivate, let's keep them, and
clean them on input change. On reopening the view run the query again, so results
are up to date and autofill works, but flickering is reduced.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 20:52:37 +00:00
Mihai Alexandru Michis
51b2b2c577 Backed out 2 changesets (bug 1593964) for causing failures in browser_retainedResultsOnFocus.js CLOSED TREE
Backed out changeset 7f2fe5517b7e (bug 1593964)
Backed out changeset 0b744d1bf8e7 (bug 1593964)
2019-12-03 13:56:10 +02:00
Marco Bonardo
fa450bc146 Bug 1593964 - part 2 - Retain results on tab switch/deactivate, requery on reopen. r=dao
Rather than clearing results on tab switch or deactivate, let's keep them, and
clean them on input change. On reopening the view run the query again, so results
are up to date and autofill works, but flickering is reduced.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 10:40:09 +00:00
Matt Woodrow
7872bad7d1 Bug 1599818 - Remove debugging prints. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D55013

--HG--
extra : moz-landing-system : lando
2019-11-27 20:31:07 +00:00
Mike Conley
958abb2af9 Bug 1594227 - Add Fission testing menu items to the File menu. r=NeilDeakin
These menu items are only visible in Nightly when Fission is enabled,
and they're only for testing, which is why I've opted to not use Fluent
for localization, and just hard-coded the strings and accesskeys. These
menu items will never ride to release.

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

--HG--
extra : moz-landing-system : lando
2019-11-27 19:23:08 +00:00
Matt Woodrow
4e9f06f73c Bug 1584031 - Allow non-http channels into on-may-change-process. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D53893

--HG--
extra : moz-landing-system : lando
2019-11-27 02:19:17 +00:00
Andreas Tolfsen
66d0f10ce2 bug 1526364: browser: show visual cue when remote agent is listening; r=Gijs,remote-protocol-reviewers,maja_zf
We want to display a visual hint to the user that the browser session
is under control by a browser-external client when the remote agent
is listening.  The hint is the same as for when Marionette is active.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 11:54:38 +00:00
Andreas Tolfsen
b749854d09 bug 1526364: browser, marionette: use "remote-listening" to indicate remote control; r=Gijs,marionette-reviewers,remote-protocol-reviewers,maja_zf
This changes the event Marionette emits when it is running from
"remote-active" to "remote-listening".

The background for this change is that the forthcoming Chromium-based
remote protocol uses the same observer notification to indicate
when it listens for browser-external connections.  This means that
with this change, the visual hint presented to the user will also
be applied when the remote agent starts its HTTPD listener.

Unlike Marionette however, the remote debugging protocol may be used
for browser-internal applications and it is not appropriate to signal
that the browser is under remote control under those circumstances,
hence the naming change away from "active".

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

--HG--
extra : moz-landing-system : lando
2019-11-26 13:23:29 +00:00
Mike Conley
e819bd0638 Bug 1597787 - Send principals directly across JSWindowActors rather than serializing / deserializing them. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D53867

--HG--
extra : moz-landing-system : lando
2019-11-23 00:53:52 +00:00
Zibi Braniecki
58b54fbcc6 Bug 1591328 - Migrate the window title to Fluent. r=fluent-reviewers,Gijs,mixedpuppy
Depends on D53775

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

--HG--
extra : moz-landing-system : lando
2019-11-21 19:16:15 +00:00
Michael Kaply
b78bcbe3c1 Bug 1590715 - Don't show URL status in kiosk mode. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D53053

--HG--
extra : moz-landing-system : lando
2019-11-21 09:50:08 +00:00
Anny Gakhokidze
61a8c83e6c Bug 1592093 - Make cancellation of content JS, when navigating through history to prevent hangs, Fission compatible, r=smaug,squib
Differential Revision: https://phabricator.services.mozilla.com/D52249

--HG--
extra : moz-landing-system : lando
2019-11-18 21:25:14 +00:00
James Jahns
8d5dd26b39 Bug 1591474 - Port BlockedSite to JSWindowActors r=Gijs
These actors appear in about:blocked sites.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 12:06:23 +00:00
Dão Gottwald
40bb7a4569 Bug 1596384 - Remove redundant gURLBar.startLayoutExtend call from focusAndSelectUrlBar. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D52987

--HG--
extra : moz-landing-system : lando
2019-11-14 12:32:52 +00:00
Neil Deakin
39a97c89d5 Bug 1533951, base NetError handler on JSWindowActor, move message listeners out of browser.js and into JSWindowActorParent, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D51624

--HG--
extra : moz-landing-system : lando
2019-11-12 20:00:32 +00:00
Brendan Dahl
1f2263790c Bug 1492582 - Use document.title instead of writing the title attribute on the document element r=dao
Differential Revision: https://phabricator.services.mozilla.com/D33561

--HG--
extra : moz-landing-system : lando
2019-11-08 23:33:50 +00:00
Noemi Erli
f4d989ef82 Backed out 7 changesets (bug 1492582) for causing ss mochitest failures CLOSED TREE
Backed out changeset 1484255e5f4d (bug 1492582)
Backed out changeset bbf62ef50e52 (bug 1492582)
Backed out changeset 836724d3860e (bug 1492582)
Backed out changeset 5efddfd196b5 (bug 1492582)
Backed out changeset d4be1aa8cdb6 (bug 1492582)
Backed out changeset f05dfbeff17b (bug 1492582)
Backed out changeset e0e56a195659 (bug 1492582)

--HG--
extra : rebase_source : 913c432be684629992a773dc3e4e233141bc3061
2019-11-07 21:51:46 +02:00
Brendan Dahl
b155aa1c0e Bug 1492582 - Use document.title instead of writing the title attribute on the document element r=dao
Differential Revision: https://phabricator.services.mozilla.com/D33561

--HG--
extra : moz-landing-system : lando
2019-11-07 16:21:02 +00:00
Marco Bonardo
f33c2afd5b Bug 1594356 - Remove browser_moz_action_link.js, that is failing with Fission. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D51997

--HG--
extra : moz-landing-system : lando
2019-11-06 21:41:42 +00:00
Brendan Dahl
eafc9e3293 Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

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

--HG--
rename : xpfe/appshell/nsXULWindow.cpp => xpfe/appshell/AppWindow.cpp
rename : xpfe/appshell/nsXULWindow.h => xpfe/appshell/AppWindow.h
rename : xpfe/appshell/nsIXULWindow.idl => xpfe/appshell/nsIAppWindow.idl
extra : moz-landing-system : lando
2019-11-05 17:56:28 +00:00
Mihai Alexandru Michis
b819bd25aa Backed out 2 changesets (bug 1470510) for causing bustages in widget/cocoa/nsChildView.mm CLOSED TREE
Backed out changeset a343f30c34a3 (bug 1470510)
Backed out changeset 4da64790094d (bug 1470510)

--HG--
rename : xpfe/appshell/nsIAppWindow.idl => xpfe/appshell/nsIXULWindow.idl
rename : xpfe/appshell/AppWindow.cpp => xpfe/appshell/nsXULWindow.cpp
rename : xpfe/appshell/AppWindow.h => xpfe/appshell/nsXULWindow.h
2019-11-05 09:24:26 +02:00
Brendan Dahl
0c0da7791e Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

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

--HG--
rename : xpfe/appshell/nsXULWindow.cpp => xpfe/appshell/AppWindow.cpp
rename : xpfe/appshell/nsXULWindow.h => xpfe/appshell/AppWindow.h
rename : xpfe/appshell/nsIXULWindow.idl => xpfe/appshell/nsIAppWindow.idl
extra : moz-landing-system : lando
2019-11-04 23:37:31 +00:00