[Webkit-unassigned] [Bug 215974] Wrong error message of the spread.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 14 11:50:51 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=215974

--- Comment #14 from Alexey Shvayka <shvaikalesh at gmail.com> ---
(In reply to HyeockJin Kim from comment #11)
> > "user defined error is not turned into a type error" case 
> 
> I don't know how to write the above test in Webkit.
> Can you explain a little more?

```
const myErr = new TypeError();
shouldThrowExactly(() => [...{get [Symbol.iterator]() { throw myErr; }}], myErr);
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200914/da1ba46f/attachment.htm>


More information about the webkit-unassigned mailing list