[webkit-changes] [WebKit/WebKit] 656c04: Null check scriptExecutionContext before using it ...

Chris Dumez noreply at github.com
Fri Feb 2 13:16:47 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 656c046fbbef93f936aa87d142d3ba8e8403cff1
      https://github.com/WebKit/WebKit/commit/656c046fbbef93f936aa87d142d3ba8e8403cff1
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-02-02 (Fri, 02 Feb 2024)

  Changed paths:
    M Source/WebCore/Modules/cache/DOMCacheStorage.cpp
    M Source/WebCore/Modules/cache/DOMCacheStorage.h

  Log Message:
  -----------
  Null check scriptExecutionContext before using it in DOMCacheStorage.cpp
https://bugs.webkit.org/show_bug.cgi?id=268625
rdar://122170377

Reviewed by Sihui Liu, Brent Fulgham and Youenn Fablet.

* Source/WebCore/Modules/cache/DOMCache.cpp:
(WebCore::DOMCache::create):
(WebCore::DOMCache::DOMCache):
* Source/WebCore/Modules/cache/DOMCache.h:
* Source/WebCore/Modules/cache/DOMCacheStorage.cpp:
(WebCore::DOMCacheStorage::findCacheOrCreate):
(WebCore::DOMCacheStorage::doOpen):

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




More information about the webkit-changes mailing list