Commit Graph
56 Commits
Author SHA1 Message Date
Kris Maglione 1e99372ec0 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
2017-07-25 20:56:37 -07:00
Brian Grinstead 1639cc6e15 Bug 1385452 - Add a keyboard shortcut in local builds to restart the browser;r=mossop
MozReview-Commit-ID: Du4PTPawzhm
2017-08-08 11:35:47 -07:00
Drew Willcoxon 4611af424f Bug 1374477 - Add browser-pageActions.js for Photon page actions. r=Gijs
MozReview-Commit-ID: DUl7WlSnk4k
2017-07-29 20:24:58 -07:00
Florian Quèze 3f2180c26f Bug 1381853 - lazy load browser-thumbnails.js into the browser window, r=mconley. 2017-07-23 00:17:59 +02:00
Florian Quèze 24a053cb8d Bug 1381853 - lazy load browser-sync.js into the browser window, r=mconley. 2017-07-23 00:17:59 +02:00
Florian Quèze 8a541878c5 Bug 1381853 - lazy load browser-social.js into the browser window, r=mconley. 2017-07-23 00:17:59 +02:00
Florian Quèze 41a3775df3 Bug 1381853 - lazy load browser-safebrowsing.js into the browser window, r=mconley. 2017-07-23 00:17:58 +02:00
Florian Quèze 4f18b57bbb 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 a72f907c5f Bug 1381853 - lazy load browser-gestureSupport.js into the browser window, r=mconley. 2017-07-23 00:17:58 +02:00
Florian Quèze 50fea258c7 Bug 1381853 - lazy load browser-fullScreenAndPointerLock.js into the browser window, r=mconley. 2017-07-23 00:17:57 +02:00
Florian Quèze 441e30cff4 Bug 1381853 - lazy load browser-customization.js into the browser window, r=mconley. 2017-07-23 00:17:57 +02:00
Florian Quèze 72c7bf79a4 Bug 1381853 - lazy load browser-ctrlTab.js into the browser window, r=mconley. 2017-07-23 00:17:57 +02:00
Florian Quèze f0035bea93 Bug 1381853 - lazy load browser-addons.js into the browser window, r=mconley. 2017-07-23 00:17:57 +02:00
Florian Quèze fbb9f92668 Bug 1381853 - lazy load viewSourceUtils.js into the browser window, r=mconley. 2017-07-23 00:17:56 +02:00
Florian Quèze 297c9e8335 Bug 1381853 - lazy load panelUI.js into the browser window, r=mconley. 2017-07-23 00:17:56 +02:00
Florian Quèze 3fa089754c Bug 1381853 - lazy load browserPlacesViews.js into the browser window, r=mconley. 2017-07-23 00:17:56 +02:00
Florian Quèze 3d74a9e644 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 bdb041710a Bug 1381853 - load printUtils.js into the browser window lazily, r=mconley. 2017-07-23 00:17:55 +02:00
Edouard Oger bf97626bd8 Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv
2017-04-18 14:15:43 -04:00
Sebastian Hengst 6471972ae8 Backed out changeset 0a0138825fb5 (bug 1353571) 2017-05-03 21:56:44 +02:00
Edouard Oger c9a99ae676 Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv
2017-04-18 14:15:43 -04:00
Mark Banner 1b6f3efb6e Bug 1352969 - Fix various ESLint no-undef issues in browser/base (no-undef is not enabled yet). r=mossop
MozReview-Commit-ID: BuTyJAfUoWR
2017-02-22 17:02:59 +00:00
Nihanth Subramanya 882395b6f6 Bug 1313568 - Handle captive portal UI in per-window script. r=MattN
MozReview-Commit-ID: FxjE2NblJe4
2017-01-08 03:23:09 +01:00
Brian Grinstead 736b5301b8 Bug 1314091 - Rename devedition.* to compacttheme.*;r=Gijs
MozReview-Commit-ID: 9y9BTK2TeAr
2017-01-13 11:53:58 -08:00
Eric Rahm 7e595b6484 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 05088cc7cb Bug 336290 - remove --enable-safe-browsing from configure since its used everywhere. r=gcp
MozReview-Commit-ID: Duwu5vZOhtF
2016-08-31 19:28:29 -04:00
Dale Harvey 03907e80af Bug 1273351 - Remove pointerlock permission requirement. r=dao 2016-07-08 13:58:31 +01:00
Jared Wein 69fdf08b69 Bug 1160424 - [Decoder Doctor] Show notification UI when a requested codec is missing but downloadable. r=gijs
MozReview-Commit-ID: BHPpLM96cg3
2016-04-24 18:04:25 +10:00
Paolo Amadini b0f5fff9b3 Bug 1117145 - Part 3 - Share the download item binding between the Panel and the Library. r=jaws
MozReview-Commit-ID: D8wNJxSJm84
2016-02-11 21:00:38 +00:00
Mike Conley 388f30c7e5 Bug 1055464 - Add RefreshBlocker front-end. r=Mossop 2016-02-05 15:01:38 -05:00
Gijs Kruitbosch eb81b9df35 Bug 1229695 - remove reference to browser-tabview.js from global scripts, rs=trivial,rebase-followup to bug 1222490 2015-12-02 12:03:43 +00:00
Felipe Gomes 8bd61c6f85 Bug 1228655 - Remove ifdefs for MOZ_SAFE_BROWSING. r=Gijs 2015-12-01 20:05:48 -02:00
Felipe Gomes 244baa0c49 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 9b38bffb7d 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 e5ea10c3ed Bug 1228627 - Remove #includes from browser.js. r=Gijs 2015-11-30 12:13:57 -02:00
Blair McBride a53bad3fd1 Bug 858196 - Move all customization code to be under browser/components/customizableui/. r=jaws. 2013-04-15 17:34:52 +12:00
Mike Conley 0ad350ea20 Bug 770135 - New PanelUI and toolbar customization - Milestone 1. r=mconley,jaws,Unfocused. 2013-03-26 17:23:23 -04:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Paolo Amadini 6c2516758f Bug 726444 - Implement the Downloads Panel. r=mak ui-r=limi
Includes: Bug 697679 - By Javi Rueda <[email protected]>.
2012-04-17 13:35:09 +02:00
Paolo Amadini 1b84ad729a Bug 726444 - Implement the Downloads Panel. r=mak ui-r=limi
Includes: Bug 697679 - By Javi Rueda <[email protected]>.
2012-03-10 15:00:45 +01:00
Asaf Romano 517a908d39 Bug 528884 - Remove places' menu and toolbar bindings. r=mak 2010-05-05 15:28:04 +02:00
Saint Wesonga 75523d65cc Bug 523476 - Switch application/x-javascript to application/javascript, Firefox part. r=vlad 2009-11-05 14:53:26 +01:00
96eca9b86c Bug 386392 - Drop pre places/places-bookmarks support from browser/. r=gavin. 2007-07-17 14:08:24 -07:00
[email protected] 8d8d5714db Bug 365981 - Places XUL cleanup. r=sspitzer. 2007-01-05 11:45:15 +00:00
[email protected] ae249d6363 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
[email protected] 97cb9cf2e7 Bug 288254 - Findbar XBL widget. r=gavin,masayuki,bienvenu. 2006-11-26 22:47:46 +00:00
[email protected] 69152cc1c4 fix for bug #356487
make MOZ_PLACES (if enabled) only build the places based history UI, use MOZ_PLACES_BOOKMARKS to turn off the places based bookmarks UI.

also addresses bugs:

bug #330923:  "View -> Sidebar menu" is empty if you build with places
bug #355738:  implement history sidebar on top of places backend
bug #356175:  hook up the history menu to the places backend
bug #356453:  add back "Clear Private Data" menu item
bug #356630:  add back "History | Show in Sidebar" menu item
bug #356631:  remove "search in history" and "view all history" menu items
bug #357301:  add back history and bookmark sidebar toolbar button items, remove places toolbar button
bug #358831:  history sidebar, right mouse button click should not expand / collapse item

r=dietrich, r=gavin
2006-11-04 04:48:06 +00:00
[email protected] cbfc7ca5e0 Bug 339416: Error: this.getTabBrowser() has no properties
patch: move sb-loader.js into browser.xul
sr=bryner
2006-06-29 20:43:15 +00:00
[email protected] 4e422fdab0 Bug 336288 (for [email protected]) r=ben integrate UI portion of safebrowsing into /browser/components/safebrowsing 2006-05-04 20:36:16 +00:00
[email protected] 1ba565bfd7 bug 328243 - disband the browser shim, move locale to locales dir, move theme to themes dir. [email protected] 2006-02-24 21:41:34 +00:00