| Summary: | iOS 8 beta 2 ES6 'Set' clear() broken | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ashley Gullen <ashley> | ||||
| Component: | JavaScriptCore | Assignee: | Benjamin Poulain <benjamin> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Major | CC: | benjamin, bunhere, cdumez, commit-queue, gyuyoung.kim, oliver, sergio | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | iPhone / iPad | ||||||
| OS: | Other | ||||||
| URL: | http://www.scirra.com/labs/bugs/testset.html | ||||||
| Attachments: |
|
||||||
|
Description
Ashley Gullen
2014-06-26 08:02:28 PDT
Sigh. This is a dumb mistake - MapData::clear is not clearing m_cellKeyedTable - probably fallout from when i fixed the hash-timing attack. Ben, i'm currently stuck on other things any chance you're able to fix this? (In reply to comment #1) > Sigh. This is a dumb mistake - MapData::clear is not clearing m_cellKeyedTable - probably fallout from when i fixed the hash-timing attack. Ben, i'm currently stuck on other things any chance you're able to fix this? Sounds good, I'll have a look. Created attachment 233950 [details]
Patch
Comment on attachment 233950 [details]
Patch
Could you also add tests for Map? (i realise that they both just use MapData, but it would be good to have explicit tests of each in case that ever changes)
(In reply to comment #4) > (From update of attachment 233950 [details]) > Could you also add tests for Map? (i realise that they both just use MapData, but it would be good to have explicit tests of each in case that ever changes) Sure. I'll clone the test and adapt it for Map on landing. Thanks for the review. Committed r170517: <http://trac.webkit.org/changeset/170517> Still reproduces in iOS 8 beta 3. Was this pushed back to the next beta? (In reply to comment #7) > Still reproduces in iOS 8 beta 3. Was this pushed back to the next beta? I don't track the beta branches, but given the timing it seems normal this did not make it to the stabilization branch. For now, please try WebKit Nightly to make sure everything works as expected. This patch should make it to the next beta. |