gecko-dev/toolkit/components/contextualidentity/moz.build
Julian Descottes 69300a43c4 Bug 1877191 - Add removeTabOptions parameter to ContextualIdentityService.closeContainerTabs r=mconley
Adds a removeTabOptions optional parameter to closeContainerTabs that will be forwarded to tabbrowser.removeTab
This allows to set options such as skipPermitUnload.
Browser mochitest added to check the new behavior. This should be a noop for current consumers of the API.

Differential Revision: https://phabricator.services.mozilla.com/D200018
2024-02-07 00:40:42 +00:00

15 lines
536 B
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/.
with Files("**"):
BUG_COMPONENT = ("Core", "DOM: Security")
EXTRA_JS_MODULES += [
"ContextualIdentityService.sys.mjs",
]
BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.toml"]
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"]