gecko-dev/browser/actors
Kris Maglione 22d4bb0074 Bug 1484413: Split ReaderMode.jsm into separate checking and loading components. r=Gijs
Most of the ReaderMode.jsm and Readability.js code is only needed when we
actually need to render a document in reader mode, but also winds up loaded
into any process where we ever check if a page is readerable. This winds up
wasting a huge amount of memory (and probably a huge amount of CPU time)
loading code which is almost never used.

This patch splits ReaderMode.jsm into two modules, one for checking
readability, one for actually entering reader mode. It also separates out the
isProbablyReaderable checks from Readability.js, since the overhead of loading
that script before it's needed is unsupportable.

This means we're probably going to need some effort to keep Readerable.jsm and
Readability.js in sync, but the code in question is pretty trivial, so it
shouldn't be too difficult.

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

--HG--
rename : toolkit/components/reader/Readability.js => toolkit/components/reader/Readability-readerable.js
rename : toolkit/components/reader/ReaderMode.jsm => toolkit/components/reader/Readerable.js
extra : rebase_source : 66712057591ae20dd66234e3dc78fbba90a6914e
extra : amend_source : f908f62f49ea54b9099ddb87d9f2fc11f12d4dee
2018-08-17 23:10:59 -07:00
..
AboutReaderChild.jsm Bug 1484413: Split ReaderMode.jsm into separate checking and loading components. r=Gijs 2018-08-17 23:10:59 -07:00
BlockedSiteChild.jsm Bug 1472491: Part 5j - Add BlockedSiteChild actor. r=johannh f=felipe 2018-07-29 20:53:09 -07:00
BrowserTabChild.jsm Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
ClickHandlerChild.jsm Bug 1472491: Part 5k - Add NetErrorChild actor. r=johannh f=felipe 2018-07-29 21:00:29 -07:00
ContentSearchChild.jsm Bug 1472491: Part 5d - Add ContentSearchChild actor. r=adw f=felipe 2018-07-29 20:00:11 -07:00
ContextMenuChild.jsm Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
DOMFullscreenChild.jsm Bug 1472491: Part 5m - Add DOMFullscreenChild actor. r=felipe 2018-07-29 21:20:01 -07:00
FormSubmitChild.jsm Bug 1483738: Part 3 - Use lazy MozInvalidForm listener on desktop. r=mconley 2018-08-15 14:13:53 -07:00
LightWeightThemeInstallChild.jsm Bug 1472491: Part 5h - Add LightWeightThemeChild actor. r=felipe 2018-07-29 20:34:21 -07:00
LightweightThemeChild.jsm Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
LinkHandlerChild.jsm Bug 1486226 - Correctly handle empty (invalid) href attributes in <link> elements (e.g. favicons). r=mak 2018-08-30 08:35:51 +00:00
NetErrorChild.jsm Backed out changeset 99e8a7cd7726 (bug 1484761) as requested by the developer on IRC on a CLOSED TREE 2018-09-04 09:09:49 +03:00
OfflineAppsChild.jsm Bug 1472491: Part 5l - Add OfflineAppsChild actor. r=felipe 2018-07-29 21:17:41 -07:00
PageInfoChild.jsm Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
PageMetadataChild.jsm Bug 1472491: Part 5w - Add PageMetadataChild actor. r=mconley 2018-07-29 23:08:52 -07:00
PageStyleChild.jsm Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
PluginChild.jsm Bug 1438857 - Remove the Flash plugin infobar. r=Felipe 2018-09-06 14:50:16 +00:00
UAWidgetsChild.jsm
URIFixupChild.jsm Bug 1472491: Part 5u - Add URIFixupChild actor. r=gijs 2018-07-29 22:30:34 -07:00
WebRTCChild.jsm Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
moz.build Bug 1483664: Part 1 - Use lazy actor infrastructure for LightweightThemeChild. r=ntim 2018-08-15 20:06:58 -07:00