Bug 279015
Summary: | [JSC] Improve TypeError message when WeakMap constructor takes an iterable that yields invalid entry | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sosuke Suzuki <aosukeke> |
Component: | JavaScriptCore | Assignee: | 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
```js
new WeakMap("foo");
// TypeError: Type error
```
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Sosuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/33027
EWS
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
<rdar://problem/135333331>