Bug 182514

Summary: WebsiteDataStore::resolveDirectoriesIfNecessary() should not overwrite its resolved serviceWorkerRegistrationDirectory if already set
Product: WebKit Reporter: youenn fablet <youennf>
Component: Service WorkersAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, cdumez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 179351    
Attachments:
Description Flags
Patch none

Description youenn fablet 2018-02-05 15:07:40 PST
WebsiteDataStore::resolveDirectoriesIfNecessary() should not overwrite its resolved serviceWorkerRegistrationDirectory  if already set
Comment 1 youenn fablet 2018-02-05 15:08:30 PST
Created attachment 333126 [details]
Patch
Comment 2 Radar WebKit Bug Importer 2018-02-05 15:12:07 PST
<rdar://problem/37251675>
Comment 3 youenn fablet 2018-02-05 15:21:59 PST
With this patch, path given to RegistrationDatabase::RegistrationDatabase by RWT is different for every WTR instance.
Comment 4 Chris Dumez 2018-02-05 15:36:57 PST
Comment on attachment 333126 [details]
Patch

Clearing flags on attachment: 333126

Committed r228137: <https://trac.webkit.org/changeset/228137>
Comment 5 Chris Dumez 2018-02-05 15:36:58 PST
All reviewed patches have been landed.  Closing bug.