James Willcox
ec0fc52124
Bug 1524992 - Treat command line URIs as external r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D20890
2019-02-27 15:57:44 +00:00
Daniel Varga
35da162d3b
Backed out 2 changesets (bug 1524992) for linting opt failure on a CLOSED TREE
...
Backed out changeset 998c1f756e51 (bug 1524992)
Backed out changeset e5da75d979ef (bug 1524992)
2019-02-27 17:19:45 +02:00
James Willcox
6244a2a0f5
Bug 1524992 - Treat command line URIs as external r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D20890
2019-02-26 19:23:43 +00:00
shindli
641b0ef885
Backed out 2 changesets (bug 1442694) for breaking session restores on update a=backout
...
Backed out changeset f100f8631f78 (bug 1442694)
Backed out changeset 7a20c79a0e12 (bug 1442694)
2019-02-26 18:32:20 +02:00
Doug Thayer
82f10b5098
Bug 1442694 - Preopen pinned tabs before session restore r=Gijs
...
When we open firefox with pinned tabs, we first paint a window with
one tab open, and then that tab gets displaced after the pinned tabs
come in. This aims to ensure that our first paint contains the
pinned tab, so that we don't have tabs moving around after first
paint.
MozReview-Commit-ID: GC1y6NlgLTd
Differential Revision: https://phabricator.services.mozilla.com/D18742
2019-02-25 19:19:07 +00:00
Christoph Kerschbaumer
3dd19b31a3
Bug 1518454: Part 2, frontend changes, add CSP to loadURIOptions dictionary and pass CSP explicitly from frontend to docshell. r=gijs
2019-02-22 09:19:26 +01:00
Christoph Kerschbaumer
b0812aa988
Bug 1529252: Remove the 2 from the various version to create a channel within nsIIOService.idl. r=valentin
2019-02-21 12:48:20 +01:00
Jonathan Kingston
540181c731
Bug 1521549 - Move (de)serializePrincipal from sessionstore Utils to E10SUtils. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D17261
2019-02-19 02:34:09 +00:00
Thomas Nguyen
7405fdc8a3
Bug 1517703 - Part 2 - Use ReferrerInfo in loadURIOptions from js r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D17922
2019-02-12 19:35:24 +00:00
Mike Conley
b013ece5a7
Bug 1523648 - Remove BUSY_TAB_ABANDONED probe and tests. r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D19165
2019-02-08 19:41:42 +00:00
Alastor Wu
5c86f0cd81
Bug 1525374 - Update expired Telemetry for tab audio indicator. r=jaws,janerik
...
* TAB_AUDIO_INDICATOR_USED
Keep this ping in order to know the usage of different icons, especially the play icon is part of blocking autoplay feature which would probably be landed in fx66. And we would like to know how many user would use that icon to resume blocked media.
* TAB_MEDIA_BLOCKING_TIME_MS
This telemetry is used to record the delaying time, and we could remove it because now we don't need this data for our analysis.
Differential Revision: https://phabricator.services.mozilla.com/D18741
2019-02-07 18:01:13 +00:00
Johann Hofmann
ed19d5158b
Bug 377496 - Improve auth dialog blocking heuristics. r=MattN
...
The fix in bug 1312243 introduced a maximum of three consecutive cancelations (controlled by a pref) that a user could perform until Firefox would prevent the page from showing more dialogs.
This, in my opinion, is a great idea. The implementation, however, has a major fallacy: It checks the inner window id in the well-meaning attempt to find user navigation or reloads and clears its internal counter when that window id changes. Unfortunately this also clears the counter on non-user-initiated navigations and reloads. I believe that the true intention of the patch was to cancel the auth dialog after 3 attempts, except if:
- The user reloads the page on their own terms
- The user navigates to a different site on their own
Which is what I plan to implement, using the same pattern we applied to implement temporarily blocked site permissions:
- Temporarily store basic auth counter state on the browser object, as a map from baseDomain (eTLD+1) to number of cancellations
- Reset this state only on user initiated reload
- Reset the counter for a domain if the user has entered login data into the dialog and submitted
This would mitigate the DOS issue while hopefully not breaking any sites that rely on basic auth.
Differential Revision: https://phabricator.services.mozilla.com/D18019
2019-02-03 19:42:19 +00:00
Oriol Brufau
350ab5623a
Bug 1524254 - Rename addTab's title parameter to lazyTabTitle. r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D18320
2019-02-01 10:33:19 +00:00
Mike Conley
98b419a556
Bug 1522546 - Make tabbrowser access browser remoteType property rather than the attribute. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D18223
2019-01-31 19:54:07 +00:00
Oriol Brufau
5e6c962881
Bug 1521346 - Preserve lazyness when moving tabs into a new window. r=jaws
...
TODO: the first lazy tab is not moved using gBrowser.adoptTab, so it's still unlazified.
Differential Revision: https://phabricator.services.mozilla.com/D17084
2019-01-31 00:33:39 +00:00
Myk Melez
5ecc2c1225
Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D17526
2019-01-30 17:26:25 +00:00
Jared Wein
a8451d8c9a
Bug 1135303 - Don't warn when closing multiple tabs if sessionstore can undo close the requested amount of tabs. r=Gijs,mikedeboer
...
Differential Revision: https://phabricator.services.mozilla.com/D17858
2019-01-30 13:36:25 +00:00
Mike Conley
8a0d2296d2
Bug 1277060 - Rename initialPageLoadedFromURLBar to initialPageLoadedFromUserAction. r=Gijs
...
There are cases where we might want to set this from a non-URL bar user action -
for example, when clicking on the Home button.
Differential Revision: https://phabricator.services.mozilla.com/D17407
2019-01-28 21:22:47 +00:00
Gijs Kruitbosch
56c0f09b02
Bug 1521708, r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D17244
2019-01-22 15:24:36 +00:00
Ehsan Akhgari
6786193fda
Bug 1521582 - Only simulate onContentBlockingEvent from onLocationChange for top-level non-samedocument notifications; r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D17145
2019-01-21 22:15:37 -05:00
Ehsan Akhgari
5530c0b72d
Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Gijs Kruitbosch
94511875f5
Bug 1520791 - ensure initial browser's docshell is marked as active in the parent, r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D16862
2019-01-17 15:58:36 +00:00
Brian Grinstead
8bb446412a
Bug 1519461 - Don't return values from docShellIsActive, renderLayers, and userTypedValue setters;r=mconley
...
This is more consistent with other setters, and lets us handle the null frameLoader
case a bit more simply.
Differential Revision: https://phabricator.services.mozilla.com/D16370
2019-01-14 20:36:25 +00:00
Brian Grinstead
d3484f107d
Bug 1441935 - Modifications on top of the generated MozBrowser Custom Element r=mconley
...
In order to make the history easier to navigate, this changeset includes the
modifications required to make <xul:browser> actually work as a Custom Element,
and switches the app to use it instead of the XBL browser.
Differential Revision: https://phabricator.services.mozilla.com/D14911
2019-01-10 01:45:43 +00:00
Alastor Wu
20a7687e15
Bug 1513681 - part5 : remove event 'AudibleAutoplayMediaOccurred'. r=jaws
...
This event is used for shield-study which has finished, so we could remove it.
Differential Revision: https://phabricator.services.mozilla.com/D14810
2019-01-04 19:04:39 +00:00
Alastor Wu
2c7902c191
Bug 1513681 - part2 : handle 'GloballyAutoplayBlocked' event r=jaws,daleharvey
...
Handle the process from receiving event to showing the block icon.
Differential Revision: https://phabricator.services.mozilla.com/D14795
2019-01-04 18:33:53 +00:00
Timothy Guan-tin Chien
c7843797af
Bug 1512048 - Convert tabmodalprompt binding to JSM module r=Gijs
...
This converts the tabmodalprompt binding to a class, to be constructed along side with the element
by TabModalPromptBox.
TabModalPromptBox will keep the instances in a map and pass it to the callers, instead of the element.
The tests and callers can access the class instance by passing the element reference to the map.
Differential Revision: https://phabricator.services.mozilla.com/D15505
2019-01-04 19:29:34 +00:00
Bogdan Tara
79afa3ad77
Backed out 5 changesets (bug 1513681) for browser_autoplay_blocked.js failures CLOSED TREE
...
Backed out changeset d24ddb803761 (bug 1513681)
Backed out changeset 6f52b229d953 (bug 1513681)
Backed out changeset 79a78732c3ac (bug 1513681)
Backed out changeset d0a9422928ae (bug 1513681)
Backed out changeset 23b5a58e3bcc (bug 1513681)
2018-12-29 04:00:53 +02:00
alwu
b07ef7e3e8
Bug 1513681 - part5 : remove event 'AudibleAutoplayMediaOccurred'. r=jaws
...
This event is used for shield-study which has finished, so we could remove it.
Differential Revision: https://phabricator.services.mozilla.com/D14810
2018-12-21 19:01:10 +00:00
alwu
b577f9016f
Bug 1513681 - part2 : handle 'GloballyAutoplayBlocked' event r=jaws,daleharvey
...
Handle the process from receiving event to showing the block icon.
Differential Revision: https://phabricator.services.mozilla.com/D14795
2018-12-28 09:12:44 +00:00
Mike Conley
7d43605d45
Bug 1503796 - Convert XPCOM arrays and strings from nsBrowserContentHandler to JS arrays and strings earlier when opening browser windows. r=Gijs
...
This also makes it so that the initial browser tab setup code can handle a JS array
as the URI(s) to load during start-up. If it's an array, the first element of that
array is inspected to determine what process type the initial browser tab should
be in.
Differential Revision: https://phabricator.services.mozilla.com/D14755
2018-12-17 21:21:57 +00:00
Dão Gottwald
6947b51ead
Bug 1394188 - Make tab labels not change during reload. r=bzbarsky,florian
...
Differential Revision: https://phabricator.services.mozilla.com/D14602
2018-12-17 12:33:29 +00:00
Ehsan Akhgari
61fe3c0a09
Bug 1510911 - Part 2: Backout changeset f8849239da42 (bug 1493563 - Part 5) for regressing performance
2018-12-03 14:27:53 -05:00
Gijs Kruitbosch
3c50ed662a
Bug 1506173 - use separate pref for warning on quit with sessionstore enabled, r=jaws,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D13535
2018-11-30 20:21:59 +00:00
Jared Wein
64c89796af
Bug 1511095 - Remove SchedulePressure.jsm and the fallback loading throbber in the tabstrip. r=mconley
...
The APNG version is still used by the TabsList which can't support the SVG version of the throbber currently.
Differential Revision: https://phabricator.services.mozilla.com/D13461
2018-11-29 22:25:33 +00:00
Dão Gottwald
29b000b09b
Bug 1509309 - Move most browser-*.js scripts from global-scripts.inc to browser.xul. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D13064
2018-11-27 21:55:21 +00:00
Gijs Kruitbosch
0bfbe7d639
Bug 1509906 - use the window's initial url to determine what remoteType the initial browser should have, r=dao,mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D13016
2018-11-27 15:56:26 +00:00
Dão Gottwald
9931da215f
Bug 1509651 - Stop flushing style for knowing the UI direction. r=florian
...
Differential Revision: https://phabricator.services.mozilla.com/D12827
2018-11-26 11:59:04 +00:00
Dão Gottwald
a69a1376a9
Bug 1509489 - Make StatusPanel._calcMouseTargetRect not flush layout or style and revert bug 1358712. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D12747
2018-11-23 17:35:06 +00:00
Dão Gottwald
179c4b329f
Bug 1508603 - Introduce a private scope around gBrowser. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D12429
2018-11-21 18:22:43 +00:00
Michael Kohler
92583bb1ea
Bug 1500218 - Set 'Move to Start' and 'Move to End' disabled state according to contextTab and contextTab position r=dao,jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D9598
2018-11-21 11:30:33 +00:00
Gijs Kruitbosch
ca88c0afe0
Bug 1506608 - default to remote for e10s windows, r=mconley,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D11913
2018-11-19 18:56:18 +00:00
Jared Wein
a5f301713b
Bug 1504277 - Open new tabs at the end of a multiselection of tabs if the New Tab button is ctrl-clicked. r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D11376
2018-11-18 22:26:52 +00:00
Cosmin Sabou
d8a9059a88
Backed out changeset 988fd6689153 (bug 1504277) for browser chrome failures on browser_multiselect_tabs_open_related.
2018-11-16 23:45:20 +02:00
Jared Wein
cf124b5932
Bug 1506878 - Use the same accesskey for Unmute Tabs and Mute Tabs as we do for Unmute Tab and Mute Tab. r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D12173
2018-11-16 21:26:53 +00:00
Jared Wein
e7dad40154
Bug 1504277 - Open new tabs at the end of a multiselection of tabs if the New Tab button is ctrl-clicked. r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D11376
2018-11-16 20:41:57 +00:00
reimu
b103281ffa
Bug 1504522 - Remove gBrowser.serializationHelper getter because it's unused r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D11660
2018-11-13 12:01:38 +00:00
Abdoulaye O. Ly
70e6e76697
Bug 1500098 - Reopen multi-selected tabs in container. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D11145
2018-11-12 18:43:48 +00:00
Cosmin Sabou
33d1e24c0a
Merge mozilla-central to mozilla-inbound.
2018-11-10 13:51:14 +02:00
Jared Wein
7fc85e22ef
Bug 1497980 - Add a 'Duplicate Tabs' menuitem when multiple tabs are selected. r=Felipe,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D11281
2018-11-09 21:51:40 +00:00