dom/credentialmanagement/moz.build
author Tim Taubert <ttaubert@mozilla.com>
Sat, 10 Mar 2018 06:43:20 +0100
changeset 446775 dd8202671cf14a9cb5e73b918edad64f386e9fb5
parent 436952 d67a47719c805b8db375d6708f08a7b0f8335976
permissions -rw-r--r--
Bug 1409202 - Web Authentication - Restrict to selected tabs in the active window r=jcj Summary: This patch restricts any calls to navigator.credentials.* methods to selected tabs. Any active WebAuthn request will be aborted when the parent chrome window loses focus, or the <browser> is backgrounded. Reviewers: jcj Reviewed By: jcj Bug #: 1409202 Differential Revision: https://phabricator.services.mozilla.com/D688

# -*- 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: Device Interfaces")

EXPORTS.mozilla.dom += [
    'Credential.h',
    'CredentialsContainer.h',
]

UNIFIED_SOURCES += [
    'Credential.cpp',
    'CredentialsContainer.cpp',
]

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'

MOCHITEST_MANIFESTS += ['tests/mochitest/mochitest.ini']
BROWSER_CHROME_MANIFESTS += ['tests/browser/browser.ini']