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>
Status: RESOLVED FIXED    
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

John Wilander
Reported 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.
Attachments
John Wilander
Comment 1 2018-02-28 16:54:48 PST
Radar WebKit Bug Importer
Comment 2 2018-02-28 16:55:47 PST
Note You need to log in before you can comment on or make changes to this bug.