Files
tubestation/testing/specialpowers/moz.build
Rob Wu e538e4ca22 Bug 1952682 - Introduce support for SpecialPowers.spawn in a content process r=nika
This patch introduces SpecialPowersForProcess + spawn() to enable
callers to spawn a task in the specified content process, and adds
a helper to ContentPage that is used in tests in bug 1952681.

Differential Revision: https://phabricator.services.mozilla.com/D240779
2025-05-06 01:53:12 +00:00

44 lines
1.2 KiB
Python

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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/.
XPI_NAME = "specialpowers"
USE_EXTENSION_MANIFEST = True
FINAL_TARGET_FILES += [
"api.js",
"manifest.json",
"schema.json",
]
FINAL_TARGET_FILES.content += [
"content/AppTestDelegate.sys.mjs",
"content/AppTestDelegateChild.sys.mjs",
"content/AppTestDelegateParent.sys.mjs",
]
modules = [
"content/ContentTaskUtils.sys.mjs",
"content/MockColorPicker.sys.mjs",
"content/MockFilePicker.sys.mjs",
"content/MockPermissionPrompt.sys.mjs",
"content/MockPromptCollection.sys.mjs",
"content/MockSound.sys.mjs",
"content/SpecialPowersChild.sys.mjs",
"content/SpecialPowersEventUtils.sys.mjs",
"content/SpecialPowersParent.sys.mjs",
"content/SpecialPowersProcessActor.sys.mjs",
"content/SpecialPowersSandbox.sys.mjs",
"content/WrapPrivileged.sys.mjs",
]
TESTING_JS_MODULES += modules
FINAL_TARGET_FILES.modules += modules
with Files("**"):
BUG_COMPONENT = ("Testing", "Mochitest")