bug 1546714: remote: map Remote Protocol :: {DOM, Input} bug components; r=ochameau
authorAndreas Tolfsen <ato@sny.no>
Thu, 25 Apr 2019 14:27:15 +0000
changeset 530137 dc38b66e235646ca9230acda946ecf0f8b018742
parent 530136 bc316493ddae00897a98f9a0601f9764e7c4daa9
child 530138 635e8833ed5fe4aba5d86721cdd57251f5e471cc
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau
bugs1546714
milestone68.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 1546714: remote: map Remote Protocol :: {DOM, Input} bug components; r=ochameau Patch unfortunately has to add a few domain stubs so that mach does not complain about not finding any files associated with these new bug components. Differential Revision: https://phabricator.services.mozilla.com/D28688
remote/domains/ContentProcessDomains.jsm
remote/domains/content/DOM.jsm
remote/domains/content/Input.jsm
remote/jar.mn
remote/moz.build
--- a/remote/domains/ContentProcessDomains.jsm
+++ b/remote/domains/ContentProcessDomains.jsm
@@ -6,16 +6,18 @@
 
 var EXPORTED_SYMBOLS = ["ContentProcessDomains"];
 
 const {XPCOMUtils} = ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
 
 const ContentProcessDomains = {};
 
 XPCOMUtils.defineLazyModuleGetters(ContentProcessDomains, {
+  DOM: "chrome://remote/content/domains/content/DOM.jsm",
   Emulation: "chrome://remote/content/domains/content/Emulation.jsm",
+  Input: "chrome://remote/content/domains/content/Input.jsm",
   Log: "chrome://remote/content/domains/content/Log.jsm",
   Network: "chrome://remote/content/domains/content/Network.jsm",
   Page: "chrome://remote/content/domains/content/Page.jsm",
   Performance: "chrome://remote/content/domains/content/Performance.jsm",
   Runtime: "chrome://remote/content/domains/content/Runtime.jsm",
   Security: "chrome://remote/content/domains/content/Security.jsm",
 });
new file mode 100644
--- /dev/null
+++ b/remote/domains/content/DOM.jsm
@@ -0,0 +1,11 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+"use strict";
+
+var EXPORTED_SYMBOLS = ["DOM"];
+
+const {ContentProcessDomain} = ChromeUtils.import("chrome://remote/content/domains/ContentProcessDomain.jsm");
+
+class DOM extends ContentProcessDomain {}
new file mode 100644
--- /dev/null
+++ b/remote/domains/content/Input.jsm
@@ -0,0 +1,11 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+"use strict";
+
+var EXPORTED_SYMBOLS = ["Input"];
+
+const {ContentProcessDomain} = ChromeUtils.import("chrome://remote/content/domains/ContentProcessDomain.jsm");
+
+class Input extends ContentProcessDomain {}
--- a/remote/jar.mn
+++ b/remote/jar.mn
@@ -24,22 +24,24 @@ remote.jar:
 
   # targets
   content/targets/MainProcessTarget.jsm (targets/MainProcessTarget.jsm)
   content/targets/TabTarget.jsm (targets/TabTarget.jsm)
   content/targets/Target.jsm (targets/Target.jsm)
   content/targets/Targets.jsm (targets/Targets.jsm)
 
   # domains
+  content/domains/ContentProcessDomain.jsm (domains/ContentProcessDomain.jsm)
+  content/domains/ContentProcessDomains.jsm (domains/ContentProcessDomains.jsm)
   content/domains/Domain.jsm (domains/Domain.jsm)
   content/domains/Domains.jsm (domains/Domains.jsm)
-  content/domains/ContentProcessDomain.jsm (domains/ContentProcessDomain.jsm)
-  content/domains/ContentProcessDomains.jsm (domains/ContentProcessDomains.jsm)
   content/domains/ParentProcessDomains.jsm (domains/ParentProcessDomains.jsm)
+  content/domains/content/DOM.jsm (domains/content/DOM.jsm)
   content/domains/content/Emulation.jsm (domains/content/Emulation.jsm)
+  content/domains/content/Input.jsm (domains/content/Input.jsm)
   content/domains/content/Log.jsm (domains/content/Log.jsm)
   content/domains/content/Network.jsm (domains/content/Network.jsm)
   content/domains/content/Page.jsm (domains/content/Page.jsm)
   content/domains/content/Performance.jsm (domains/content/Performance.jsm)
   content/domains/content/Runtime.jsm (domains/content/Runtime.jsm)
   content/domains/content/Security.jsm (domains/content/Security.jsm)
   content/domains/parent/Browser.jsm (domains/parent/Browser.jsm)
   content/domains/parent/Target.jsm (domains/parent/Target.jsm)
--- a/remote/moz.build
+++ b/remote/moz.build
@@ -15,16 +15,20 @@ EXTRA_COMPONENTS += [
 JAR_MANIFESTS += ["jar.mn"]
 
 with Files("**"):
     BUG_COMPONENT = ("Remote Protocol", "Agent")
 with Files("targets/**"):
     BUG_COMPONENT = ("Remote Protocol", "Target")
 with Files("domains/**/Emulation.jsm"):
     BUG_COMPONENT = ("Remote Protocol", "Emulation")
+with Files("domains/**/DOM.jsm"):
+    BUG_COMPONENT = ("Remote Protocol", "DOM")
+with Files("domains/**/Input.jsm"):
+    BUG_COMPONENT = ("Remote Protocol", "Input")
 with Files("domains/**/Log.jsm"):
     BUG_COMPONENT = ("Remote Protocol", "Log")
 with Files("domains/**/Network.jsm"):
     BUG_COMPONENT = ("Remote Protocol", "Network")
 with Files("domains/**/Page.jsm"):
     BUG_COMPONENT = ("Remote Protocol", "Page")
 with Files("domains/**/Performance.jsm"):
     BUG_COMPONENT = ("Remote Protocol", "Performance")