[webkit-changes] [WebKit/WebKit] ebb8de: Adopt a smart pointer for ContentSecurityPolicy::m...

Chris Dumez noreply at github.com
Wed Nov 8 16:02:18 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ebb8dea2e3a3643ae2495bb9adee9c6c8a791868
      https://github.com/WebKit/WebKit/commit/ebb8dea2e3a3643ae2495bb9adee9c6c8a791868
  Author: Chris Dumez <cdumez at apple.com>
  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




More information about the webkit-changes mailing list