Bug 1576677, removes message property from all ACTORS in BrowserGlue.jsm and ActorManagerParent.jsm r=mconley
authorEmma Malysz <emalysz@mozilla.com>
Thu, 29 Aug 2019 15:57:03 +0000
changeset 490660 5014bc0af0ebc034fd4f257a2f03f259b439069a
parent 490659 b52fcec4698720b4f28be22e5b0ce1d462db3978
child 490661 8fc1742afe2c2dee8356d865f28c2deefc3c94ab
push id93972
push usermconley@mozilla.com
push dateThu, 29 Aug 2019 15:58:03 +0000
treeherderautoland@5014bc0af0eb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs1576677
milestone70.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 1576677, removes message property from all ACTORS in BrowserGlue.jsm and ActorManagerParent.jsm r=mconley Differential Revision: https://phabricator.services.mozilla.com/D43484
browser/components/BrowserGlue.jsm
toolkit/modules/ActorManagerParent.jsm
--- a/browser/components/BrowserGlue.jsm
+++ b/browser/components/BrowserGlue.jsm
@@ -31,23 +31,16 @@ let ACTORS = {
       moduleURI: "resource:///actors/BrowserTabChild.jsm",
 
       events: {
         DOMWindowCreated: {},
         MozAfterPaint: {},
         "MozDOMPointerLock:Entered": {},
         "MozDOMPointerLock:Exited": {},
       },
-      messages: [
-        "Browser:Reload",
-        "Browser:AppTab",
-        "Browser:HasSiblings",
-        "MixedContent:ReenableProtection",
-        "UpdateCharacterSet",
-      ],
     },
   },
 
   ContextMenu: {
     parent: {
       moduleURI: "resource:///actors/ContextMenuParent.jsm",
     },
 
@@ -66,50 +59,36 @@ let ACTORS = {
       moduleURI: "resource:///actors/FormValidationParent.jsm",
     },
 
     child: {
       moduleURI: "resource:///actors/FormValidationChild.jsm",
       events: {
         MozInvalidForm: {},
       },
-      messages: ["FormValidation:ShowPopup", "FormValidation:HidePopup"],
     },
 
     allFrames: true,
   },
 
   Plugin: {
     parent: {
       moduleURI: "resource:///actors/PluginParent.jsm",
-      messages: [
-        "PluginContent:ShowClickToPlayNotification",
-        "PluginContent:RemoveNotification",
-        "PluginContent:ShowPluginCrashedNotification",
-        "PluginContent:SubmitReport",
-        "PluginContent:LinkClickCallback",
-        "PluginContent:GetCrashData",
-      ],
     },
     child: {
       moduleURI: "resource:///actors/PluginChild.jsm",
       events: {
         PluginBindingAttached: { capture: true, wantUntrusted: true },
         PluginCrashed: { capture: true },
         PluginOutdated: { capture: true },
         PluginInstantiated: { capture: true },
         PluginRemoved: { capture: true },
         HiddenPlugin: { capture: true },
       },
 
-      messages: [
-        "PluginParent:ActivatePlugins",
-        "PluginParent:Test:ClearCrashData",
-      ],
-
       observers: ["decoder-doctor-notification"],
     },
 
     allFrames: true,
   },
 
   Prompt: {
     parent: {
@@ -117,18 +96,16 @@ let ACTORS = {
     },
 
     allFrames: true,
   },
 
   SwitchDocumentDirection: {
     child: {
       moduleURI: "resource:///actors/SwitchDocumentDirectionChild.jsm",
-
-      messages: ["SwitchDocumentDirection"],
     },
 
     allFrames: true,
   },
 };
 
 let LEGACY_ACTORS = {
   AboutLogins: {
--- a/toolkit/modules/ActorManagerParent.jsm
+++ b/toolkit/modules/ActorManagerParent.jsm
@@ -105,17 +105,16 @@ const { DefaultMap } = ExtensionUtils;
 let ACTORS = {
   AudioPlayback: {
     parent: {
       moduleURI: "resource://gre/actors/AudioPlaybackParent.jsm",
     },
 
     child: {
       moduleURI: "resource://gre/actors/AudioPlaybackChild.jsm",
-      messages: ["AudioPlayback"],
       observers: ["audio-playback"],
     },
 
     allFrames: true,
   },
 
   Autoplay: {
     parent: {
@@ -191,30 +190,24 @@ let ACTORS = {
     },
 
     allFrames: true,
   },
 
   Zoom: {
     parent: {
       moduleURI: "resource://gre/actors/ZoomParent.jsm",
-      messages: [
-        "FullZoomChange",
-        "TextZoomChange",
-        "ZoomChangeUsingMouseWheel",
-      ],
     },
     child: {
       moduleURI: "resource://gre/actors/ZoomChild.jsm",
       events: {
         FullZoomChange: {},
         TextZoomChange: {},
         ZoomChangeUsingMouseWheel: {},
       },
-      messages: ["FullZoom", "TextZoom"],
     },
 
     allFrames: true,
   },
 
   UAWidgets: {
     child: {
       moduleURI: "resource://gre/actors/UAWidgetsChild.jsm",