-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
[builtins - Object] Object.defineProperties() not implemented #552
Comments
Hi, this seems to be a new enhancement request, not something that is buggy. Could you please fill the template we have for this? There are no links to the spec or proper explanations on what this means. |
Done in #554.
Do you have a link to the spec where this is explained? A code example that you would like to make work? Also, you mention |
It should not be my job as a end-user and issue reported to suggest the way how to implement it, and provide suggestions where to find the information. The reporter should have a discretion to add this or not. The issue report is perfectly clear as is. My extra effort here was that I checked that Object.defineProperties does not work because it is not implemented. I could have just said it is not working as in Chrome, so it would be a bug. It is not the mandatory job of the reported to search if some JS code does not work because "it is not implemented", or because "it is wrongly implemented".
Although I think this is also clear, I added a link to the related closed issue which provides more details. |
Sure, but understand that the more detail you give, the more possibilities you have for us to take this into account. In any case, let me add some information for future developers. This is defined in the spec here. This should be added to the Then, this needs to be added as a property of the Note that this Then, in the spec, you call Then it calls |
Yes. |
Now that the blockers are out the way this should be straight forward for someone to pick up |
i can take this issue |
Ok i am creating the Object.defineProperties function but i did not understand something in the spec. |
@dvtkrlbs I guess that should be a method of Rust's |
I imagine your "defineProperties" will be similar to this:
|
Also, as per: #543 (comment) , after this is done,
Object.create
should be improved to handle second argument (the object properties) along with some tests.The text was updated successfully, but these errors were encountered: