Bug 1394841 - Add WebExt messaging to RDM tunnel. r=ochameau
authorJ. Ryan Stinnett <jryans@gmail.com>
Wed, 01 Nov 2017 17:36:58 -0500
changeset 441784 134b46ce0aa580d9b181cc7d1ad3752fd7cc6460
parent 441783 4aa421a32de9a1bb122062ebec128cea5789baa8
child 441785 bbf3fb8a107c69674b02f187ad53908864407a37
push id8133
push userryanvm@gmail.com
push dateThu, 09 Nov 2017 23:33:01 +0000
treeherdermozilla-beta@7ca33aee2c1d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau
bugs1394841
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1394841 - Add WebExt messaging to RDM tunnel. r=ochameau WebExt messaging sends several new message types to content that should be tunneled by RDM. This change allows them to reach content as expected in RDM mode. MozReview-Commit-ID: GKelgOGBUKI
devtools/client/responsive.html/browser/tunnel.js
--- a/devtools/client/responsive.html/browser/tunnel.js
+++ b/devtools/client/responsive.html/browser/tunnel.js
@@ -410,16 +410,18 @@ MessageManagerTunnel.prototype = {
     // 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 MessageChannel.jsm
+    "MessageChannel:",
     // Messages sent from pageinfo.js
     "PageInfo:",
     // Messages sent from printUtils.js
     "Printing:",
     "PageMetadata:",
     // Messages sent from viewSourceUtils.js
     "ViewSource:",
   ],
@@ -428,16 +430,18 @@ MessageManagerTunnel.prototype = {
     // 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 MessageChannel.jsm
+    "MessageChannel:",
     // Messages sent to pageinfo.js
     "PageInfo:",
     // Messages sent to printUtils.js
     "Printing:",
     "PageMetadata:",
     // Messages sent to viewSourceUtils.js
     "ViewSource:",
   ],