Commit graph

61 commits

Author SHA1 Message Date
Prathiksha
37f7945106 Bug 1440247 - Move gIdentityHandler into its own file (browser-siteIdentity.js). r=johannh
MozReview-Commit-ID: CsOzYthmrgl

--HG--
rename : browser/base/content/browser.js => browser/base/content/browser-siteIdentity.js
extra : rebase_source : c531999d7713e7b6731a725ab909b707578488e2
2018-03-29 19:21:50 +05:30
Brendan Dahl
8a6f97c45c Bug 1442302 - Remove placesOverlay.xul. r=Gijs,mak,standard8
The overlay was responsible for script loading and defining three elements
(bhTooltip, placesCommands, placesContext). In the majority of places where
the overlay was included only part of it was used. To remove the overlay, the
elements were each split into include files and moved into where they
were used. For the scripts, a JS file was added that defines all the lazy
modules and then this script, globalOverlay.js and utilityOverlay.js were
inlined to everywhere that would have included them from the overlay.

MozReview-Commit-ID: 8T5D46oYWLn

--HG--
rename : browser/components/places/content/placesOverlay.xul => browser/components/places/content/placesCommands.inc.xul
rename : browser/components/places/content/placesOverlay.xul => browser/components/places/content/placesContextMenu.inc.xul
extra : rebase_source : c1071af4ea264a95183cbc65caae98feb23d58e5
2018-03-12 10:43:35 -07:00
Dão Gottwald
732eeec0ab Bug 1442651 - Remove the tabbrowser element and binding. r=bgrins
MozReview-Commit-ID: 2IXukkFq5C2

--HG--
extra : rebase_source : 4fd817951e19b39b5b06e75614031302177e86b2
2018-03-05 20:33:36 +01:00
Brendan Dahl
77ac1fd5c8 Bug 1441378 - Replace baseMenuOverlay.xul with inlining and preprocessing. r=Gijs
The overlay defined two elements (helpMenu, menu_ToolsPopup) for all
platforms and three others (windowMenu, baseMenuCommandSet, baseMenuKeyset)
that were MacOS only. The two all platform elements and windowMenu were only
used once and inlined into browser-menubar.inc. The rest of the MacOS only
elements were conditionally inlined into browser-sets.inc.

MozReview-Commit-ID: D2uyCrnepuH

--HG--
extra : rebase_source : a3f7ecaf70c55574ee87091027a651ce429c6876
2018-02-26 16:49:34 -08:00
Brian Grinstead
18bb37dcc8 Bug 1392352 - Part 2 - Translate the tabbrowser implementation into a JS class;r=mconley,r=dao CLOSED TREE
We keep the XBL binding around for <content>, <constructor>, and <destructor>. This can
eventually be migrated to a Custom Element once we have platform support, but in the meantime
this is a way to get the many thousands of LOC into a JS class.

MozReview-Commit-ID: 1dCQp527yF9

--HG--
extra : rebase_source : 26b833413bab71168aa15e03f0f3803884be3f6b
extra : amend_source : 150cef6748ca8a9e819de0c674fac5966dd574cf
2018-02-27 10:04:14 -08:00
Kris Maglione
b744ab0807 Bug 1384714: Use subscript loader to load browser.xul scripts. r=Mossop
There's a lot of overhead to loading scripts from <script> tags in
browser.xul. They're loaded asynchronously, and can't begin loading until
after we begin loading browser.xul. They're loaded using off-main-thread
compilation, which means we need to create and merge a new JS zone for each
script we load that way. They don't benefit from the startup cache at all.

If we load those scripts using the subscript loader, they're loaded from the
preloader cache, and begin loading as early as possible. And they're all
loaded into a single off-thread zone, which means there are less zones to
create and merge. From a quick test, this seems to save about 20-40ms on
Windows ts_paint talos runs.

The main downside is that subscript loader scripts don't benefit from lazy
parsing, so we might wind up increasing memory usage if most of the functions
in those scripts aren't used very often. But we should hopefully be able to
fix that by migrating more browser JS to lazy loading.

MozReview-Commit-ID: Lozb0d0QweC

--HG--
extra : rebase_source : 069a003dfd1d6d66540da814a1fd19742c4fca26
extra : amend_source : b93e0ef7b320c99f4a27ddf6e8af6a681b6dba0f
2017-07-25 20:56:37 -07:00
Brian Grinstead
74f3a35a6d Bug 1385452 - Add a keyboard shortcut in local builds to restart the browser;r=mossop
MozReview-Commit-ID: Du4PTPawzhm

--HG--
extra : rebase_source : fbfca40a61b21fd06463e7075b9e1c8f758cc52d
2017-08-08 11:35:47 -07:00
Drew Willcoxon
6f9f704b57 Bug 1374477 - Add browser-pageActions.js for Photon page actions. r=Gijs
MozReview-Commit-ID: DUl7WlSnk4k

--HG--
extra : rebase_source : 2f7f39fc30216f330a1488c574cad856189fbe8d
2017-07-29 20:24:58 -07:00
Florian Quèze
2e4c2cc726 Bug 1381853 - lazy load browser-thumbnails.js into the browser window, r=mconley. 2017-07-23 00:17:59 +02:00
Florian Quèze
d05f708f77 Bug 1381853 - lazy load browser-sync.js into the browser window, r=mconley. 2017-07-23 00:17:59 +02:00
Florian Quèze
d65f4676a6 Bug 1381853 - lazy load browser-social.js into the browser window, r=mconley. 2017-07-23 00:17:59 +02:00
Florian Quèze
22b404db62 Bug 1381853 - lazy load browser-safebrowsing.js into the browser window, r=mconley. 2017-07-23 00:17:58 +02:00
Florian Quèze
cfb8e478a5 Bug 1381853 - Remove browser-refreshblocker.js and move its code to tabbrowser.xml, avoiding the RefreshBlocked event completely, r=mconley. 2017-07-23 00:17:58 +02:00
Florian Quèze
7dddee4b69 Bug 1381853 - lazy load browser-gestureSupport.js into the browser window, r=mconley. 2017-07-23 00:17:58 +02:00
Florian Quèze
839c58b538 Bug 1381853 - lazy load browser-fullScreenAndPointerLock.js into the browser window, r=mconley. 2017-07-23 00:17:57 +02:00
Florian Quèze
9422b19f8d Bug 1381853 - lazy load browser-customization.js into the browser window, r=mconley. 2017-07-23 00:17:57 +02:00
Florian Quèze
8a99c9ce27 Bug 1381853 - lazy load browser-ctrlTab.js into the browser window, r=mconley. 2017-07-23 00:17:57 +02:00
Florian Quèze
71d8831567 Bug 1381853 - lazy load browser-addons.js into the browser window, r=mconley. 2017-07-23 00:17:57 +02:00
Florian Quèze
f2657d6151 Bug 1381853 - lazy load viewSourceUtils.js into the browser window, r=mconley. 2017-07-23 00:17:56 +02:00
Florian Quèze
5aa184f945 Bug 1381853 - lazy load panelUI.js into the browser window, r=mconley. 2017-07-23 00:17:56 +02:00
Florian Quèze
c41a960d40 Bug 1381853 - lazy load browserPlacesViews.js into the browser window, r=mconley. 2017-07-23 00:17:56 +02:00
Florian Quèze
10acf21200 Bug 1381853 - load viewZoomOverlay.js and browser-fullZoom.js into the browser window lazily, r=mconley. 2017-07-23 00:17:55 +02:00
Florian Quèze
359a6563f2 Bug 1381853 - load printUtils.js into the browser window lazily, r=mconley. 2017-07-23 00:17:55 +02:00
Edouard Oger
b3b3ff9cc5 Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv

--HG--
rename : browser/base/content/test/general/accounts_testRemoteCommands.html => browser/base/content/test/sync/accounts_testRemoteCommands.html
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/sync/browser_fxa_web_channel.html
rename : browser/base/content/test/general/content_aboutAccounts.js => browser/base/content/test/sync/content_aboutAccounts.js
extra : rebase_source : dcba087df94d06b15c9f073ff2df3324fd646c57
2017-04-18 14:15:43 -04:00
Sebastian Hengst
18253e3fa2 Backed out changeset 0a0138825fb5 (bug 1353571)
--HG--
rename : browser/base/content/test/sync/accounts_testRemoteCommands.html => browser/base/content/test/general/accounts_testRemoteCommands.html
rename : browser/base/content/test/sync/browser_fxa_web_channel.html => browser/base/content/test/general/browser_fxa_web_channel.html
rename : browser/base/content/test/sync/content_aboutAccounts.js => browser/base/content/test/general/content_aboutAccounts.js
2017-05-03 21:56:44 +02:00
Edouard Oger
c11e66021d Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv

--HG--
rename : browser/base/content/test/general/accounts_testRemoteCommands.html => browser/base/content/test/sync/accounts_testRemoteCommands.html
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/sync/browser_fxa_web_channel.html
rename : browser/base/content/test/general/content_aboutAccounts.js => browser/base/content/test/sync/content_aboutAccounts.js
extra : rebase_source : aa6cb209d312c6ef3f45589b0fd8fa8a39c612e3
2017-04-18 14:15:43 -04:00
Mark Banner
1087fc1884 Bug 1352969 - Fix various ESLint no-undef issues in browser/base (no-undef is not enabled yet). r=mossop
MozReview-Commit-ID: BuTyJAfUoWR

--HG--
extra : rebase_source : 482bdc039362347f35aec9fd15e07a143dccb860
2017-02-22 17:02:59 +00:00
Nihanth Subramanya
f2ba2936d1 Bug 1313568 - Handle captive portal UI in per-window script. r=MattN
MozReview-Commit-ID: FxjE2NblJe4

--HG--
rename : browser/modules/CaptivePortalWatcher.jsm => browser/base/content/browser-captivePortal.js
extra : rebase_source : c6c1321b591fdbd870ff40374477bbc05fbcb27c
2017-01-08 03:23:09 +01:00
Brian Grinstead
91605663d0 Bug 1314091 - Rename devedition.* to compacttheme.*;r=Gijs
MozReview-Commit-ID: 9y9BTK2TeAr

--HG--
rename : browser/base/content/browser-devedition.js => browser/base/content/browser-compacttheme.js
rename : browser/base/content/test/general/browser_devedition.js => browser/base/content/test/general/browser_compacttheme.js
rename : browser/themes/linux/devedition.css => browser/themes/linux/compacttheme.css
rename : browser/themes/osx/devedition.css => browser/themes/osx/compacttheme.css
rename : browser/themes/shared/devedition.inc.css => browser/themes/shared/compacttheme.inc.css
rename : browser/themes/windows/devedition.css => browser/themes/windows/compacttheme.css
2017-01-13 11:53:58 -08:00
Eric Rahm
c15406fea3 Bug 1312143 - Delete toolkit/obsolete. r=John-Galt
This removes the obsolete toolkit directory. A few references to dialogOverlay
have been updated to just used <dialog> directly. The InlineSpellCheckerUI var
has also been moved directly to browser.js and defined as lazy getter.

MozReview-Commit-ID: JZfi0W2wqCL
2016-10-24 18:23:24 -07:00
Jared Wein
97e69eb233 Bug 336290 - remove --enable-safe-browsing from configure since its used everywhere. r=gcp
MozReview-Commit-ID: Duwu5vZOhtF

--HG--
extra : rebase_source : 564542010fd854c92978defba889b18a73f398f9
2016-08-31 19:28:29 -04:00
Dale Harvey
45e036dff5 Bug 1273351 - Remove pointerlock permission requirement. r=dao
--HG--
rename : browser/base/content/browser-fullScreen.js => browser/base/content/browser-fullScreenAndPointerLock.js
2016-07-08 13:58:31 +01:00
Jared Wein
df72ffc760 Bug 1160424 - [Decoder Doctor] Show notification UI when a requested codec is missing but downloadable. r=gijs
MozReview-Commit-ID: BHPpLM96cg3

--HG--
rename : browser/base/content/browser-eme.js => browser/base/content/browser-media.js
2016-04-24 18:04:25 +10:00
Paolo Amadini
ad65b7856a Bug 1117145 - Part 3 - Share the download item binding between the Panel and the Library. r=jaws
MozReview-Commit-ID: D8wNJxSJm84

--HG--
extra : rebase_source : 4350fb37dc405949e50a04fd3e0fbed91a8a476e
2016-02-11 21:00:38 +00:00
Mike Conley
7d205d0d55 Bug 1055464 - Add RefreshBlocker front-end. r=Mossop
--HG--
extra : commitid : 7BLpVqsfmjb
extra : rebase_source : 240331924d9d25b5d7142fc4541bffac7d423217
extra : amend_source : 5f3d6118132f8977f3176b5042a50231ab3fe0f1
2016-02-05 15:01:38 -05:00
Gijs Kruitbosch
781ad174bf Bug 1229695 - remove reference to browser-tabview.js from global scripts, rs=trivial,rebase-followup to bug 1222490
--HG--
extra : commitid : LrMhC3AMo3S
extra : rebase_source : d87df41f28d8967325afff568302fb56c84d0ec7
2015-12-02 12:03:43 +00:00
Felipe Gomes
64cf0b9fdc Bug 1228655 - Remove ifdefs for MOZ_SAFE_BROWSING. r=Gijs 2015-12-01 20:05:48 -02:00
Felipe Gomes
017ff6db0a Bug 1228655 - Move TabsInTitlebar to its own file to remove ifdefs. r=Gijs
TabsInTitlebar has various ifdefs to avoid shipping code that's not gonna be used on Linux. Instead of complicating the logic with AppConstants checks and shipping this extra code unecessarily on Linux, i've separated the code to a different file that can be replaced by a stub implementation.
2015-12-01 20:05:45 -02:00
Felipe Gomes
8fb91380ed Bug 1228627 - Conflict, browser-loop.js just got removed from fx-team in bug 1223573. r=bustage 2015-11-30 12:59:02 -02:00
Felipe Gomes
909d49249d Bug 1228627 - Remove #includes from browser.js. r=Gijs 2015-11-30 12:13:57 -02:00
Blair McBride
a348477993 Bug 858196 - Move all customization code to be under browser/components/customizableui/. r=jaws.
--HG--
rename : browser/base/content/customizing.xhtml => browser/components/customizableui/content/aboutCustomizing.xhtml
rename : browser/base/content/customize.inc => browser/components/customizableui/content/customizeMode.inc.xul
rename : browser/base/content/panelUI.inc => browser/components/customizableui/content/panelUI.inc.xul
rename : browser/base/content/panelUI.js => browser/components/customizableui/content/panelUI.js
rename : browser/base/content/panelUI.xml => browser/components/customizableui/content/panelUI.xml
rename : browser/base/content/panelUIOverlay.js => browser/components/customizableui/content/panelUIOverlay.js
rename : browser/base/content/panelUIOverlay.xul => browser/components/customizableui/content/panelUIOverlay.xul
rename : browser/base/content/toolbar.xml => browser/components/customizableui/content/toolbar.xml
rename : browser/modules/CustomizableUI.jsm => browser/components/customizableui/src/CustomizableUI.jsm
rename : browser/modules/CustomizeMode.jsm => browser/components/customizableui/src/CustomizeMode.jsm
rename : browser/themes/linux/customization/customization-mode-background.jpg => browser/themes/linux/customizableui/customization-mode-background.jpg
rename : browser/themes/linux/panelUIOverlay.css => browser/themes/linux/customizableui/panelUIOverlay.css
rename : browser/themes/osx/customization/customization-mode-background.jpg => browser/themes/osx/customizableui/customization-mode-background.jpg
rename : browser/themes/osx/panelUIOverlay.css => browser/themes/osx/customizableui/panelUIOverlay.css
rename : browser/themes/shared/customization.inc.css => browser/themes/shared/customizableui/customizeMode.inc.css
rename : browser/themes/shared/panelUIOverlay.inc.css => browser/themes/shared/customizableui/panelUIOverlay.inc.css
rename : browser/themes/windows/customization/customization-mode-background.jpg => browser/themes/windows/customizableui/customization-mode-background.jpg
rename : browser/themes/windows/panelUIOverlay.css => browser/themes/windows/customizableui/panelUIOverlay.css
2013-04-15 17:34:52 +12:00
Mike Conley
d589bedeac Bug 770135 - New PanelUI and toolbar customization - Milestone 1. r=mconley,jaws,Unfocused. 2013-03-26 17:23:23 -04:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Paolo Amadini
9180b309a7 Bug 726444 - Implement the Downloads Panel. r=mak ui-r=limi
Includes: Bug 697679 - By Javi Rueda <leofigueres@yahoo.com>.
2012-04-17 13:35:09 +02:00
Paolo Amadini
749f7c69ab Bug 726444 - Implement the Downloads Panel. r=mak ui-r=limi
Includes: Bug 697679 - By Javi Rueda <leofigueres@yahoo.com>.
2012-03-10 15:00:45 +01:00
Asaf Romano
7d26b0b244 Bug 528884 - Remove places' menu and toolbar bindings. r=mak 2010-05-05 15:28:04 +02:00
Saint Wesonga
6f6378cc6b Bug 523476 - Switch application/x-javascript to application/javascript, Firefox part. r=vlad 2009-11-05 14:53:26 +01:00
mozilla.mano@sent.com
8854db12e8 Bug 386392 - Drop pre places/places-bookmarks support from browser/. r=gavin. 2007-07-17 14:08:24 -07:00
mozilla.mano%sent.com
04e27732a3 Bug 365981 - Places XUL cleanup. r=sspitzer. 2007-01-05 11:45:15 +00:00
mozilla.mano%sent.com
0631137a21 Bug 359462 - Redesign PlacesController interaction with places views (this makes various edit command work in the places-based history sidebar). r=sspitzer. 2006-12-22 00:00:21 +00:00