Bug 279015

Summary: [JSC] Improve TypeError message when WeakMap constructor takes an iterable that yields invalid entry
Product: WebKit Reporter: Sosuke Suzuki <aosukeke>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Sosuke Suzuki
Reported 2024-09-02 05:45:41 PDT
```js new WeakMap("foo"); // TypeError: Type error ```
Attachments
Sosuke Suzuki
Comment 1 2024-09-02 05:47:29 PDT
EWS
Comment 2 2024-09-05 02:41:31 PDT
Committed 283199@main (060a2be2c503): <https://commits.webkit.org/283199@main> Reviewed commits have been landed. Closing PR #33027 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-09-05 02:42:13 PDT
Note You need to log in before you can comment on or make changes to this bug.