Commit Graph

4312 Commits

Author SHA1 Message Date
Cosmin Sabou
eebe06b290 Merge autoland to mozilla-central. a=merge 2018-07-11 00:50:32 +03:00
Manish Kumar
bff8489dc9 Bug 1473585 - Remove restoreLastSession function. r=dao 2018-07-07 20:29:56 +02:00
Dão Gottwald
1406fa5eda Bug 1473309 - Move TabContextMenu and stray usercontext-related functions from browser.js to tabbrowser.js. r=bgrins
MozReview-Commit-ID: CA3F65x08Kg
2018-07-04 16:24:37 +02:00
Axel Hecht
28138483f9 Bug 721211: consolidate home page retrieval code, make it support non-localized prefs, r=jaws
Also changes the tooltip on the home button to be independent of the URLs
it opens, per dolske.

Some tests explicitly set browser.startup.homepage, but only through
SpecialPowers.putPrefEnv. That's a good compromise, given the extra
functionality there.

MozReview-Commit-ID: FPLxzi3jQAP
2018-05-28 12:38:01 +02:00
Brian Grinstead
0a73fc1924 Bug 1445764 - Remove redundant Places imports from pages that load browser.js;r=standard8
MozReview-Commit-ID: JsPiKMA21Fj
2018-07-03 14:26:51 -07:00
arthur.iakab
2476395d52 Merge inbound to mozilla-central a=merge 2018-07-03 11:55:46 +03:00
Abdoulaye O. Ly
975b317b22 Bug 1458061 - Implement ability to reload a selection of tabs. r=Gijs
MozReview-Commit-ID: CyJLk7pxGRr
2018-06-29 02:39:18 +00:00
Brian Grinstead
ccbad1fc02 Bug 1472751 - Remove MAC_NON_BROWSER_WINDOW preprocessor directive;r=Gijs
The menuitem used to be only included in the markup for the non-browser window
case. This changes it to include it as a hidden <menuitem> for the browser window
case, and then unhide it for the non-browser window case.

MozReview-Commit-ID: 8tY3GiTFmqe
2018-07-02 14:25:35 -07:00
Brian Grinstead
7702ea3b92 Bug 1471734 - Remove FULL_BROWSER_WINDOW preprocessor directive;r=Gijs
The key used to be removed from the markup. This changes it to include
the <key> but instead disable it through the related command, which fits
the pattern used with other commands.

MozReview-Commit-ID: LPuwULDt22W
2018-07-02 10:42:35 -07:00
Coroiu Cristina
72b3df5f72 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-06-30 01:00:54 +03:00
Dave Townsend
0f2c3bd648 Bug 1453751: Load favicons in the content process. r=mak, r=gijs, r=aswan, r=mixedpuppy
Summary:
This moves the load of favicons into the content process. We use the same logic
for finding favicons (based on waiting until none have shown up for a short
time) but then load the favicon and convert it to a data uri which we then
dispatch to the parent process. Along the way this fixes asssociating the load
with the tab for WebExtension and devtools, fixes CSP usage for the load, fixes
expiry detection of the favicon and stops us from loading the same resource
twice.

This change also merges the prefs browser.chrome.site_icons and
browser.chrome.favicons leaving just the former controlling favicon loading. It
adds the pref browser.chrome.guess_favicon to allow disabling guessing where
a favicon might be located for a site (at <hostname>/favicon.ico). This is
mainly to allow disabling this in tests where those additional yet automatic
requests are uninteresting for the test.

There are multiple clean-ups that can follow this but this is a first step along
that path.

MozReview-Commit-ID: E0Cs59UnxaF

Reviewers: mak

Tags: #secure-revision

Bug #: 1453751

Differential Revision: https://phabricator.services.mozilla.com/D1672
Differential Revision: https://phabricator.services.mozilla.com/D1673
Differential Revision: https://phabricator.services.mozilla.com/D1674
Differential Revision: https://phabricator.services.mozilla.com/D1850
Differential Revision: https://phabricator.services.mozilla.com/D1869
2018-06-28 16:06:09 -07:00
Abdoulaye O. Ly
7c49799423 Bug 1458060 - Implement ability to pin/unpin a selection of tabs. r=jaws
MozReview-Commit-ID: Hqt8QrqQ62V
2018-06-23 18:07:48 +00:00
Brindusan Cristian
d94fd86e60 Backed out changeset b11aa832c41a (bug 1453751) for Mochitest-15 failures in toolkit/components/extensions/test/mochitest/test_ext_webrequest_filter.html. CLOSED TREE 2018-06-28 23:15:49 +03:00
Dave Townsend
ebc2c6ff75 Bug 1453751: Load favicons in the content process. r=mak, r=gijs, r=aswan
Summary:
This moves the load of favicons into the content process. We use the same logic
for finding favicons (based on waiting until none have shown up for a short
time) but then load the favicon and convert it to a data uri which we then
dispatch to the parent process. Along the way this fixes asssociating the load
with the tab for WebExtension and devtools, fixes CSP usage for the load, fixes
expiry detection of the favicon and stops us from loading the same resource
twice.

This change also merges the prefs browser.chrome.site_icons and
browser.chrome.favicons leaving just the former controlling favicon loading. It
adds the pref browser.chrome.guess_favicon to allow disabling guessing where
a favicon might be located for a site (at <hostname>/favicon.ico). This is
mainly to allow disabling this in tests where those additional yet automatic
requests are uninteresting for the test.

There are multiple clean-ups that can follow this but this is a first step along
that path.

MozReview-Commit-ID: E0Cs59UnxaF

Reviewers: mak

Tags: #secure-revision

Bug #: 1453751

Differential Revision: https://phabricator.services.mozilla.com/D1672
Differential Revision: https://phabricator.services.mozilla.com/D1673
Differential Revision: https://phabricator.services.mozilla.com/D1674
Differential Revision: https://phabricator.services.mozilla.com/D1850
2018-06-04 12:53:55 -07:00
Gijs Kruitbosch
8f5de7b966 Bug 1470002 - remove pageshow message passing, too, r=adw,jryans
MozReview-Commit-ID: 27v79lVOODG
2018-06-20 22:53:40 +01:00
Mark Banner
b24bddc9dc Bug 1452645 - Remove load in sidebar functionality. r=lina,mak
Based on patch by mixedpuppy.

MozReview-Commit-ID: BZwOtr4VbCH
2018-06-06 21:00:45 +01:00
Marco Bonardo
f48f3f03f5 Bug 1419391. r=gijs
MozReview-Commit-ID: IdHuQKgux1c
2017-10-19 13:59:12 +02:00
Dão Gottwald
3e1a255f0a Bug 1459907 - Implement new bookmark confirmation. r=mak
MozReview-Commit-ID: DsTXTKgX72y
2018-06-23 15:28:47 +02:00
Mark Striemer
efe6694e0a Bug 1446101 - Part 4: Remove old alltabs code, rename alltabs-popup to newtab-popup r=dao
MozReview-Commit-ID: 1U0Jg9bpEGV
2018-06-06 16:34:49 -05:00
Mark Striemer
bec92cae1b Bug 1446101 - Part 2: Convert the all tabs panel to photon styles r=dao
MozReview-Commit-ID: 3VzqnG6X5rw
2018-06-06 15:48:21 -05:00
ad00405168 Bug 1464414 - Remove gURLBar null-check from XULBrowserWindow.setOverLink. r=dao 2018-06-21 12:23:29 +02:00
layely
8f86b7bb1c Bug 1458039 - Implement ability to mute/unmute a selection of tabs. r=jaws
MozReview-Commit-ID: 7aw08gxOOtk
2018-05-31 03:26:25 +00:00
Mark Banner
8bd7ef0069 Bug 1453667 - Remove BrowserUITelemetry from search. r=adw
MozReview-Commit-ID: L0Fj2d7BGdt
2018-06-06 19:40:27 +01:00
layely
84900bd57e Bug 1467340 - Ctrl+w and Ctrl+f4 shortcuts close all selected tabs in multi-select context. r=jaws
MozReview-Commit-ID: AfrpuOKBfas
2018-06-07 13:36:17 +00:00
Mike Conley
604c65bb25 Bug 1458375 - Add a new browser-idle-startup-tasks-finished notification. r=Felipe
This notification fires when a browser window finishes running its idle tasks. Note
that it might never run if every window goes away before the idle tasks can run.

MozReview-Commit-ID: IEH98S29jhV
2018-05-29 12:47:54 -04:00
Christoph Kerschbaumer
f7a0ac1bfc Bug 1459204: Have about:privatebrowsing rely on RemotePageManager instead of AboutCapabilities. r=mossop,baku 2018-06-07 11:32:27 +02:00
Tooru Fujisawa
f452049d31 Bug 1376119 - Add Reopen in Container tab menu. r=baku,Gijs 2018-06-07 15:59:01 +09:00
Zibi Braniecki
91aecb56ee Bug 1462675 - Fix permissions popup dialog opened from browser.js. r=johannh
MozReview-Commit-ID: AwOikE81KpP
2018-06-04 17:21:09 -07:00
Ciure Andrei
14d3b1b40f Backed out 1 changesets (bug 1462675) for ESlint failures a=backout on a CLOSED TREE
Backed out changeset 50305cce4a82 (bug 1462675)
2018-06-05 18:31:47 +03:00
Zibi Braniecki
766e1178c7 Bug 1462675 - Fix permissions popup dialog opened from browser.js. r=johannh
MozReview-Commit-ID: AwOikE81KpP
2018-06-04 17:21:09 -07:00
Noemi Erli
c49a67ce02 Backed out 8 changesets (bug 1458375) for Mochitest leaks on a CLOSED TREE
Backed out changeset 30a743401670 (bug 1458375)
Backed out changeset ae969e1cebfb (bug 1458375)
Backed out changeset 1fb76b9b6f82 (bug 1458375)
Backed out changeset 868da3a1b94a (bug 1458375)
Backed out changeset bd2cba9dfb3d (bug 1458375)
Backed out changeset 715850ae92a1 (bug 1458375)
Backed out changeset cfe8da250de7 (bug 1458375)
Backed out changeset 2968c0a21410 (bug 1458375)
2018-05-31 22:38:48 +03:00
Mike Conley
010ee8fd44 Bug 1458375 - Add a new browser-idle-startup-tasks-finished notification. r=Felipe
This notification fires when a browser window finishes running its idle tasks. Note
that it might never run if every window goes away before the idle tasks can run.

MozReview-Commit-ID: IEH98S29jhV
2018-05-29 12:47:54 -04:00
arthur.iakab
436c7d6051 Merge mozilla inbound to central a=merge 2018-05-31 01:05:10 +03:00
Csoregi Natalia
9f017e1c9d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-30 12:27:51 +03:00
Boris Zbarsky
c19ca25dce Bug 1455676 part 18. Stop using getInterface as the primary API for the indexeddb permission notifications. r=mrbkap 2018-05-29 22:58:50 -04:00
Mark Banner
8853e86675 Bug 1463738 - Remove the Bookmark description UI. r=dao
This removes the bookmark description UI, but leaves the backend in-place for a release or two, so that users have time to save anything they want (e.g. via backup).
The backend will be removed in bug 1402890.

MozReview-Commit-ID: La4AYFar7eK
2018-05-23 17:15:09 +01:00
Mark Striemer
dcffb346eb Bug 1455300 - Part 1: Extract tab menuitem code from tabbrowser.xml r=dao
MozReview-Commit-ID: LP0EZxe5cJ9
2018-05-14 15:10:01 -05:00
Luca Greco
9ed230e011 Bug 1458918 - Prevent windows.getLastFocused from leaking tab being adopted by a new window. r=dao,mixedpuppy
MozReview-Commit-ID: 6Nj7J7aI06B
2018-05-03 16:24:02 +02:00
Dorel Luca
c6e24fbcd6 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-26 07:09:39 +03:00
Coroiu Cristina
9f3013e5a1 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-05-25 20:58:44 +03:00
Felipe Gomes
401ef00449 Bug 1461548 - Only load the RefreshBlocker frame script when necessary. r=mconley 2018-05-25 14:22:14 -03:00
Dão Gottwald
b3299c9fa8 Bug 1449860 - Focus the location bar when loading about:home. r=mak
MozReview-Commit-ID: FeeNBfGTl7Z
2018-05-23 11:17:25 +02:00
Dão Gottwald
cda5638fb0 Bug 1464384 - Stop returning true/false from focusAndSelectUrlBar. r=mak
MozReview-Commit-ID: BKmsjCRZiLs
2018-05-25 15:38:09 +02:00
layely
3b701cd4b2 Bug 1458022 - Implement ability to close a selection of tabs. r=jaws
MozReview-Commit-ID: 4yjajKnONuK
2018-05-21 04:16:01 +00:00
Felipe Gomes
d624e158f9 Bug 1409054 - Remove code from the old about:home. r=Mardak
MozReview-Commit-ID: JrgIFr2kAvI
2018-05-22 00:45:44 -03:00
Tim Taubert
ec400d5665 Bug 1464015 - Web Authentication - Rework IPC layer for future Android/Windows support r=jcj
Reviewers: jcj

Reviewed By: jcj

Subscribers: mgoodwin

Bug #: 1464015

Differential Revision: https://phabricator.services.mozilla.com/D1378
2018-05-30 16:06:09 +02:00
ls05
29bf9f0138 Bug 1462285 - Remove const nsIChannel in XULBrowserWindow.onStateChange. r=dao 2018-05-24 15:46:58 +02:00
Johann Hofmann
f36133f213 Bug 1462469 - Add a "Clear Cookies and Site Data" footer button to the identity popup. r=nhnt11
This implements a new button in the identity popup that allows users to quickly
remove cookies and site data from the sites they're visiting.

This uses the SiteDataManager behind the scenes and is similar to the changes
we made for PageInfo already.

There's a major drawback to this approach in that SiteDataManager needs to
refresh its entire data set everytime we want information about a single site
or want to remove anything (it's not trivial to get rid of that limitation while
dealing with all the quirks of our storage APIs). I will work around this by
implementing a way for SiteDataManager to incrementally update itself in bug 1460768.

MozReview-Commit-ID: Iy7ia0KllFq
2018-05-18 11:36:15 +02:00
Oriol Brufau
a6446f33a9 Bug 1457474 - Add 'Manage Extension' in browserAction context menu r=Gijs,mixedpuppy
MozReview-Commit-ID: 3iA7fCeXLVs
2018-05-14 22:23:21 +02:00
Dão Gottwald
5b24caed80 Bug 1462281 - Remove obsolete getNotificationBox function form browser.js. r=Gijs
MozReview-Commit-ID: DudF9WpoHFD
2018-05-17 11:13:45 +02:00