Bug 1511838 - Fix tabs API for WebExtensions after bug 1500479, part 1. r=darktrojan DONTBUILD
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Mon, 03 Dec 2018 07:42:00 +0100
changeset 33846 b0cfc39adb1ed781b9f8975869517e35f35811de
parent 33845 7cdd9ac6221e517b841c4cb786f05bad32576e0c
child 33847 c8d0feb240c6716537d6c0a6369bbc9f1246f671
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewersdarktrojan
bugs1511838, 1500479
Bug 1511838 - Fix tabs API for WebExtensions after bug 1500479, part 1. r=darktrojan DONTBUILD
mail/components/extensions/parent/ext-mail.js
--- a/mail/components/extensions/parent/ext-mail.js
+++ b/mail/components/extensions/parent/ext-mail.js
@@ -626,16 +626,21 @@ class Tab extends TabBase {
   get isArticle() {
     return false;
   }
 
   /** Returns the reader mode state of the tab. */
   get isInReaderMode() {
     return false;
   }
+
+  /** Returns the id of the successor tab of the tab. */
+  get successorTabId() {
+    return -1;
+  }
 }
 
 /**
  * Extension-specific wrapper around a Thunderbird window.
  */
 class Window extends WindowBase {
   /**
    * Update the geometry of the mail window.