Bug 183233 - Remove assertion from ResourceLoadStatisticsClassifier::calculateResourcePrevalence() which causes crashes when domains are explicitly set as prevalent without the associated statistics
Summary: Remove assertion from ResourceLoadStatisticsClassifier::calculateResourcePrev...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-02-28 16:52 PST by John Wilander
Modified: 2018-02-28 16:55 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Wilander 2018-02-28 16:52:15 PST
When layout tests set domains as prevalent without also setting associated statistics to back it up, we may get calls to the classifier with prevalence set to High but new prevalence Low. The assertion for Low in these cases should be removed.
Comment 1 John Wilander 2018-02-28 16:54:48 PST
Committed r229115: <https://trac.webkit.org/changeset/229115>
Comment 2 Radar WebKit Bug Importer 2018-02-28 16:55:47 PST
<rdar://problem/38007238>