Bug 183233

Summary: Remove assertion from ResourceLoadStatisticsClassifier::calculateResourcePrevalence() which causes crashes when domains are explicitly set as prevalent without the associated statistics
Product: WebKit Reporter: John Wilander <wilander>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Severity: Normal CC: 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=183218

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