Bug 183068

Summary: Caches::m_storage should be set to null in case of error at initialization time
Product: WebKit Reporter: youenn fablet <youennf>
Component: Service WorkersAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, cdumez, cgarcia, commit-queue, ews-watchlist, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=183062
Attachments:
Description Flags
Patch none

Description youenn fablet 2018-02-22 16:39:16 PST
Not doing so will make next initialize requests be appended to the queue and never called.
Comment 1 youenn fablet 2018-02-22 16:47:49 PST
Created attachment 334484 [details]
Patch
Comment 2 youenn fablet 2018-02-22 16:48:11 PST
This complements https://bugs.webkit.org/show_bug.cgi?id=183062.
Tested locally by hammering the WPT service worker tests, I no longer see Cache Storage related time outs.
Comment 3 youenn fablet 2018-02-22 16:49:05 PST
<rdar://problem/37803485>
Comment 4 WebKit Commit Bot 2018-02-26 16:04:11 PST
Comment on attachment 334484 [details]
Patch

Clearing flags on attachment: 334484

Committed r229045: <https://trac.webkit.org/changeset/229045>
Comment 5 WebKit Commit Bot 2018-02-26 16:04:12 PST
All reviewed patches have been landed.  Closing bug.