Bug 1492884 - Add 'attention' to tabs API for WebExtensions after bug 1396684. r=darktrojan
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Thu, 20 Sep 2018 08:44:00 +0200
changeset 33217 997d19872dcfda69cf137ebc563d9bd2cc8a6ab5
parent 33216 5ed1ac772746107a74dbcc579e8effbaacc62151
child 33218 08bf719c34e9a53cd4c1d2bf6f6ae2ed758acd13
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersdarktrojan
bugs1492884, 1396684
Bug 1492884 - Add 'attention' to tabs API for WebExtensions after bug 1396684. r=darktrojan
mail/components/extensions/parent/ext-mail.js
--- a/mail/components/extensions/parent/ext-mail.js
+++ b/mail/components/extensions/parent/ext-mail.js
@@ -624,16 +624,21 @@ class Tab extends TabBase {
     return this.browser.ownerGlobal;
   }
 
   /** Returns the window id of the tab. */
   get windowId() {
     return windowTracker.getId(this.window);
   }
 
+  /** Returns the attention state of the tab. */
+  get attention() {
+    return false;
+  }
+
   /** Returns the article state of the tab. */
   get isArticle() {
     return false;
   }
 
   /** Returns the reader mode state of the tab. */
   get isInReaderMode() {
     return false;