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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
John Wilander
Committed r229115: <https://trac.webkit.org/changeset/229115>
Radar WebKit Bug Importer
<rdar://problem/38007238>