Bug 215272

Summary: Fix inequality in newly added assertion
Product: WebKit Reporter: Robin Morisset <rmorisset>
Component: Web Template FrameworkAssignee: Robin Morisset <rmorisset>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, cmarcelo, ews-watchlist, 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=215100
Bug Depends on: 215100    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Robin Morisset
Reported 2020-08-07 08:55:15 PDT
In IndexSparseSet::validate() (that I just added), there is an assertion that m_values.size() < m_map.size(). It should be <= instead.
Attachments
Patch (1.30 KB, patch)
2020-08-07 08:57 PDT, Robin Morisset
no flags
Robin Morisset
Comment 1 2020-08-07 08:57:10 PDT
EWS
Comment 2 2020-08-07 09:39:35 PDT
Committed r265378: <https://trac.webkit.org/changeset/265378> All reviewed patches have been landed. Closing bug and clearing flags on attachment 406177 [details].
Radar WebKit Bug Importer
Comment 3 2020-08-07 09:40:22 PDT
Alexey Proskuryakov
Comment 4 2020-08-07 09:41:57 PDT
Comment on attachment 406177 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=406177&action=review > Source/WTF/ChangeLog:8 > + No new tests, as it was caught by our testing infrastructure (not sure why it only got caught after landing). As determined in a Slack discussion, the explanation is that the landed patch was different from what went through EWS.
Note You need to log in before you can comment on or make changes to this bug.