gecko-dev/mobile
Bob Silverberg 8f848ff9df Bug 1381992 - Add some reader mode support to the tabs API, r=mixedpuppy
This adds two properties to the Tab object:

- isArticle indicates whether the document in the tab is likely able to be
  rendered in reader mode.
- isInReaderMode indicates if the document in the tab is being rendered in
  reader mode.

It also adds a toggleReaderMode() which toggles a tab into and out of reader mode.

There is also a new case in which tabs.onUpdated will fire. When the isArticle
status of a tab changes, an onUpdated event will fire with data {isArticle: boolean}.

MozReview-Commit-ID: AaAQ0V5qm2Z

--HG--
extra : rebase_source : f9cbed6dff56781ecd86281cb46f23f0ec8aecf6
2017-09-08 17:00:27 -04:00
..
android Bug 1381992 - Add some reader mode support to the tabs API, r=mixedpuppy 2017-09-08 17:00:27 -04:00
locales Bug 1394462 - Update dnsNotFound error copy and illustration. r=nhnt11 2017-09-19 21:54:29 +02:00