Temporarily disable tests and code awaiting bug 1488176; rs=me
authorGeoff Lankow <geoff@darktrojan.net>
Sun, 30 Dec 2018 20:33:04 +1300
changeset 33228 da68367e23e5
parent 33227 04e98cdf2061
child 33229 9bc477f5f7d3
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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]