| Summary: | [JSC] Rope string equal operation should first check length | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||||
| Component: | New Bugs | Assignee: | Yusuke Suzuki <ysuzuki> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | ews-watchlist, keith_miller, mark.lam, msaboff, rniwa, saam, tzagallo, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Yusuke Suzuki
2021-03-24 00:52:39 PDT
Created attachment 424102 [details]
Patch
Comment on attachment 424102 [details]
Patch
r=me. I’m surprised we aren’t already doing this.
Comment on attachment 424102 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424102&action=review > Source/JavaScriptCore/ChangeLog:8 > + This can avoid eagerly resolving rope strings if it is not necessary. lol, this is hilarious! stress/redefine-property-same-value-exception-check.js is failing, just because this relies on the fact that this function resolves rope string (and throwing OOM error). We should fix the test. Created attachment 424105 [details]
Patch
Failed stress/redefine-property-same-value-exception-check.js test is fixed, and ensured in jsc-armv7-tests result. Committed r274935 (235693@main): <https://commits.webkit.org/235693@main> |