| Summary: | The test of SmallSet.cpp should pass the right HashTrait to the HashSet it uses as a reference | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Robin Morisset <rmorisset> | ||||||
| Component: | Web Template Framework | Assignee: | Robin Morisset <rmorisset> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | amir_mark, mark.lam, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Bug Depends on: | 225848 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Robin Morisset
2021-05-20 10:29:40 PDT
Created attachment 429185 [details]
Patch
*** Bug 225978 has been marked as a duplicate of this bug. *** Comment on attachment 429185 [details]
Patch
r=me
(In reply to Robin Morisset from comment #0) > SmallSet allows all values except for the max value. > So we test it on small values, including 0. > > HashSet by default forbids 0, so it made the test crash. > We can trivially fix it by passing UnsignedWithZeroKeyHashTraits, which > allows everything which is not max() or max()-1 You should put this explanation in the ChangeLog. Created attachment 429202 [details]
Patch for landing
Committed r277817 (237964@main): <https://commits.webkit.org/237964@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 429202 [details]. |