Bug 185553 - LinkLoader fails to remove CachedResourceClient in some cases
Summary: LinkLoader fails to remove CachedResourceClient in some cases
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-05-11 10:49 PDT by Antti Koivisto
Modified: 2018-05-12 04:24 PDT (History)
9 users (show)

See Also:


Attachments
patch (3.48 KB, patch)
2018-05-11 11:03 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.