Bug 1278762 - Support general context menu actions in RDM. r=ochameau draft
authorJ. Ryan Stinnett <jryans@gmail.com>
Wed, 19 Oct 2016 09:21:23 -0500
changeset 430086 ff824ae7760ebd72d5bd13d265c3596ffac980c3
parent 430085 cf4d1b6c8f6776931aa2fb3da6f0a4b365ab3c28
child 430087 af607b52432dcf7b4cbb599e2537b6758c2f09eb
push id33735
push userbmo:jryans@gmail.com
push dateThu, 27 Oct 2016 05:52:32 +0000
reviewersochameau
bugs1278762
milestone52.0a1
Bug 1278762 - Support general context menu actions in RDM. r=ochameau MozReview-Commit-ID: 3jjAyed0yhP
devtools/client/responsive.html/browser/tunnel.js
--- a/devtools/client/responsive.html/browser/tunnel.js
+++ b/devtools/client/responsive.html/browser/tunnel.js
@@ -401,30 +401,34 @@ MessageManagerTunnel.prototype = {
     "PageVisibility:Show",
     // Messages sent to SessionStore.jsm
     "SessionStore:update",
     // Messages sent to BrowserTestUtils.jsm
     "browser-test-utils:loadEvent",
   ],
 
   OUTER_TO_INNER_MESSAGE_PREFIXES: [
+    // Messages sent from nsContextMenu.js
+    "ContextMenu:",
     // Messages sent from DevTools
     "debug:",
     // Messages sent from findbar.xml
     "Findbar:",
     // Messages sent from RemoteFinder.jsm
     "Finder:",
     // Messages sent from InlineSpellChecker.jsm
     "InlineSpellChecker:",
     // Messages sent from browser-social.js
     "Social:",
     "PageMetadata:",
   ],
 
   INNER_TO_OUTER_MESSAGE_PREFIXES: [
+    // Messages sent to nsContextMenu.js
+    "ContextMenu:",
     // Messages sent to DevTools
     "debug:",
     // Messages sent to findbar.xml
     "Findbar:",
     // Messages sent to RemoteFinder.jsm
     "Finder:",
     // Messages sent to browser-social.js
     "Social:",