Bug 1278762 - Support general context menu actions in RDM. r=ochameau
authorJ. Ryan Stinnett <jryans@gmail.com>
Wed, 19 Oct 2016 09:21:23 -0500
changeset 319797 86073e584fa77b816a36ca190ed2fa819df1423b
parent 319796 3a0794bd1c72b76c15921698c1e633a1d23cf569
child 319798 13810b9cd717da3937467a6a2dec8b9b76aaef74
push id20748
push userphilringnalda@gmail.com
push dateFri, 28 Oct 2016 03:39:55 +0000
treeherderfx-team@715360440695 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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:",