Commit graph

4177 commits

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