1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 BUG_COMPONENT = ("Core", "DOM: Security")
12 DIRS += ["featurepolicy", "sanitizer", "trusted-types"]
14 EXPORTS.mozilla.dom += [
17 "DomSecurityIPCUtils.h",
18 "DOMSecurityMonitor.h",
20 "nsContentSecurityManager.h",
21 "nsContentSecurityUtils.h",
25 "nsHTTPSOnlyStreamListener.h",
27 "nsMixedContentBlocker.h",
37 "nsContentSecurityManager.h",
38 "nsContentSecurityUtils.h",
39 "nsMixedContentBlocker.h",
45 "CSPViolationData.cpp",
46 "DOMSecurityMonitor.cpp",
48 "nsContentSecurityManager.cpp",
49 "nsContentSecurityUtils.cpp",
54 "nsHTTPSOnlyStreamListener.cpp",
55 "nsHTTPSOnlyUtils.cpp",
56 "nsMixedContentBlocker.cpp",
57 "PolicyTokenizer.cpp",
64 include("/ipc/chromium/chromium-config.mozbuild")
69 "/docshell/base", # for nsDocShell.h
71 "/netwerk/protocol/data", # for nsDataHandler.h
72 "/netwerk/protocol/http", # for HttpBaseChannel.h
75 include("/tools/fuzzing/libfuzzer-config.mozbuild")
77 if CONFIG["FUZZING_INTERFACES"]:
78 TEST_DIRS += ["fuzztest"]
82 "nsIHttpsOnlyModePermission.idl",
85 XPIDL_MODULE = "dom_security"