[Webkit-unassigned] [Bug 174756] New: [ES6] Generator with yield * removed property in result from `next`
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jul 22 14:43:29 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=174756
Bug ID: 174756
Summary: [ES6] Generator with yield * removed property in
result from `next`
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: gskachkov at gmail.com
```
var O = { [Symbol.iterator]() { return this; }, next() { return { floof: 1, done: false, value: 1 }; } };
function* g() { yield* O; }
let it = g();
it.next(); // { done: false, value: 1; }, BUT should be { floof: 1, done: false, value: 1 }, same object returned from .next();
```
--
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/20170722/de915ebf/attachment.html>
More information about the webkit-unassigned
mailing list