Commit Graph

18779 Commits

Author SHA1 Message Date
Johann Hofmann
35166c8f08 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau

--HG--
extra : rebase_source : 3f3aae722ca2e1b6a28a29a5116d66bf40aa8092
2018-05-22 16:26:55 +02:00
Tawny Hoover
76e5f6e185 Bug 1400323 - Refactor code for openInTabClosesMenu pref to avoid needing setTimeout on Mac. (cleanup on popuphidden) r=mak
MozReview-Commit-ID: FR6vZksnFEz

--HG--
extra : rebase_source : 2600a29f733f179426a65c096fc264de70d3dff3
2018-05-17 22:32:47 -04:00
Mark Striemer
46f9153fac Bug 1455300 - Part 2: Include hidden tabs in the History menu r=mak
MozReview-Commit-ID: 8sKrAJVIAD5

--HG--
extra : rebase_source : 3f60e2c766051b6e8c8f92cb6680e7f528d8895a
2018-05-10 16:01:36 -05: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
Kris Maglione
a55436fb3d Bug 1460610: Follow-up: Fix test expectations. r=bustage DONTBUILD
MozReview-Commit-ID: 5jGHu7WKY30
2018-05-27 21:51:16 -07:00
Kris Maglione
894cc5fddb Bug 1461145: Follow-up: Fix still more racy tests. r=bustage,test-only
MozReview-Commit-ID: AnyF6jwyhDv

--HG--
extra : rebase_source : 97640dd2f31cc1105e0296b356d781996ee37113
2018-05-27 18:34:36 -07:00
Cosmin Sabou
5a74471337 Merge inbound to mozilla-central. a=merge 2018-05-27 15:58:59 +03: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
fb9eccfcd6 Bug 1462808 - Adjust PageStyleHandler code to handle its events and messages as a singleton. r=Gijs 2018-05-25 14:22:15 -03:00
Felipe Gomes
f326f3a1aa Bug 1462808 - Part 0. Copy PageStyleHandler code from tab-content.js to a new file. r=Gijs
--HG--
rename : browser/base/content/tab-content.js => browser/modules/PageStyleHandler.jsm
2018-05-25 14:22:14 -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
Felipe Gomes
b8f8e8cea0 Bug 1461548 - Part 0. Move RefreshBlocker to a new frame script. r=mconley
--HG--
rename : browser/base/content/tab-content.js => browser/base/content/content-refreshblocker.js
2018-05-25 14:22:14 -03:00
Felipe Gomes
f522819af4 Bug 1462673 - Only load LightWeightThemeWebInstallListener when necessary. r=mconley
Convert LightWeightThemeWebInstallListener to a singleton, and add it as a lazy proxy listener.
2018-05-25 14:22:14 -03:00
Felipe Gomes
a2588ee03c Bug 1462673 - Part 0. Copy LightWeightThemeWebInstallListener code from content.js to a jsm. r=mconley
--HG--
rename : browser/base/content/content.js => browser/modules/LightWeightThemeWebInstallListener.jsm
2018-05-25 14:22:14 -03:00
Felipe Gomes
511e513fa8 Bug 1461444 - Only load the PageInfoListener content code when needed. r=johannh
In addition to the code going to a .jsm, it became a singleton that implements nsIMessageListener, instead of being one instance per tab (which is usually done to give easier access to the page's content, but it's possible to get to it through each message, as message.target.content
2018-05-25 14:22:13 -03:00
Felipe Gomes
9c7cf9d19b Bug 1461444 - Part 0. Copy PageInfoListener code from content.js to a new file. r=johannh
--HG--
rename : browser/base/content/content.js => browser/modules/PageInfoListener.jsm
2018-05-25 14:22:13 -03:00
Felipe Gomes
24fba1c383 Bug 1461247 - Only load FormSubmitObserver.jsm when an invalidformsubmit notification happens. r=MattN 2018-05-25 14:22:13 -03:00
Felipe Gomes
de2e7d62ab Bug 1461248 - Only load ContextMenu.jsm when a contextmenu event occurs. r=mconley 2018-05-25 14:22:13 -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
9515340567 Bug 1459887 - Relabel the "Remove Bookmark" button to "Cancel" in the New Bookmark dialog. r=standard8
MozReview-Commit-ID: EcCW2eBzfBT

--HG--
extra : rebase_source : f9160b3a36085f375bb47fe0d18740fd7e020ebb
2018-05-25 10:53:53 +02:00
Alex
51b7deb7de Bug 1445261 - Change promiseTopicObserved with TestUtils.topicObserved for one occurrence r=johannh
Removed the promiseTopicObserved function declaration from head.js.

MozReview-Commit-ID: 9Oyd29fi9ef

--HG--
extra : rebase_source : c01c71f6a12a13738124a8863e9f3114b4842d25
2018-05-18 09:16:48 -07: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
Kris Maglione
7153d68ecc Bug 1461145: Follow-up: Fix racy tests. r=trivial,test-only
MozReview-Commit-ID: IXaiDpU9l7A
2018-05-26 16:40:33 -07:00
Kris Maglione
6ac523347a Bug 1461145: Support async startup/shutdown bootstrap methods. r=aswan
MozReview-Commit-ID: L0G4DA0KJ87

--HG--
extra : rebase_source : b774d70d11c47d138535685104c5d5bc197f7866
2018-05-12 18:51:32 -07:00
Mark Banner
11e49d2982 Bug 824502 - Change folder=<id> to parent=<guid> in Places' bookmark queries. r=mak
This allows queries to be stable across devices, and requires less work to obtain the ids.

MozReview-Commit-ID: 5KAKKags7o9

--HG--
extra : rebase_source : 22c01cf5b24468dd76dabe63fa9d1033d4138e54
2018-04-26 09:05:00 +01:00
Tomislav Jovanovic
253cc63c47 bug 1455269 - Cancel instalation on notification dismissal r=aswan
MozReview-Commit-ID: DqbgdVTarQ8

--HG--
extra : rebase_source : 94f6be292041e8c83ed40b2db9af596de8ac9593
2018-05-17 20:46:21 +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
Dão Gottwald
bc78820c00 Bug 1462580 - Don't exit DOM fullscreen mode when opening or closing background tabs. r=jaws
MozReview-Commit-ID: Da12eDWYFNy

--HG--
extra : rebase_source : 396cc37e1cbc7733b43d842abd0715c666524dbc
2018-05-23 10:44:00 +02:00
Emilio Cobos Álvarez
518362d207 Bug 1463737: Move toolbarpaletteitem-box to browser.css. r=Paolo
I messed up while rebasing on top of bug 1450816.

MozReview-Commit-ID: Hn2dQhJpsL1

--HG--
extra : rebase_source : 3d08fc963e2f734bed40b6a5090b435a5b88b7a1
2018-05-23 15:48:50 +02:00
Dorel Luca
dbe91ea7b6 Merge mozilla-central to autoland 2018-05-23 13:03:24 +03:00
Dorel Luca
dc6d856805 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-23 12:51:22 +03:00
Dão Gottwald
2ae6b628dc Bug 1459885 - Implement new header style and lay out labels above input fields in the new bookmarks dialog. r=mak
MozReview-Commit-ID: 9FmGhfP9aDo

--HG--
extra : rebase_source : eaf2854b569ecb2e7c8012b65b3f0f9b94a47139
2018-05-22 12:21:52 +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
Paolo Amadini
3e7ad96d9f Bug 1450816 - Combine the "toolbarpaletteitem" bindings in the "browser" folder. r=Gijs
MozReview-Commit-ID: BW4kDvP13Tj

--HG--
extra : rebase_source : f73916fb41b13c58701be7729f241a9d985ab371
2018-05-22 14:04:45 +01: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
Ed Lee
d90361a8a7 Bug 1396839 - "Nightly Start Page" tooltip is displayed for "Home" button when Activity Stream overrides about:home. r=Felipe,flod
MozReview-Commit-ID: 8aDobXKBIg0

--HG--
extra : rebase_source : 77014c9bc4deee363aa8d668b1ed406305e68f3f
2018-05-21 11:41:58 -07:00
Doug Thayer
c9a9de8c48 Bug 1176019 - Clear cached layers on location change r=mconley
To avoid a flash of stale content in the event of a slow tab
switch, we need to make sure we remove a tab from the cache if
its location changes while it's in the background.

MozReview-Commit-ID: ElpoWhhjb0n

--HG--
extra : rebase_source : 615ebd1a57916e0fe2b8c062ab47ffe748397033
2018-05-15 09:29:16 -07:00
Doug Thayer
6572652a7d Bug 1176019 - Cache layers of background tabs r=mconley
We maintain a simple LRU cache of tab layers by setting their
docShellIsActive = false with preserveLayers(true). Once they
are pushed out of the cache by more recently used tabs, their
layers are discarded.

Luckily most of the complexity of this could be contained in
the AsyncTabSwitcher - the one change that had to sit outside of
that was moving the aTab.closing = true earlier in the removeTab
call, so that we could use that information to eagerly evict tabs
from the cache. This was to address a leak in a few tests on try.

MozReview-Commit-ID: 2E3uU8LEYkD

--HG--
extra : rebase_source : d2865fd1ee10db17d9f41cca059a5cee697f259d
2018-04-16 15:35:41 -07:00
Ciure Andrei
2f509969e9 Merge inbound to mozilla-central. a=merge 2018-05-19 01:05:58 +03:00
Paolo Amadini
fefb57eaed Bug 1462297 - Fix leftover reference to "browser-tabPreviews.xml". rs=Aryx on a CLOSED TREE
--HG--
extra : rebase_source : bf8b607435de2a0dc92d9bfdb85ec92b4f8bf5e7
extra : amend_source : 17ef46c9aaee692d91c7603cd7d8f8bcad0d5c4c
2018-05-18 14:43:37 +01:00
Paolo Amadini
5c9fd0f400 Bug 1462297 - Remove the "ctrlTab-preview" binding. r=bgrins
MozReview-Commit-ID: BPJiakgo3wR

--HG--
extra : rebase_source : d8286c8ff275694ed8ccbc8f755ca208ac979f97
2018-05-18 14:07:00 +01:00
layely
9027df6ec0 Bug 1458013 - Add ability to select a range of tabs using Shift. r=jaws
MozReview-Commit-ID: DQxhkTEyRyq

--HG--
extra : rebase_source : 226b316c7222a8c827f98da60579bfdde06f9d64
2018-05-17 02:38:14 +00:00
Constantine Filin
8c1da4c1ae Bug 1446721: replacing parent.removeChild(child) with simpler child.remove; r=dao
MozReview-Commit-ID: 3QUuiu3CVo5

--HG--
extra : rebase_source : 583a4b8fbbe6606453d9856dc1c055c9be06387f
2018-05-17 00:10:28 -07:00
Cosmin Sabou
da499aac68 Merge inbound to mozilla-central. a=merge 2018-05-17 18:28:27 +03:00
Dão Gottwald
9866699154 Bug 1458793 - Update flicker conditions to account for bug 1183135. r=mconley
MozReview-Commit-ID: 5xgXzdf68wg

--HG--
extra : rebase_source : 860dfa16f24f9a70fb59c62184c2792dd41b92b0
2018-05-17 13:10:11 +02:00
Cosmin Sabou
caba9f10be Merge mozilla-central to inbound. a=merge 2018-05-17 12:49:47 +03:00
Stephen A Pohl
2292d234af Bug 860493: Add test for history swipe arrows. r=felipe 2018-05-16 23:09:51 -04:00