Commit graph

4397 commits

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

--HG--
extra : rebase_source : fe4acce0443df2fad8e15bf54733b7d810cdd2ca
2018-10-25 12:03:14 -04:00
Kris Maglione
ade8c9ede8 Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D9888

--HG--
extra : source : afd0a13bcfff4c92ad2497ec687f466484481667
extra : amend_source : 501bca3f94a0cb0c8bec1f30d0b3f64a50b04e48
extra : intermediate-source : bc03f101937e373fdaca735f3f356960a5239bc0
2018-10-25 19:04:01 -07:00
arthur.iakab
0c81738411 Backed out 2 changesets (bug 1482091) for bc failures on browser_domFullscreen_fullscreenMode.js
Backed out changeset bc03f101937e (bug 1482091)
Backed out changeset 28a19b7290ab (bug 1482091)
2018-11-03 01:08:36 +02:00
Kris Maglione
7fa01216a4 Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D9888

--HG--
extra : source : afd0a13bcfff4c92ad2497ec687f466484481667
extra : amend_source : bf22d8e9ce5c081902bd5c75b892cc434a167300
2018-10-25 19:04:01 -07:00
arthur.iakab
cf2aa54f83 Backed out 2 changesets (bug 1482091)for failing browser chrome failures on browser_panelUINotifications_fullscreen_noAutoHideToolbar.js
Backed out changeset afd0a13bcfff (bug 1482091)
Backed out changeset a19c6b3e0402 (bug 1482091)
2018-11-02 23:01:15 +02:00
Kris Maglione
96f3e16d1a Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D9888

--HG--
extra : rebase_source : a9daea3a9efea37acdbcaecda8bf0b7f69631de4
extra : histedit_source : bb8b416b1387da9de3bd95c7a171f10426a22602
2018-10-25 19:04:01 -07:00
Gijs Kruitbosch
b2642e4564 Bug 1362774 - don't create about:blank for the initial browser, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D10338

--HG--
extra : rebase_source : dc525622761d3d39c652096125c93de9464f345e
2018-11-01 11:06:32 +00:00
Oriol Brufau
d57ad11213 Bug 1503600 - Reorder "Manage Extension" and "Remove Extension" in browserAction context menu. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D10382

--HG--
extra : moz-landing-system : lando
2018-10-31 16:55:06 +00:00
Jonathan Kingston
671423e741 Bug 1149485 - Replace about:blocked references to blacklist to blocklist. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D10003

--HG--
rename : toolkit/themes/linux/global/icons/blacklist_favicon.png => toolkit/themes/linux/global/icons/blocklist_favicon.png
rename : toolkit/themes/osx/global/icons/blacklist_favicon.png => toolkit/themes/osx/global/icons/blocklist_favicon.png
rename : toolkit/themes/windows/global/icons/blacklist_favicon.png => toolkit/themes/windows/global/icons/blocklist_favicon.png
extra : moz-landing-system : lando
2018-10-29 11:24:59 +00:00
Siddhant085
6ab6938f8c Bug 1493483 - Use nsIBrowserSearchService::defaultEngine instead of currentEngine (in production code) r=Standard8
nsIBrowserSearchService::currentEngine and nsIBrowserSearchService::defaultEngine are the same thing.
The use of defaultEngine makes more sense and thus we are phasing out the use of currentEngine and replace it with defaultEngine.

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

--HG--
extra : moz-landing-system : lando
2018-10-27 16:52:02 +00:00
Mark Banner
e7f2c79ef9 Bug 1502069 - isTabEmpty should be a property on the tab rather than a global function. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D9926

--HG--
extra : moz-landing-system : lando
2018-10-26 16:42:11 +00:00
Mark Banner
20af54f2b3 Bug 1502039 - Move addToUrlbarHistory, getShortcutOrURIAndPostData and getPostDataStream to UrlbarUtils. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D9783

--HG--
rename : browser/base/content/test/general/browser_getshortcutoruri.js => browser/components/urlbar/tests/unit/test_UrlbarUtils_getShortcutOrURIAndPostData.js
extra : moz-landing-system : lando
2018-10-25 14:35:32 +00:00
Paolo Amadini
3320f4e2ef Bug 1486984 - Fix find commands for PDF and special pages, and remove obsolete code. r=Gijs
Support for finding text in a page is now determined by a blacklist of locations, simplifying handling in multi-process mode and restoring the intended behavior.

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

--HG--
extra : rebase_source : 129f3d4e3cdd3673251ed7a3cc58101dd3cb0c91
2018-10-23 15:29:09 +01:00
inspiro
0279e9b5c0 Bug 1500129 - Cleaned up openPreferences call. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D9498

--HG--
extra : moz-landing-system : lando
2018-10-23 10:56:43 +00:00
Dão Gottwald
72385fd5cb Bug 1500136 - Use openTrustedLinkIn in gStoragePressureObserver. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D9125

--HG--
extra : moz-landing-system : lando
2018-10-18 17:19:32 +00:00
Gijs Kruitbosch
0649c40a3c Bug 1499236 - remove customizableui menubar binding, r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D8901

--HG--
extra : moz-landing-system : lando
2018-10-17 22:50:40 +00:00
Johann Hofmann
4dfe346a4b Bug 1484873 - Add a "View Certificate" link to all cert error pages. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D8966

--HG--
extra : moz-landing-system : lando
2018-10-17 14:16:41 +00:00
Margareta Eliza Balazs
f555fd3b60 Backed out changeset 868c99ece921 (bug 1484873) for ES lint failure /builds/worker/checkouts/gecko/browser/base/content/browser.js CLOSED TREE 2018-10-17 17:02:16 +03:00
Johann Hofmann
2d2b279d6d Bug 1484873 - Add a "View Certificate" link to all cert error pages. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D8966

--HG--
extra : moz-landing-system : lando
2018-10-17 13:09:27 +00:00
Johann Hofmann
a63c05f4b8 Bug 1484255 - Add Telemetry Events for the certificate error pages. r=nhnt11,keeler
Differential Revision: https://phabricator.services.mozilla.com/D8281

--HG--
extra : moz-landing-system : lando
2018-10-17 13:10:26 +00:00
Gijs Kruitbosch
9048f58f8f Bug 1477669 - remove feed preview code and associated files/code, r=flod,mak,nika
Differential Revision: https://phabricator.services.mozilla.com/D8524

--HG--
extra : moz-landing-system : lando
2018-10-16 12:47:36 +00:00
Ciure Andrei
673efa0461 Backed out changeset 1119f9458b5d (bug 1484255) for browser_aboutCertError_telemetry.js failures CLOSED TREE 2018-10-16 03:33:42 +03:00
Johann Hofmann
9f4cd70201 Bug 1484255 - Add Telemetry Events for the certificate error pages. r=nhnt11,keeler
Differential Revision: https://phabricator.services.mozilla.com/D8281

--HG--
extra : moz-landing-system : lando
2018-10-15 23:00:08 +00:00
Dão Gottwald
b8a72790cb Bug 1498748 - Stop ignoring browser.urlbar.quantumbar in the first window. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D8633

--HG--
extra : moz-landing-system : lando
2018-10-15 12:59:31 +00:00
Jared Wein
d38a852ff0 Bug 1480532 - Remove 'Reload All Tabs' from tab context menu. r=Felipe
I left off the part about adding Reload Tabs to the All Tabs menu since the specs don't mention how this would appear with the New Container Tab menuitem and the Tab Manager project has been split off from the multiselect tabs project.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 21:16:44 +00:00
Jared Wein
db73173d1f Bug 1496338 - Tab bar context menu should read 'Bookmark Selected Tab...' if only one tab is selected. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D8267

--HG--
extra : moz-landing-system : lando
2018-10-12 21:15:34 +00:00
Tim Huang
7e10fe7a29 Bug 1489493 - Add a scalar telemetry for the size of content windows r=Gijs,francois
In order to improve the window rounding fingerprinting protection, we
want to find a proper rounding value which provides good protection as
well as good user experience.

With a better understanding of the content window size, we can answer
the question that which strategy we should use for improving this
protection: should we use certain fixed window sizes or still
stick with the current rounding strategy? Also, if we still stick with
the current approach, then what is the best rounding value which allows
users to utilize their window as much as possible without losing too
much protection.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 19:46:25 +00:00
Dão Gottwald
87fbb29107 Bug 1496322 - Update window border colors for Windows 10 1809 update. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D7718

--HG--
extra : moz-landing-system : lando
2018-10-11 12:31:07 +00:00
Csoregi Natalia
523d3ae4fe Backed out changeset c35bab726b03 (bug 1493483) for multiple browser-chrome failures e.g browser_extension_controlled.js. CLOSED TREE 2018-10-09 23:26:24 +03:00
Siddhant085
5e4fc9f261 Bug 1493483 - Use nsIBrowserSearchService::defaultEngine instead of currentEngine (in production code) r=Standard8
nsIBrowserSearchService::currentEngine and nsIBrowserSearchService::defaultEngine are the same thing.
The use of defaultEngine makes more sense and thus we are phasing out the use of currentEngine and replace it with defaultEngine.

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

--HG--
extra : moz-landing-system : lando
2018-10-09 18:40:08 +00:00
Abdoulaye O. Ly
81a039f147 Bug 1495299 - Add support for reload tab operation using keyboard shortcuts in a multi-select context. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D7956

--HG--
extra : moz-landing-system : lando
2018-10-08 18:32:55 +00:00
Dão Gottwald
a777b5e2e4 Bug 1491245 - Introduce UrlbarValueFormatter and use it in both UrlbarInput and urlbarBindings.xml. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D7492

--HG--
rename : browser/base/content/urlbarBindings.xml => browser/components/urlbar/UrlbarValueFormatter.jsm
extra : moz-landing-system : lando
2018-10-02 19:27:42 +00:00
Mike Conley
df8929c37c Bug 1492950 - Get tabbrowser.js and browser.js off of _getTabForContentWindow. r=NeilDeakin
Depends on D6715

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

--HG--
extra : moz-landing-system : lando
2018-10-02 17:53:47 +00:00
Mike Conley
1b527cf1fc Bug 1492950 - Get browser.js off of getBrowserForContentWindow. r=Gijs
Depends on D6713

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

--HG--
extra : moz-landing-system : lando
2018-10-02 17:53:01 +00:00
Mike Conley
0d561ff26a Bug 1492950 - Get rid of getTabModalPromptBox in browser.js. r=Gijs,MattN
Depends on D6709

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

--HG--
extra : moz-landing-system : lando
2018-10-02 17:50:42 +00:00
Mike Conley
7fc357cb04 Bug 1492950 - Move ZoomManager reset for crashed tabs into ContentCrashHandlers.jsm. r=Felipe
Depends on D6706

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

--HG--
extra : moz-landing-system : lando
2018-10-02 17:50:09 +00:00
Jared Wein
435e84add2 Bug 1480529 - Changed 'Bookmark All Tabs' to 'Bookmark Tab' for single tab selections. r=Felipe
I changed the toolbar context menuitem from 'Bookmark All Tabs' to 'Bookmark Selected Tabs' because it is separated from a specific tab and thus it is not clear which tab would get bookmarked if only one is selected. This seemed much clearer to me in my testing. The wording of 'Bookmark Selected Tabs' is already used elsewhere where we have 'Reload Selected Tabs', 'Close Selected Tabs', etc.

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

--HG--
extra : moz-landing-system : lando
2018-10-02 16:24:43 +00:00
Bogdan Tara
46ad559c5f Backed out changeset 1f4d7ab6cd6d (bug 1480529) for perma failing on browser_multiselect_tabs_bookmark.js 2018-10-02 18:33:49 +03:00
Jared Wein
1b023a3753 Bug 1480529 - Changed 'Bookmark All Tabs' to 'Bookmark Tab' for single tab selections. r=Felipe
I changed the toolbar context menuitem from 'Bookmark All Tabs' to 'Bookmark Selected Tabs' because it is separated from a specific tab and thus it is not clear which tab would get bookmarked if only one is selected. This seemed much clearer to me in my testing. The wording of 'Bookmark Selected Tabs' is already used elsewhere where we have 'Reload Selected Tabs', 'Close Selected Tabs', etc.

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

--HG--
extra : moz-landing-system : lando
2018-10-02 03:19:01 +00:00
Brian Hackett
2ff1490550 Bug 1495341 - Place Web Replay menu items in their own submenu, r=jlast.
--HG--
extra : rebase_source : f710745682fe0bce31a8c4f97edfbf2868507c10
2018-10-01 09:41:32 -10:00
arthur.iakab
f0410f8d4b Merge mozilla-central to mozilla-inbound 2018-09-29 01:00:35 +03:00
Jared Wein
3b23598f85 Bug 1480456 - Add 'Select All Tabs' into tab context menu. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D7129

--HG--
extra : moz-landing-system : lando
2018-09-28 18:17:23 +00:00
Noemi Erli
9272b83369 Backed out changeset 634bcbff6b05 (bug 1480456) for failures in browser_customization_context_menus.js CLOSED TREE 2018-09-28 20:54:07 +03:00
Ehsan Akhgari
5f0be07390 Bug 1493563 - Part 5: Present the old state and the content blocking log to the web progress listeners; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6595
2018-09-28 14:46:02 -04:00
Noemi Erli
4419e20e14 Backed out 12 changesets (bug 1493563) for failures in test_css-logic-getCssPath.html CLOSED TREE
Backed out changeset d2e83655082f (bug 1493563)
Backed out changeset 1ce58f004593 (bug 1493563)
Backed out changeset 344298c73ee7 (bug 1493563)
Backed out changeset 02b8b073f7d7 (bug 1493563)
Backed out changeset 3ef707008502 (bug 1493563)
Backed out changeset bb2720a401fe (bug 1493563)
Backed out changeset ce0211be57a1 (bug 1493563)
Backed out changeset 83d6c2bf8dc6 (bug 1493563)
Backed out changeset 1844af4cc25b (bug 1493563)
Backed out changeset c8ab17addb7a (bug 1493563)
Backed out changeset a1ff0cd62563 (bug 1493563)
Backed out changeset 932b41e211e0 (bug 1493563)
2018-09-28 21:31:18 +03:00
Ehsan Akhgari
f0108e78c2 Bug 1493563 - Part 5: Present the old state and the content blocking log to the web progress listeners; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6595
2018-09-28 13:24:41 -04:00
Jared Wein
45e7e08e6d Bug 1480456 - Add 'Select All Tabs' into tab context menu. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D7129

--HG--
extra : moz-landing-system : lando
2018-09-28 14:48:40 +00:00
Dão Gottwald
da0f415be6 Bug 1491255 - Port URL trimming from urlbarBindings.xml to UrlbarInput.jsm. r=standard8 2018-09-26 17:44:04 +02:00
arthur.iakab
a4258c4cc7 Backed out changeset 8cb351adc7d3 (bug 1491255)for failing test verify on browser_urlbarTrimURLs.js 2018-09-26 18:22:56 +03:00
Dão Gottwald
01bf7fa86f Bug 1491255 - Port URL trimming from urlbarBindings.xml to UrlbarInput.jsm. r=standard8
--HG--
extra : rebase_source : c2c05adedcf29720060de4533b9badc3f5dd42ab
2018-09-26 16:11:19 +02:00