Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set function length and name in CreateBuiltinFunction #2921

Conversation

ExE-Boss
Copy link
Contributor

Spec: tc39/ecma262#2116


I’ve also added tests for all built‑in functions that had their tests updated in #2299.


/cc @bakkot @ljharb @michaelficarra @syg

@ExE-Boss ExE-Boss force-pushed the normative/built-ins/set-name-and-length-in-create-builtin-function branch 2 times, most recently from 0c77c4b to ed023e8 Compare December 14, 2020 02:04
@rwaldron
Copy link
Contributor

@ExE-Boss I'd like to wait until at least one from your requested "cc" list responds with an approval, otherwise this looks good to me.

@ExE-Boss ExE-Boss force-pushed the normative/built-ins/set-name-and-length-in-create-builtin-function branch from b5b6d6e to 7fc0484 Compare January 29, 2021 00:04
@rwaldron rwaldron merged commit 8f904d8 into tc39:main Jan 29, 2021
@ExE-Boss ExE-Boss deleted the normative/built-ins/set-name-and-length-in-create-builtin-function branch January 29, 2021 16:14
webkit-commit-queue pushed a commit to WebKit/WebKit that referenced this pull request Jan 30, 2021
https://bugs.webkit.org/show_bug.cgi?id=221168

Reviewed by Darin Adler.

JSTests:

* stress/host-function-property-order.js: Added.
(shouldBe):

Source/JavaScriptCore:

We should first define "length" before "name".
This will be included in upcoming test262 update[1].

[1]: tc39/test262#2921

* runtime/JSFunction.cpp:
(JSC::JSFunction::finishCreation):


Canonical link: https://commits.webkit.org/233508@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@272099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
bertogg pushed a commit to Igalia/webkit that referenced this pull request Feb 1, 2021
https://bugs.webkit.org/show_bug.cgi?id=221168

Reviewed by Darin Adler.

JSTests:

* stress/host-function-property-order.js: Added.
(shouldBe):

Source/JavaScriptCore:

We should first define "length" before "name".
This will be included in upcoming test262 update[1].

[1]: tc39/test262#2921

* runtime/JSFunction.cpp:
(JSC::JSFunction::finishCreation):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@272099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants