Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 314f2e989894f28574d87471da5fc40201781edc
      
https://github.com/WebKit/WebKit/commit/314f2e989894f28574d87471da5fc40201781edc
  Author: Rob Buis <[email protected]>
  Date:   2025-07-04 (Fri, 04 Jul 2025)

  Changed paths:
    M 
LayoutTests/http/tests/cache-storage/page-cache-domcache-pending-promise.html
    M Source/WebCore/Modules/cache/DOMCacheStorage.cpp

  Log Message:
  -----------
  DOMCacheStorage methods can assert in Debug
https://bugs.webkit.org/show_bug.cgi?id=294839

Reviewed by Chris Dumez.

DOMCacheStorage methods can assert in Debug when a DOMCacheStorage promise is 
rejected while
the page is suspended, use a similar solution like in r250786 to fix this.

* LayoutTests/http/tests/cache-storage/page-cache-domcache-pending-promise.html:
* Source/WebCore/Modules/cache/DOMCacheStorage.cpp:
(WebCore::DOMCacheStorage::match):
(WebCore::DOMCacheStorage::has):
(WebCore::DOMCacheStorage::open):
(WebCore::DOMCacheStorage::remove):
(WebCore::DOMCacheStorage::keys):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to