[webkit-changes] [WebKit/WebKit] aab167: Cherry-pick 285316 at main (d49fce1a2c4a). https://bu...

David Degazio noreply at github.com
Thu Oct 17 08:24:50 PDT 2024


  Branch: refs/heads/webkitglib/2.46
  Home:   https://github.com/WebKit/WebKit
  Commit: aab16753edfde49312203dac75a35ff6b5161dcb
      https://github.com/WebKit/WebKit/commit/aab16753edfde49312203dac75a35ff6b5161dcb
  Author: Pratiksha Choudhury <p_choudhury at apple.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    A LayoutTests/fast/files/filereader-invalid-policy-container-expected.txt
    A LayoutTests/fast/files/filereader-invalid-policy-container.html
    M Source/WebCore/fileapi/FileReaderLoader.cpp

  Log Message:
  -----------
  Cherry-pick 285316 at main (d49fce1a2c4a). https://bugs.webkit.org/show_bug.cgi?id=281548

    Nullptr crash in WebCore::SecurityContext::policyContainer
    https://bugs.webkit.org/show_bug.cgi?id=281548
    rdar://137177434

    Reviewed by Sihui Liu and Ryosuke Niwa.

    Added a nullptr check for contentSecurityPolicy() before fetching its policyContainer().

    * LayoutTests/fast/files/filereader-invalid-policy-container-expected.txt: Added.
    * LayoutTests/fast/files/filereader-invalid-policy-container.html: Added.
    * Source/WebCore/fileapi/FileReaderLoader.cpp:
    (WebCore::FileReaderLoader::start):

    Canonical link: https://commits.webkit.org/285316@main

Canonical link: https://commits.webkit.org/282416.219@webkitglib/2.46


  Commit: 25474291fa688ee08798a50f86044bc48e1f76ec
      https://github.com/WebKit/WebKit/commit/25474291fa688ee08798a50f86044bc48e1f76ec
  Author: David Degazio <d_degazio at apple.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M Source/WebKit/Scripts/PreferencesTemplates/WebPreferencesFeatures.cpp.erb
    M Source/WebKit/Scripts/PreferencesTemplates/WebPreferencesStoreDefaultsMap.cpp.erb

  Log Message:
  -----------
  Cherry-pick 285293 at main (ae4bc135bbb4). https://bugs.webkit.org/show_bug.cgi?id=281537

    Ensure InitializeWebKit2 is called before allocating API::Features in WebPreferencesFeatures.cpp
    https://bugs.webkit.org/show_bug.cgi?id=281537
    rdar://138003594

    Reviewed by Mark Lam.

    Changes the way we initialize the WebPreferences feature list to ensure
    InitializeWebKit2() is called before constructing the API::Features,
    or the defaults map in the Preferences store, since these functions are
    potentially reachable before we do initialization elsewhere.

    * Source/WebKit/Scripts/PreferencesTemplates/WebPreferencesFeatures.cpp.erb:
    * Source/WebKit/Scripts/PreferencesTemplates/WebPreferencesStoreDefaultsMap.cpp.erb:

    Canonical link: https://commits.webkit.org/285293@main

Canonical link: https://commits.webkit.org/282416.220@webkitglib/2.46


Compare: https://github.com/WebKit/WebKit/compare/bb47a37d7f4f...25474291fa68

To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list