[Webkit-unassigned] [Bug 159800] New: GeneratorFunction source code does not include star
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 14 20:02:03 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=159800
Bug ID: 159800
Summary: GeneratorFunction source code does not include star
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Macintosh
OS: OS X 10.11
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: shvaikalesh at gmail.com
I am working on robust generator function detection solution, and it seems like checking the result of `Function#toString` is clear winner here: `GeneratorFunction` [[Prototype]] can be changed, `.prototype` can be replaced etc.
However, WebKit Nightly (build 203240) does not include * in generators functions code. Other browsers (FF Nightly, Chrome Canary) do include star and even normalize spacing after `function` keyword (remove it).
For the sake of web compatibility and coming `Function#toString` revision (https://github.com/tc39/Function-prototype-toString-revision), it would be great to match other browsers.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160715/3dc98d61/attachment.html>
More information about the webkit-unassigned
mailing list