Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fe7a1d0561c899b77da4bf8ec9234620dd2c3fda
      
https://github.com/WebKit/WebKit/commit/fe7a1d0561c899b77da4bf8ec9234620dd2c3fda
  Author: Youenn Fablet <[email protected]>
  Date:   2022-11-28 (Mon, 28 Nov 2022)

  Changed paths:
    A LayoutTests/http/wpt/cache-storage/cache-in-stopped-context-expected.txt
    A LayoutTests/http/wpt/cache-storage/cache-in-stopped-context.html
    A 
LayoutTests/http/wpt/cache-storage/resources/cache-in-stopped-context-iframe.html
    M Source/WebCore/Modules/cache/DOMCache.cpp

  Log Message:
  -----------
  Cache::put should not resolve/reject the promise if the context is stopped
https://bugs.webkit.org/show_bug.cgi?id=248231
rdar://problem/102607428

Reviewed by Chris Dumez.

Return early if context is stopped.

* LayoutTests/http/wpt/cache-storage/cache-in-stopped-context-expected.txt: 
Added.
* LayoutTests/http/wpt/cache-storage/cache-in-stopped-context.html: Added.
* 
LayoutTests/http/wpt/cache-storage/resources/cache-in-stopped-context-iframe.html:
 Added.
* Source/WebCore/Modules/cache/DOMCache.cpp:
(WebCore::DOMCache::put):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to