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
Andreea Pavel
a27233aacf
Backed out changeset 4ff11c25342d (bug 1497980) for failing bc at browser/base/content/test/tabs/browser_multiselect_tabs_duplicate.js on a CLOSED TREE
2018-11-09 22:08:56 +02:00
Jared Wein
24cbff7875
Bug 1497980 - Add a 'Duplicate Tabs' menuitem when multiple tabs are selected. r=Felipe
...
Differential Revision: https://phabricator.services.mozilla.com/D11281
2018-11-09 17:19:03 +00:00
Paolo Amadini
c695388eef
Bug 1471403 - Part 4 - Convert "notificationbox" to a custom class. r=bgrins
...
As part of the conversion, support for notificationsHidden and children that are not notifications is also removed.
Differential Revision: https://phabricator.services.mozilla.com/D10894
2018-11-09 14:58:18 +00:00
Paolo Amadini
ecaee75fcc
Bug 1471403 - Part 2 - Lazify the creation of "notificationbox" elements. r=dao,bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D10892
2018-11-09 14:38:49 +00:00
Gurzau Raul
315b5f2d57
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-11-08 21:16:11 +02:00
Paolo Amadini
3bd8feb52d
Bug 1505791 - Separate the browser panel from the notification box. r=dao,bgrins
...
This clarifies the intention of each caller, and opens up the possibility of converting the notificationbox element to a class that creates the DOM nodes on demand.
Differential Revision: https://phabricator.services.mozilla.com/D10577
2018-11-08 15:31:37 +00:00
Jared Wein
8d79ea9a4b
Bug 1502083 - Move the 'Close Other Tabs' and 'Close Tabs to the Right' back to the main tab context menu and out of a submenu. r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D11223
2018-11-08 09:11:42 +00:00
Jared Wein
6049826388
Bug 1504274 - Close Tabs to the Right in a multiselect context should close all tabs to the right of the contextual tab that are not selected. r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D11250
2018-11-08 11:00:13 +00:00
Mike Conley
9eb2d4a40e
Bug 1356920 - Don't calculate and flush layout inside browser-tabsintitlebar.js. r=dao
...
Folded together the following revisions:
Bug 1356920 - Remove all toolbar layout code from browser-tabsintitlebar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7805
***
Bug 1356920 - Move TabsToolbar and toolbar-menubar into the titlebar, and put the titlebar into the navigator-toolbox. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7806
***
Bug 1356920 - Put a spacer in the menubar to push titlebar items to the end, and stop the menu from stretching vertically. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7822
***
Bug 1356920 - Adjust CSS rules for new XUL document structure. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7807
***
Bug 1356920 - Fix placement of tracking protection icon. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7808
***
Bug 1356920 - Get rid of the spacer before the window caption buttons now in the TabsToolbar. r=dao
The spacer isn't necessary, since the tabbrowser-tabs node will flex to fill the available
space anyways.
Differential Revision: https://phabricator.services.mozilla.com/D7809
***
Bug 1356920 - Move movingtab attribute to navigator-toolbox to account for TabsToolbar not being a sibling of nav-bar anymore. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7810
***
Bug 1356920 - Hide the window caption buttons hbox if the native titlebar is being drawn. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7811
***
Bug 1356920 - Keep the macOS window caption buttons vertically centered when drag space is enabled. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7812
***
Bug 1356920 - Switch window caption XUL nodes from IDs to classes so that more than one can exist per doc. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7813
***
Bug 1356920 - Move titlebar items out into a preprocessed file to be included at build-time. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7814
***
Bug 1356920 - Reorganize TabsToolbar contents to force most items to the bottom of it. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D9669
***
Bug 1356920 - Update CSS to account for new DOM structure under TabsToolbar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D9670
***
Bug 1356920 - Fix titlebar button rendering when using a lwtheme without the Windows compositor. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D9671
***
Bug 1356920 - Put an ordinal rule on the window caption buttons to help ensure they stay at the end of the toolbar. r=dao
This is to ensure that the buttons are placed after the post-tabs titlebar placeholder.
Differential Revision: https://phabricator.services.mozilla.com/D7815
***
Bug 1356920 - Stretch window caption buttons to fill vertical space on Windows 8+ when using extra drag space. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7817
***
Bug 1356920 - Update onViewToolbarsPopupShowing to search for toolbars that are grandchildren of the toolbox. r?jaws
Differential Revision: https://phabricator.services.mozilla.com/D7818
***
Bug 1356920 - Hide the titlebar items in the TabsToolbar if the menubar is being displayed. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7825
***
Bug 1356920 - Fix selector for titlebar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7826
***
Bug 1356920 - Fix titlebar themeing on Linux. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7828
***
Bug 1356920 - Remove browser-tabsintitlebar layout flushes from performance test whitelist. r?florian
Differential Revision: https://phabricator.services.mozilla.com/D7829
***
Bug 1356920 - Fix bottom border of tabbar to account for new DOM structure. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7830
***
Bug 1356920 - Hide the titlebar-buttonbox-container when in fullscreen mode. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7833
2018-10-25 12:03:14 -04:00
rjairath
e39bf8fdb0
Bug 1494045 - Remove mURIFixup and use Services.uriFixup r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D10015
2018-11-02 09:04:20 +00:00
Gijs Kruitbosch
21aee16ce0
Bug 1362774 - don't create about:blank for the initial browser, r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D10338
2018-11-01 11:06:32 +00:00
Jay Lim
f780a5acbd
Bug 1472212 - Ensure that tab does not show busy or burst status whenever we navigate to about:home, about:newtab, or about:welcome in a new window. r=Gijs
...
Now that we have moved some about: pages to the privileged content process,
opening these URLs from a non-privileged content process will trigger SessionStore
to restore the tab state due to a process flip. We will set favicons for these
URLs earlier to avoid flickering and improve perceived performance.
This patch also prevents the spinner whenever a page with a local about: URI
(about:blank and about: pages that resolve to jar:// or file:// URIs) is
loaded from a process that the URI cannot load in (e.g. loading about:newtab
in the web content process), as well as during tab duplication or session
restoration for such local about: URIs.
Before this patch, there were additional frames when opening a new window, causing
browser/base/content/test/performance/browser_windowopen.js to fail. This patch
will reduce the number of frames when opening a new window.
MozReview-Commit-ID: yjj2964KSz
2018-07-20 16:43:12 -04:00