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"]
14 EXPORTS.mozilla.dom += [
16 "DOMSecurityMonitor.h",
18 "nsContentSecurityManager.h",
19 "nsContentSecurityUtils.h",
23 "nsHTTPSOnlyStreamListener.h",
25 "nsMixedContentBlocker.h",
35 "nsContentSecurityManager.h",
36 "nsContentSecurityUtils.h",
37 "nsMixedContentBlocker.h",
43 "DOMSecurityMonitor.cpp",
45 "nsContentSecurityManager.cpp",
46 "nsContentSecurityUtils.cpp",
51 "nsHTTPSOnlyStreamListener.cpp",
52 "nsHTTPSOnlyUtils.cpp",
53 "nsMixedContentBlocker.cpp",
54 "PolicyTokenizer.cpp",
61 include("/ipc/chromium/chromium-config.mozbuild")
66 "/docshell/base", # for nsDocShell.h
68 "/netwerk/protocol/data", # for nsDataHandler.h
69 "/netwerk/protocol/http", # for HttpBaseChannel.h
72 include("/tools/fuzzing/libfuzzer-config.mozbuild")
74 if CONFIG["FUZZING_INTERFACES"]:
75 TEST_DIRS += ["fuzztest"]
79 "nsIHttpsOnlyModePermission.idl",
82 XPIDL_MODULE = "dom_security"