Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ebb8dea2e3a3643ae2495bb9adee9c6c8a791868
https://github.com/WebKit/WebKit/commit/ebb8dea2e3a3643ae2495bb9adee9c6c8a791868
Author: Chris Dumez <[email protected]>
Date: 2023-11-08 (Wed, 08 Nov 2023)
Changed paths:
M Source/WebCore/dom/ScriptExecutionContext.cpp
M Source/WebCore/page/csp/ContentSecurityPolicy.cpp
M Source/WebCore/page/csp/ContentSecurityPolicy.h
Log Message:
-----------
Adopt a smart pointer for ContentSecurityPolicy::m_scriptExecutionContext
https://bugs.webkit.org/show_bug.cgi?id=264358
Reviewed by Brent Fulgham.
* Source/WebCore/page/csp/ContentSecurityPolicy.cpp:
(WebCore::ContentSecurityPolicy::ContentSecurityPolicy):
(WebCore::ContentSecurityPolicy::applyPolicyToScriptExecutionContext):
(WebCore::ContentSecurityPolicy::allowContentSecurityPolicySourceStarToMatchAnyProtocol
const):
(WebCore::ContentSecurityPolicy::reportViolation const):
(WebCore::ContentSecurityPolicy::reportBlockedScriptExecutionToInspector const):
* Source/WebCore/page/csp/ContentSecurityPolicy.h:
Canonical link: https://commits.webkit.org/270411@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes