Bug 185553

Summary: LinkLoader fails to remove CachedResourceClient in some cases
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, cdumez, commit-queue, dbates, ews-watchlist, ggaren, japhet, yoav, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch none

Description Antti Koivisto 2018-05-11 10:49:41 PDT
This may corrupt CachedResource client map.
Comment 1 Antti Koivisto 2018-05-11 10:49:59 PDT
<rdar://problem/36879656>
Comment 2 Antti Koivisto 2018-05-11 11:03:14 PDT
Created attachment 340204 [details]
patch
Comment 3 Antti Koivisto 2018-05-11 11:05:40 PDT
The whole LinkPreloadResourceClient thing could use refactoring to be more robust and less confusing. This is the minimal fix.
Comment 4 Geoffrey Garen 2018-05-11 11:27:47 PDT
Comment on attachment 340204 [details]
patch

r=me
Comment 5 WebKit Commit Bot 2018-05-11 12:05:42 PDT
Comment on attachment 340204 [details]
patch

Clearing flags on attachment: 340204

Committed r231713: <https://trac.webkit.org/changeset/231713>
Comment 6 WebKit Commit Bot 2018-05-11 12:05:44 PDT
All reviewed patches have been landed.  Closing bug.