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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andreas Tolfsen 2019-04-25 14:27:15 +00:00
parent 681ee8a0d0
commit d3121dd02c
5 changed files with 32 additions and 2 deletions

View File

@ -11,7 +11,9 @@ 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",

View File

@ -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 {}

View File

@ -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 {}

View File

@ -29,12 +29,14 @@ remote.jar:
content/targets/Targets.jsm (targets/Targets.jsm)
# domains
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/Domain.jsm (domains/Domain.jsm)
content/domains/Domains.jsm (domains/Domains.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)

View File

@ -20,6 +20,10 @@ 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"):