| Summary: | [JSC] Make OutOfMemory error as instance of RangeError | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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, ross.kirsling, saam, tzagallo, webkit-bug-importer | ||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||
| Hardware: | Unspecified | ||||||||||||||
| OS: | Unspecified | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Yusuke Suzuki
2020-05-15 05:50:42 PDT
Created attachment 399471 [details]
Patch
WIP
Created attachment 399472 [details]
Patch
WIP
Created attachment 399495 [details]
Patch
Created attachment 399497 [details]
Patch
Nice. Does this have any test262 impact? Created attachment 399536 [details]
Patch
(In reply to Ross Kirsling from comment #5) > Nice. Does this have any test262 impact? Looks like no impact. Comment on attachment 399536 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=399536&action=review r=me > Source/JavaScriptCore/runtime/ErrorType.h:54 > +#define COUNT_ERROR_TYPES(name) 1 + > +static constexpr unsigned NumberOfErrorType { > + JSC_ERROR_TYPES(COUNT_ERROR_TYPES) 0 Nice. I never thought of doing it this way to do the counting. Committed r261780: <https://trac.webkit.org/changeset/261780> All reviewed patches have been landed. Closing bug and clearing flags on attachment 399536 [details]. |