[webkit-changes] [WebKit/WebKit] fe7a1d: Cache::put should not resolve/reject the promise i...
youennf
noreply at github.com
Mon Nov 28 12:06:04 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fe7a1d0561c899b77da4bf8ec9234620dd2c3fda
https://github.com/WebKit/WebKit/commit/fe7a1d0561c899b77da4bf8ec9234620dd2c3fda
Author: Youenn Fablet <youennf at gmail.com>
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
More information about the webkit-changes
mailing list