Bug 163714 - [JSC] throw TypeError when constructing dynamically created JSGeneratorFunction
Summary: [JSC] throw TypeError when constructing dynamically created JSGeneratorFunction
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Caitlin Potter (:caitp)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-19 18:22 PDT by Caitlin Potter (:caitp)
Modified: 2016-10-20 08:03 PDT (History)
5 users (show)

See Also:


Attachments
Patch (4.85 KB, patch)
2016-10-19 18:25 PDT, Caitlin Potter (:caitp)
no flags Details | Formatted Diff | Diff
Patch (4.83 KB, patch)
2016-10-20 07:38 PDT, Caitlin Potter (:caitp)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Caitlin Potter (:caitp) 2016-10-19 18:22:16 PDT
[JSC] throw TypeError when constructing dynamically created JSGeneratorFunction
Comment 1 Caitlin Potter (:caitp) 2016-10-19 18:25:29 PDT
Created attachment 292139 [details]
Patch
Comment 2 Caitlin Potter (:caitp) 2016-10-19 18:27:24 PDT
PTAL, another blocker causing test failures in the runtime patch for async functions. Corrects a little spec violation that is missing test coverage
Comment 3 Mark Lam 2016-10-19 20:00:30 PDT
Comment on attachment 292139 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=292139&action=review

r=me

> Source/JavaScriptCore/ChangeLog:9
> +        According to CreateDynamicFunction() (https://tc39.github.io/ecma262/#sec-createdynamicfunction), non
> +        "normal functions are not constructors. Previously, dynamically created functions

typo: /non"normal/non-normal/.
Comment 4 Caitlin Potter (:caitp) 2016-10-20 07:38:37 PDT
Created attachment 292182 [details]
Patch
Comment 5 WebKit Commit Bot 2016-10-20 07:39:51 PDT
Comment on attachment 292182 [details]
Patch

Rejecting attachment 292182 [details] from review queue.

caitp@igalia.com does not have reviewer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json.

- If you do not have reviewer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags.

- If you have reviewer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed).  The commit-queue restarts itself every 2 hours.  After restart the commit-queue will correctly respect your reviewer rights.
Comment 6 WebKit Commit Bot 2016-10-20 08:03:27 PDT
Comment on attachment 292182 [details]
Patch

Clearing flags on attachment: 292182

Committed r207618: <http://trac.webkit.org/changeset/207618>
Comment 7 WebKit Commit Bot 2016-10-20 08:03:30 PDT
All reviewed patches have been landed.  Closing bug.