Commit graph

4252 commits

Author SHA1 Message Date
Dave Townsend
d8b7fb22e3 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

--HG--
rename : browser/base/content/test/general/browser_bug408415.js => browser/base/content/test/favicons/browser_bug408415.js
rename : browser/base/content/test/general/browser_bug550565.js => browser/base/content/test/favicons/browser_bug550565.js
rename : browser/base/content/test/general/browser_favicon_change.js => browser/base/content/test/favicons/browser_favicon_change.js
rename : browser/base/content/test/general/browser_favicon_change_not_in_document.js => browser/base/content/test/favicons/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/general/browser_subframe_favicons_not_used.js => browser/base/content/test/favicons/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon1.ico
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon2.ico
rename : browser/base/content/test/general/file_bug970276_popup1.html => browser/base/content/test/favicons/file_bug970276_popup1.html
rename : browser/base/content/test/general/file_bug970276_popup2.html => browser/base/content/test/favicons/file_bug970276_popup2.html
rename : browser/base/content/test/general/file_favicon_change.html => browser/base/content/test/favicons/file_favicon_change.html
rename : browser/base/content/test/general/file_favicon_change_not_in_document.html => browser/base/content/test/favicons/file_favicon_change_not_in_document.html
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_generic_favicon.ico
rename : browser/base/content/test/general/file_with_favicon.html => browser/base/content/test/favicons/file_with_favicon.html
extra : rebase_source : 6372b2681a59d267f966e9fa2ca9a54e3ff0cea0
extra : intermediate-source : b11aa832c41ac5beef9065f804d11fb7c9887990
extra : source : 638eb8a41245f6d9932861afda21edd5e0b2618a
2018-06-28 16:06:09 -07:00
Abdoulaye O. Ly
d59d524fbe Bug 1458060 - Implement ability to pin/unpin a selection of tabs. r=jaws
MozReview-Commit-ID: Hqt8QrqQ62V

--HG--
extra : rebase_source : d7edcc85fbe7dd217b4a129f9c7d87457eca3284
2018-06-23 18:07:48 +00:00
Brindusan Cristian
51f77cdfc4 Backed out changeset b11aa832c41a (bug 1453751) for Mochitest-15 failures in toolkit/components/extensions/test/mochitest/test_ext_webrequest_filter.html. CLOSED TREE
--HG--
rename : browser/base/content/test/favicons/browser_bug408415.js => browser/base/content/test/general/browser_bug408415.js
rename : browser/base/content/test/favicons/browser_bug550565.js => browser/base/content/test/general/browser_bug550565.js
rename : browser/base/content/test/favicons/browser_favicon_change.js => browser/base/content/test/general/browser_favicon_change.js
rename : browser/base/content/test/favicons/browser_favicon_change_not_in_document.js => browser/base/content/test/general/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/favicons/browser_subframe_favicons_not_used.js => browser/base/content/test/general/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/favicons/file_generic_favicon.ico => browser/base/content/test/general/file_bug970276_favicon1.ico
rename : browser/base/content/test/favicons/file_bug970276_popup1.html => browser/base/content/test/general/file_bug970276_popup1.html
rename : browser/base/content/test/favicons/file_bug970276_popup2.html => browser/base/content/test/general/file_bug970276_popup2.html
rename : browser/base/content/test/favicons/file_favicon_change.html => browser/base/content/test/general/file_favicon_change.html
rename : browser/base/content/test/favicons/file_favicon_change_not_in_document.html => browser/base/content/test/general/file_favicon_change_not_in_document.html
rename : browser/base/content/test/favicons/file_with_favicon.html => browser/base/content/test/general/file_with_favicon.html
2018-06-28 23:15:49 +03:00
Dave Townsend
ae4e60478a 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

--HG--
rename : browser/base/content/test/general/browser_bug408415.js => browser/base/content/test/favicons/browser_bug408415.js
rename : browser/base/content/test/general/browser_bug550565.js => browser/base/content/test/favicons/browser_bug550565.js
rename : browser/base/content/test/general/browser_favicon_change.js => browser/base/content/test/favicons/browser_favicon_change.js
rename : browser/base/content/test/general/browser_favicon_change_not_in_document.js => browser/base/content/test/favicons/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/general/browser_subframe_favicons_not_used.js => browser/base/content/test/favicons/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon1.ico
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon2.ico
rename : browser/base/content/test/general/file_bug970276_popup1.html => browser/base/content/test/favicons/file_bug970276_popup1.html
rename : browser/base/content/test/general/file_bug970276_popup2.html => browser/base/content/test/favicons/file_bug970276_popup2.html
rename : browser/base/content/test/general/file_favicon_change.html => browser/base/content/test/favicons/file_favicon_change.html
rename : browser/base/content/test/general/file_favicon_change_not_in_document.html => browser/base/content/test/favicons/file_favicon_change_not_in_document.html
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_generic_favicon.ico
rename : browser/base/content/test/general/file_with_favicon.html => browser/base/content/test/favicons/file_with_favicon.html
extra : rebase_source : 1e72949e4e1012025ccf87642cc239ea5f15217d
extra : source : 638eb8a41245f6d9932861afda21edd5e0b2618a
2018-06-04 12:53:55 -07:00
Gijs Kruitbosch
4991b73f4a Bug 1470002 - remove pageshow message passing, too, r=adw,jryans
MozReview-Commit-ID: 27v79lVOODG

--HG--
extra : rebase_source : ffa5561834b03205bf5f5b0cb3ee65b29eb82a9b
2018-06-20 22:53:40 +01:00
Mark Banner
5b8ba7f27e Bug 1452645 - Remove load in sidebar functionality. r=lina,mak
Based on patch by mixedpuppy.

MozReview-Commit-ID: BZwOtr4VbCH

--HG--
extra : rebase_source : 2e3ad3fedaf82d0e5d3db9bcebf1c2faa46447e7
2018-06-06 21:00:45 +01:00
Marco Bonardo
795a144659 Bug 1419391. r=gijs
MozReview-Commit-ID: IdHuQKgux1c

--HG--
extra : rebase_source : 86870e6266991925386f2f357222d42581b247c2
2017-10-19 13:59:12 +02:00
Dão Gottwald
cd159c76f7 Bug 1459907 - Implement new bookmark confirmation. r=mak
MozReview-Commit-ID: DsTXTKgX72y

--HG--
extra : rebase_source : 836ba1340189d22e4ee9f0fdb1c4ff339fbd266f
2018-06-23 15:28:47 +02:00
Mark Striemer
549ae82f55 Bug 1446101 - Part 4: Remove old alltabs code, rename alltabs-popup to newtab-popup r=dao
MozReview-Commit-ID: 1U0Jg9bpEGV

--HG--
extra : rebase_source : 08a4f7dc03efefe447bdff10b22bca69fce157fe
2018-06-06 16:34:49 -05:00
Mark Striemer
97b891af2b Bug 1446101 - Part 2: Convert the all tabs panel to photon styles r=dao
MozReview-Commit-ID: 3VzqnG6X5rw

--HG--
rename : browser/modules/TabsPopup.jsm => browser/modules/TabsList.jsm
extra : rebase_source : f31401acae04607d292972cd4ab783334d2b0242
2018-06-06 15:48:21 -05:00
lucas05@live.it
4bd55164cd Bug 1464414 - Remove gURLBar null-check from XULBrowserWindow.setOverLink. r=dao 2018-06-21 12:23:29 +02:00
layely
9bbf17cc81 Bug 1458039 - Implement ability to mute/unmute a selection of tabs. r=jaws
MozReview-Commit-ID: 7aw08gxOOtk

--HG--
extra : rebase_source : 204170d0ea72c08c43a08b2d2ec359465894c1e8
2018-05-31 03:26:25 +00:00
Mark Banner
df2e67c590 Bug 1453667 - Remove BrowserUITelemetry from search. r=adw
MozReview-Commit-ID: L0Fj2d7BGdt

--HG--
extra : rebase_source : 5479f9b00f5ebba11120c325aba5247422d14d91
2018-06-06 19:40:27 +01:00
layely
0e2c19f78e Bug 1467340 - Ctrl+w and Ctrl+f4 shortcuts close all selected tabs in multi-select context. r=jaws
MozReview-Commit-ID: AfrpuOKBfas

--HG--
extra : rebase_source : 8e1e093697389a5bf1a158b9d7015c1bc40a9d25
2018-06-07 13:36:17 +00:00
Mike Conley
3729d10328 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

--HG--
extra : rebase_source : e15e496d5bd41a2ca2aaa170e3546491a9383ba5
2018-05-29 12:47:54 -04:00
Christoph Kerschbaumer
2c105d2ff5 Bug 1459204: Have about:privatebrowsing rely on RemotePageManager instead of AboutCapabilities. r=mossop,baku 2018-06-07 11:32:27 +02:00
Tooru Fujisawa
9578f20512 Bug 1376119 - Add Reopen in Container tab menu. r=baku,Gijs 2018-06-07 15:59:01 +09:00
Zibi Braniecki
861f1f66f5 Bug 1462675 - Fix permissions popup dialog opened from browser.js. r=johannh
MozReview-Commit-ID: AwOikE81KpP

--HG--
extra : rebase_source : d23f95a3ec7c4e569d215dee209e0797303c39d3
2018-06-04 17:21:09 -07:00
Ciure Andrei
a36070ee4a 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
b70f7ea8d1 Bug 1462675 - Fix permissions popup dialog opened from browser.js. r=johannh
MozReview-Commit-ID: AwOikE81KpP

--HG--
extra : rebase_source : fc50bd0f97180af71515f55004b79afc28a49492
2018-06-04 17:21:09 -07:00
Noemi Erli
8e2471b6cb 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
230f19a67a 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

--HG--
extra : rebase_source : c00e7053a3a18215a3549ea6fd7c7194dd4ca584
2018-05-29 12:47:54 -04:00
arthur.iakab
fb18cb09bd Merge mozilla inbound to central a=merge 2018-05-31 01:05:10 +03:00
Csoregi Natalia
0c87942d7d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-30 12:27:51 +03:00
Boris Zbarsky
a7ede892a2 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
9f30e28934 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

--HG--
extra : rebase_source : 02bfe3cacdac331d09d5e62a1a70f48b68741670
2018-05-23 17:15:09 +01:00
Mark Striemer
9ac0626b1a Bug 1455300 - Part 1: Extract tab menuitem code from tabbrowser.xml r=dao
MozReview-Commit-ID: LP0EZxe5cJ9

--HG--
extra : rebase_source : 0988341f91ea79db742fd19cb9fa894447b1e50c
2018-05-14 15:10:01 -05:00
Luca Greco
bbb0a980e1 Bug 1458918 - Prevent windows.getLastFocused from leaking tab being adopted by a new window. r=dao,mixedpuppy
MozReview-Commit-ID: 6Nj7J7aI06B

--HG--
extra : rebase_source : 93625678c7799886277566abe79efd1d558e529e
2018-05-03 16:24:02 +02:00
Dorel Luca
047df7a932 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-26 07:09:39 +03:00
Coroiu Cristina
c032f38419 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-05-25 20:58:44 +03:00
Felipe Gomes
b77ef88358 Bug 1461548 - Only load the RefreshBlocker frame script when necessary. r=mconley 2018-05-25 14:22:14 -03:00
Dão Gottwald
a71b9f47c1 Bug 1449860 - Focus the location bar when loading about:home. r=mak
MozReview-Commit-ID: FeeNBfGTl7Z

--HG--
extra : rebase_source : 1ef9bdf4d5a149a8d8dabc9acbaa51ff644e4510
2018-05-23 11:17:25 +02:00
Dão Gottwald
dace246775 Bug 1464384 - Stop returning true/false from focusAndSelectUrlBar. r=mak
MozReview-Commit-ID: BKmsjCRZiLs

--HG--
extra : rebase_source : b40289a591de543a8efd9c4470b576d4cb37859d
2018-05-25 15:38:09 +02:00
layely
acb941a30e Bug 1458022 - Implement ability to close a selection of tabs. r=jaws
MozReview-Commit-ID: 4yjajKnONuK

--HG--
extra : rebase_source : 35a0c25a114c99c7cd1de71344f8dacc7536448f
2018-05-21 04:16:01 +00:00
Felipe Gomes
683f921f8c Bug 1409054 - Remove code from the old about:home. r=Mardak
MozReview-Commit-ID: JrgIFr2kAvI

--HG--
extra : rebase_source : 2636bfb0aa6b3fd81a3380c844776c3e0c048c8e
2018-05-22 00:45:44 -03:00
Tim Taubert
2a252e45a4 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
cef592fcd7 Bug 1462285 - Remove const nsIChannel in XULBrowserWindow.onStateChange. r=dao 2018-05-24 15:46:58 +02:00
Johann Hofmann
f277f6146c 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

--HG--
extra : rebase_source : a36e0e7049c5892464d91ad42c3bf523dd5013f9
2018-05-18 11:36:15 +02:00
Oriol Brufau
0d16cdb78d Bug 1457474 - Add 'Manage Extension' in browserAction context menu r=Gijs,mixedpuppy
MozReview-Commit-ID: 3iA7fCeXLVs

--HG--
extra : rebase_source : 0d53cc24e7d6ca733aeca939dbcbd731874acda0
2018-05-14 22:23:21 +02:00
Dão Gottwald
b09a688b84 Bug 1462281 - Remove obsolete getNotificationBox function form browser.js. r=Gijs
MozReview-Commit-ID: DudF9WpoHFD

--HG--
extra : rebase_source : db46d13baf2c5212242c81008ff838860b2445bc
2018-05-17 11:13:45 +02:00
Nan Jiang
401acab6cf Bug 1425494 - Make browser-open-newtab-start notify with extra info. r=dmose,mstriemer
MozReview-Commit-ID: EjDFjUvreEp

--HG--
extra : rebase_source : 7c75890bf7f45672623e36ade1dcdbc8dd2c85dc
2018-05-16 11:15:47 -04:00
Marco Bonardo
c8e987256f Bug 1460570 - Merge mozIAsyncFavicons into nsIFaviconService. r=standard8
MozReview-Commit-ID: JAxNj9MfcUI

--HG--
extra : rebase_source : b096792719a74fcf15909ce93f0d9341754009f6
2018-05-10 13:49:00 +02:00
Erica Wright
dc93192a58 Bug 1448918 - Create about:welcome page in preparation for firstrun migration. r=dmose
MozReview-Commit-ID: L34uRsOeziS

--HG--
extra : rebase_source : 9e783e9ba1a8473c8867aa9c2a87337005acbab2
2018-04-23 15:47:57 -04:00
Oriol Brufau
74229456be Bug 1452970 - Add auto-hide option to Download toolbar icon context menu r=Gijs
MozReview-Commit-ID: VVPQesdzJ6

--HG--
extra : rebase_source : 2888919d678044edb782e70bf0e7f755b232af56
2018-04-14 11:26:03 +02:00
shindli
88da23b0b7 Backed out changeset b12b76bbe1c6 (bug 1452970) for TV failures in browser/components/downloads/test/browser/browser_downloads_autohide.js on a CLOSED TREE 2018-05-09 15:16:40 +03:00
Oriol Brufau
91cda569e3 Bug 1452970 - Add auto-hide option to Download toolbar icon context menu r=Gijs
MozReview-Commit-ID: VVPQesdzJ6

--HG--
extra : rebase_source : 4e53ac52adcfd2862a73ba875b59690027b13da0
2018-04-14 11:26:03 +02:00
J. Ryan Stinnett
93123c55d1 Bug 1453519 - Extract process selection logic from _loadURI. r=mconley
Extract logic around whether a browser needs to change processes, get a new
frameloader because of preloading, etc. from `_loadURI` in `browser.js` to
`E10SUtils.jsm` where it can be shared with other code paths.

The side effect paths (trying to handle in chrome, removing preloaded state) are
left behind in `browser.js` so that the `E10SUtils` version can be a pure
function.

MozReview-Commit-ID: 6LYB3e3U5o8

--HG--
extra : rebase_source : d6ecac045f90e62a374f8a100e3cc8e1f45f7527
2018-05-04 15:27:28 -05:00
Tim Taubert
a660061bf3 Bug 1453959 - Web Authentication - Use term "Security Key" r=jcj
Reviewers: jcj

Reviewed By: jcj

Bug #: 1453959

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

--HG--
extra : amend_source : a634760ca36e6b9a70035e256046b1f919a7b5ed
2018-05-02 15:32:23 +02:00
Kris Maglione
bf4d9f1be5 Bug 1456035: Part 5 - Convert manual QueryInterface to ChromeUtils.generateQI. r=mccr8
Manually-implemented QueryInterface functions don't benefit from the
MozQueryInterface optimizaions, and a lot of them are in hot code, and
implement a large number of interfaces.

MozReview-Commit-ID: 8OzglraowZt

--HG--
extra : rebase_source : 5fff3d9973a0ea976096339a63ce9ff628b68441
2018-04-23 12:58:34 -07:00
Kris Maglione
a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Mark Banner
88e4fd5825 Bug 1456076 - Update ESLint to 4.19.1 & eslint-plugin-html to 4.0.3. r=mossop
MozReview-Commit-ID: Gs6T8AsLPPo

--HG--
extra : rebase_source : bf189ef047294ea405d8e7628eae94daa6d93e89
2018-04-23 11:33:31 +01:00
Mark Banner
496ee6b48b Bug 1449317 - Update the default string in the address bar. r=florian
MozReview-Commit-ID: C00zxCTJmHY
2018-04-22 22:02:05 +01:00
Kris Maglione
882b43fb78 Bug 1454202: Part 5b-c - Remove interstitial callback argument from getInstall* APIs. r=aswan
***
Bug 1454202: Part 5b - Remove interstitial callback argument from getInstall* APIs. r=aswan

MozReview-Commit-ID: ATKWozPZF4d
***
Bug 1454202: Part 5c - Update callers for new getInstall* signature. r=aswan

MozReview-Commit-ID: FWzZ2dxZOGs

--HG--
extra : rebase_source : f5460c6c7cb7dbd844c03edb6158cfdeb5e1dd9f
extra : absorb_source : d112aeea40576383a9acc7573cc4cde71b5150fb
extra : histedit_source : fb0ac000504068db820193823bcf1e6fac9fa3cf
2018-04-15 14:22:55 -07:00
Kris Maglione
877eae8863 Bug 1454202: Part 1 - Update legacy callers to use Promise-based AddonManager APIs. r=aswan
***
Bug 1454202: Part 1a - Auto-replace uses of callback-based AddonManager APIs with Promise-based versions. r=aswan

This was done using the following script:

4cd5ae9597/processors/aom-api-generators.jsm

MozReview-Commit-ID: 8hobLz15a66
***
Bug 1454202: Part 1b - Manually fix eslint errors after auto-rewrite. r=aswan

This also deletes an obsolete test whose xpcshell variant was already deleted.

MozReview-Commit-ID: DM9W9Q2SVIE
***
Bug 1454202: Part 1c - Manually fix non-eslint issues after auto-rewrite. r=aswan

MozReview-Commit-ID: DtMscWZuExc

--HG--
extra : rebase_source : d4c2f80bdf02ec4a07e3713a9ae1823145d25942
2018-04-14 19:38:18 -07:00
Mike Conley
0a0c4cc456 Bug 1358712 - Get rid of synchronous layout flushes when calculating where to put the StatusPanel. r=Felipe
MozReview-Commit-ID: KHagFdaRAzF

--HG--
extra : rebase_source : 4c79b7f23cc8980179ab0437eab13e7b03fd60c1
2018-03-07 17:39:20 -05:00
Dão Gottwald
7d19b65c4f Bug 1455578 - Remove obsolete nsIXULBrowserWindow::setJSStatus. r=bz
MozReview-Commit-ID: 6m7AQIvouIi

--HG--
extra : rebase_source : ccadd808d0e76fb882bde55dc72f8cfef239ef61
2018-04-20 12:55:14 +02:00
Dão Gottwald
e18d220663 Bug 1454631 - Remove nsIXULBrowserWindow::forceInitialBrowserRemote. r=mconley
MozReview-Commit-ID: BUOJ0TjSCgt

--HG--
extra : rebase_source : ca340ebd3e7ed17f51ead58d8eef6c657091d92d
2018-04-17 16:04:10 +02:00
Cosmin Sabou
75fd9783c8 Backed out changeset 047536b1a60a (bug 1448918) for browser chrome failures on browser_urlbar_blanking.js. CLOSED TREE 2018-04-19 21:52:24 +03:00
Erica Wright
b8d83d9bf4 Bug 1448918 - Create about:welcome page in preperation for firstrun migration. r=dmose
MozReview-Commit-ID: CoXu6R20GhM

--HG--
extra : rebase_source : 3155bc18a5071e554de325495820b4476c0ef5ce
2018-04-13 14:39:38 -04:00
Johann Hofmann
b6bd79a52e Bug 1455243 - Remove duplicate gIdentityHandler implementation from browser.js. r=dao
I copied the browser.js contents to browser-siteIdentity.js, there are no changes.

MozReview-Commit-ID: AytWG2oijXc

--HG--
extra : rebase_source : 17e69c8aa92eeae866fc76d3669d3b551592f755
2018-04-19 11:52:22 +02:00
Mike de Boer
43e19414f5 Bug 1034036 - Part 3: start tracking windows activations to always be aware of their respective order. This allows consumers to iterate over a set of windows in order of appearance (e.g. z-order). r=dao
Tests are also added here for the legacy `getTopWindow` method to guard against
basic regressions.
We now start tracking browser windows right after the DOMContentLoaded event, which
is earlier than before. We now also assume that any newly tracked window has the
focus initially, which is closer to the nsIWindowMediator semantics.

MozReview-Commit-ID: 6QYJqA1tMPC

--HG--
extra : rebase_source : e04e567cf31d1a10e78647d75403b700bc65136b
2018-04-11 12:06:03 +02:00
Mike de Boer
ecf63670d4 Bug 1034036 - Part 2: Rename and shorten getMostRecentBrowserWindow to getTopWindow and modernize the style used in BrowserWindowTracker.jsm. r=dao
MozReview-Commit-ID: EvgAhq4uR3a

--HG--
extra : rebase_source : 8fd8040cd1eee94675d4e9ca0c8ccc60db9e1bf7
2018-04-11 12:05:59 +02:00
Mike de Boer
d16ee58ded Bug 1034036 - Part 1: Merge RecentWindow.jsm and UpdateTopLevelContentWindowIDHelper.jsm into one module called 'BrowserWindowTracker.jsm'. r=dao
MozReview-Commit-ID: 9qzq1aGvjDu

--HG--
rename : browser/modules/UpdateTopLevelContentWindowIDHelper.jsm => browser/modules/BrowserWindowTracker.jsm
extra : rebase_source : 9c4a728e13fd691d377e7f221c5632646115daca
2018-04-11 12:05:56 +02:00
Tiberius Oros
b60668b4f6 Backed out changeset 82d5734d2fea (bug 1449317) for valgrind-test failures on a CLOSED TREE 2018-04-18 00:49:24 +03:00
Mark Banner
1f4fe4c185 Bug 1449317 - Update the default string in the address bar. r=florian
MozReview-Commit-ID: C00zxCTJmHY

--HG--
extra : rebase_source : 459e7e14370a0c884bb394bde4ec5bf3edf1aadc
2018-04-09 15:32:19 +01:00
Mark Striemer
847b01e89d Bug 1397809 - Part 2: Add a doorhanger when an extension changes the homepage r=aswan,Gijs
MozReview-Commit-ID: CwZ3E32xROS

--HG--
extra : rebase_source : 304392af1ae5ff0bc5677ad25e90bbd1f9f0ecac
2018-01-11 18:59:32 -06:00
Andrew Swan
68d8f5e967 Bug 1331521 Remove about:newaddon r=kmag
MozReview-Commit-ID: 6OFXGYEmSmy

--HG--
extra : rebase_source : 80ee72c190a2b2d06b895ad5bda22cc9b5849b01
2018-04-16 14:11:10 -07:00
Michael Kohler
4c381de5f6 Bug 1428306 - Remove browser.storageManager.enabled pref r=baku,johannh
MozReview-Commit-ID: GodyYuGxVD

--HG--
extra : rebase_source : 0ba78e764ea2c77ecaafcd35a502940ea1a37ac2
2018-04-09 20:46:45 +02:00
Paolo Amadini
3193903d17 Bug 1391948 - Don't use checkboxes for the "View Bookmarks Toolbar" and "View Bookmarks Sidebar" items in the Bookmarks button menu. r=mak
MozReview-Commit-ID: 2P3yV6xHLxi

--HG--
extra : rebase_source : 9352eac0344844218622149a3dc34959e620d431
2018-04-11 12:42:18 +01:00
Manish Kumar
7262fc3cf9 Bug 1440292 - Remove unused gUIDensity.setCurrentMode. r=johannh
--HG--
extra : amend_source : b4717f6c074e441ea85af2ecb9c575171cfdaa80
2018-04-09 14:01:51 +02:00
Jonathan Kingston
ff73ac0338 Bug 1374741 - Within browser/ make openUILinkIn() provide the correct triggeringPrincipal. r=gijs
MozReview-Commit-ID: 1NQrlWzIBja

--HG--
extra : rebase_source : 29d337e111d82e9c5729b5a59e1a16d06e67774c
2018-02-21 14:28:48 +00:00
Dão Gottwald
f8110c1b6a Bug 1451709 - Remove code for the "Restore Tabs From Last Time" button in the tab bar. r=mikedeboer
MozReview-Commit-ID: JMmkE6axBBK

--HG--
extra : rebase_source : 2449c9fd6fe8f59280dbdfe5a1a55bcd2867a665
2018-04-05 14:02:55 +02:00
Dão Gottwald
bf9d434a13 Bug 1450559 - Remove nsISessionStore in favor of SessionStore.jsm. r=mikedeboer
MozReview-Commit-ID: 8spvIOus9ai

--HG--
rename : browser/components/sessionstore/nsSessionStore.manifest => browser/components/sessionstore/nsSessionStartup.manifest
extra : rebase_source : fc353af87bd620b7039d3e6241cc60c3788e3da6
2018-04-05 16:30:48 +02:00
Manish Kumar
09c4ec88f6 Bug 1450446 - Remove obsolete XULBrowserWindow.inContentWhitelist and XULBrowserWindow.hideChromeForLocation. r=dao 2018-04-02 04:57:59 +02:00
Shane Caraveo
cfe18d0c3e Bug 1446913 - document and fix event object usage, r=felipe 2018-03-30 12:04:40 -05:00
Ciure Andrei
5d841a3421 Merge inbound to mozilla-central. a=merge 2018-03-30 01:06:18 +03:00
Tom Ritter
efbbb80e27 Bug 1397757 Add Learn More link for the Canvas Permission Prompt r=johannh
MozReview-Commit-ID: 5pR8VAmFwqM

--HG--
extra : rebase_source : 4a4046b0ebef716c6a31bdc219f4c21033d7682f
2018-03-26 23:27:39 -05:00
Franziskus Kiefer
5c6b90f0b8 Bug 1448787 - separate error for self-signed certs, r=keeler,johannh
Reviewed By: keeler, johannh

Bug #: 1448787

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

--HG--
extra : rebase_source : 3a9317445c7df5f09675da67888930304b75fc4b
2018-03-29 11:51:33 +02:00
Dão Gottwald
c37f295a17 Bug 1448303 - Refactor TabsInTitlebar initial update handling. r=florian
MozReview-Commit-ID: BQTe6cVyHo1

--HG--
extra : rebase_source : fdc23cfe4902ffd831adf0f9418177342906b241
2018-03-28 20:36:21 +02:00
Drew Willcoxon
e5e43736bc Bug 1221539 - Add search engine discovery to the page action menu. Part 2: Add the new action. r=Gijs
MozReview-Commit-ID: DEEZBwmV0JD

--HG--
extra : rebase_source : 71b68621198d72c069f505d922e92ed357eefe8b
2018-03-28 11:28:20 -07:00
Csoregi Natalia
f80b492e44 Backed out changeset 3e32fb05601e (bug 1448303) expected to fail on browser_windowopen.js. CLOSED TREE 2018-03-28 21:34:21 +03:00
Dão Gottwald
a791e420c3 Bug 1448303 - Refactor TabsInTitlebar initial update handling. r=florian
MozReview-Commit-ID: ASVRIsVIoKa

--HG--
extra : rebase_source : 2a388c9f15c75fb736550714df062d1c4d7a0ed2
2018-03-28 20:24:26 +02:00
Margareta Eliza Balazs
7f19ad998a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-28 00:59:33 +03:00
Dão Gottwald
e6320ddb5d Bug 1448565 - Extract tab bar visibility handling from the tabs binding. r=Gijs
MozReview-Commit-ID: RDvodB7C8e

--HG--
extra : rebase_source : 821cfdd9e3a6cfafd19ab46a9395f06ad01f9ec8
2018-03-27 23:19:15 +02:00
Franziskus Kiefer
806baa5430 Bug 1415279 - Move error strings for certError and netError pages to frontend, r=johannh,keeler,Honza,snorp
This patch moves all TLS error string handling to the frontend.
Dev-tools doesn't show the same error code as the page does anymore but only the error code as string.
All logging of these error messages has been removed.

Bug #: 1415279

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

--HG--
extra : rebase_source : 61e2d94cb21ef4c02b81448531609205c85a9707
2018-03-27 13:31:52 +02:00
Coroiu Cristina
f7507f7dd5 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-03-27 01:33:50 +03:00
Dão Gottwald
a42207b4aa Bug 1448613 - Clean up TabsInTitlebar resize event handling. r=johannh
MozReview-Commit-ID: CXsfgWOAtwO

--HG--
extra : rebase_source : a0f53ac721b08d1adaaf90578f7499e18d567d0f
2018-03-26 17:24:17 +02:00
Csoregi Natalia
977c314ca4 Backed out changeset a1bb89af06ba (bug 1448613) - expected to fail due to Bug 1446264. CLOSED TREE 2018-03-26 18:19:14 +03:00
Dão Gottwald
99010f0537 Bug 1448613 - Clean up TabsInTitlebar resize event handling. r=johannh
MozReview-Commit-ID: 9UaG2RHst7

--HG--
extra : rebase_source : 1dd7d38344f8645f9cae1d5ce6b58c0e5d24807d
2018-03-25 05:54:38 +02:00
Tim Nguyen
e002c63fa4 Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht

--HG--
extra : rebase_source : 881e10f2987606e84e55c267260661c0f7b3b746
2018-03-16 23:21:46 +00:00
Tim Nguyen
5e399b2f06 Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw

--HG--
extra : rebase_source : 31166bca511e5bc16ffff2acab2e3295d9f6079c
2018-03-25 14:35:17 +02:00
Margareta Eliza Balazs
27703664b0 Backed out 2 changesets (bug 1444760) for ES lint failure in /builds/worker/checkouts/gecko/browser/base/content/browser.js on a CLOSED TREE
Backed out changeset 71f61091a716 (bug 1444760)
Backed out changeset 4956db1e9bdd (bug 1444760)
2018-03-25 15:29:54 +03:00
Tim Nguyen
e2ed0b5dfb Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht

--HG--
extra : rebase_source : 8e9f24d20829021db2239435c7d8d0db08e28bf9
2018-03-16 23:21:46 +00:00
Tim Nguyen
78b296ff06 Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw

--HG--
extra : rebase_source : e44817bd271a3477fdd54f405beb1b5096a032d0
2018-03-25 13:59:50 +02:00
Dão Gottwald
a53d603a50 Bug 1448572 - ToolbarIconColor.uninit and CompactTheme.uninit need to run even if the load event wasn't handled. r=bgrins
MozReview-Commit-ID: Cks9rSMZo5y

--HG--
extra : rebase_source : b08f4e4d7f297fb81d6a82c702b0ae924d92cd40
2018-03-24 18:34:19 +01:00
Dão Gottwald
ed71721eed Bug 1448286 - Remove redundant gBrowser.tabContainer.updateVisibility call. r=florian
MozReview-Commit-ID: 8mdaanwgH7b

--HG--
extra : rebase_source : 6894145402b3d4d6252f0ed1203ffbfd80dc3216
2018-03-23 12:10:56 +01:00
Dão Gottwald
58bab935a5 Bug 1448078 - Set the extradragspace attribute before TabsInTitlebar does its initial update. r=johannh
MozReview-Commit-ID: 4jYJ8K3EWfa

--HG--
extra : rebase_source : 6314f4fd7525748f62cb8111e848b46706136a21
2018-03-22 18:52:29 +01:00
Dão Gottwald
69dab05a48 Bug 1448043 - Activate the Light/Dark theme stylesheet before the initial layout. r=bgrins
MozReview-Commit-ID: BQRiXfopFFI

--HG--
extra : rebase_source : c7895e6221024c8f6a1c267a3ca734df405d3f19
2018-03-22 17:05:09 +01:00
Dão Gottwald
2aff048970 Bug 1448017 - Initialize ToolbarIconColor before the initial layout to spare a potential restyle after the initial layout. r=bgrins
MozReview-Commit-ID: LLJ2EftdXZn

--HG--
extra : rebase_source : 26292d2555e705672d6bf5b2381d3626c1b31f3c
2018-03-22 16:18:20 +01:00
Brian Grinstead
f935a6e935 Bug 1447052 - Set up LightweightThemeConsumer in onBeforeInitialXULLayout instead of onLoad r=dao
MozReview-Commit-ID: GjuSvpkywlR

--HG--
extra : rebase_source : e074b3590e69e19a85234b781223ea4bdab34fd1
2018-03-20 12:19:39 -07:00