Commit graph

4869 commits

Author SHA1 Message Date
Noemi Erli
6b488deed0 Backed out changeset 034e2e79ecfa (bug 1617254) for causing build bustages CLOSED TREE 2020-02-25 21:59:14 +02:00
Kris Maglione
e4c4115afb Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 19:39:25 +00:00
Andrew Osmond
772f973027 Bug 1608189 - Allow WebRender captures on beta/release if pref is set. r=jrmuizel,mconley
Differential Revision: https://phabricator.services.mozilla.com/D62916

--HG--
extra : moz-landing-system : lando
2020-02-25 15:23:31 +00:00
shindli
dba7079347 Backed out changeset 3f52616a34d3 (bug 1607366) for causing bc failures in browser_startup_flicker.js CLOSED TREE 2020-02-25 15:52:14 +02:00
David Teller
25f863ae92 Bug 1607366 - Display a warning when we're running Fission without WebRender;r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61827

--HG--
extra : moz-landing-system : lando
2020-02-22 10:03:42 +00:00
Michael Kaply
8f1480c9ed Bug 1616832 - Don't run code after delayed startup. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D63491

--HG--
extra : moz-landing-system : lando
2020-02-20 15:38:33 +00:00
Dão Gottwald
4d610df268 Bug 1508171 - Remove gBrowser.initialBrowser. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D63332

--HG--
extra : moz-landing-system : lando
2020-02-19 15:49:19 +00:00
Gijs Kruitbosch
766d80fdda Bug 1566786 - don't leave stop/reload button without an icon if the animation gets cancelled, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D63084

--HG--
extra : moz-landing-system : lando
2020-02-17 17:27:08 +00:00
Dão Gottwald
3d091ee473 Bug 1545046 - Hide the container label in the URL bar in small windows. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D62609

--HG--
extra : moz-landing-system : lando
2020-02-14 18:15:55 +00:00
Mike Conley
d8069ef65c Bug 1607545 - Don't record about_home_topsites_first_paint scalar unless the first windows initial tab is about:home. r=k88hudson
The test fix was reviewed by Ed Lee (edilee@mozilla.com) in https://phabricator.services.mozilla.com/D61401, and then
that change was rolled into this commit.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 19:17:12 +00:00
Nika Layzell
6ff27537b1 Bug 1602903 - Collect per-window useRemoteSubframes telemetry, r=mconley
This telemetry records, for each toplevel window, the relationship between the
actual fission-enabled status of the window, and the "fission.autostart" pref.

This takes the form of a categorized telemetry histogram with the following
keys:
 * EnabledByAutostart:  useRemoteSubframes == true   fission.autostart == true
 * EnabledByUser:       useRemoteSubframes == true   fission.autostart == false
 * DisabledByAutostart: useRemoteSubframes == false  fission.autostart == false
 * DisabledByUser:      useRemoteSubframes == false  fission.autostart == true

'DisabledByUser' helps indicate useful information such as how often fission
testers need to open non-fission windows due to breakage, while
'EnabledByAutostart' and 'EnabledByUser' helps give a better image of how many
people are testing fission.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 21:46:51 +00:00
Marco Bonardo
5af1f5f1ef Bug 1601052 - Merge openViewOnFocus and retained results features. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D60668

--HG--
extra : moz-landing-system : lando
2020-01-31 08:30:34 +00:00
Oana Pop Rus
aace55be1b Backed out changeset cfb9cc9ee352 (bug 1607545) for node failures on a CLOSED TREE 2020-01-25 01:21:24 +02:00
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