Temporarily disable tests and code awaiting bug 1488176; rs=me
authorGeoff Lankow <geoff@darktrojan.net>
Sun, 30 Dec 2018 20:33:04 +1300
changeset 34082 da68367e23e51f72ccd8e1aec01b76eee6732fbd
parent 34081 04e98cdf20613f973d96dcbf5ca6bc659c594fa2
child 34083 9bc477f5f7d396d1d3d6be9e813759501e70a473
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
reviewersme
bugs1488176
Temporarily disable tests and code awaiting bug 1488176; rs=me
mail/components/extensions/parent/ext-menus.js
mail/components/extensions/test/browser/browser.ini
--- a/mail/components/extensions/parent/ext-menus.js
+++ b/mail/components/extensions/parent/ext-menus.js
@@ -599,19 +599,20 @@ function addMenuEventInfo(info, contextD
   }
   // If the context was overridden, then frameUrl should be the URL of the
   // document in which the menu was opened (instead of undefined, even if that
   // document is not in a frame).
   if (contextData.originalViewUrl) {
     info.frameUrl = contextData.originalViewUrl;
   }
 
-  if (contextData.selectedMessages && extension.hasPermission("messagesRead")) {
-    info.selectedMessages = messageListTracker.startList(contextData.selectedMessages, {extension});
-  }
+  // TODO re-enable this with bug 1488176.
+  // if (contextData.selectedMessages && extension.hasPermission("messagesRead")) {
+  //   info.selectedMessages = messageListTracker.startList(contextData.selectedMessages, {extension});
+  // }
   for (let folderType of ["displayedFolder", "selectedFolder"]) {
     if (contextData[folderType] && extension.hasPermission("accountsRead")) {
       info[folderType] = convertFolder(contextData[folderType]);
     }
   }
 }
 
 function MenuItem(extension, createProperties, isRoot = false) {
--- a/mail/components/extensions/test/browser/browser.ini
+++ b/mail/components/extensions/test/browser/browser.ini
@@ -2,10 +2,12 @@
 head = head.js
 subsuite = thunderbird
 tags = webextensions
 
 [browser_ext_addressBooksUI.js]
 [browser_ext_browserAction.js]
 [browser_ext_composeAction.js]
 [browser_ext_menus.js]
+skip-if=true # waiting for bug 1488176
 [browser_ext_mailTabs.js]
+skip-if=true # waiting for bug 1488176
 [browser_ext_quickFilter.js]