-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
Object.seal() behavior is not correct #174
Comments
Can you please open a Rhino issue for this.
|
yes sure: mozilla/rhino#676 |
Made a PR for rhino, as soon as this is merged i will update our core-js snapshot. |
fixed with the lastes core-js snapshot build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should be a rhino problem.
According to the specification, the values of present properties of a sealed object can be changed as long as they are writable. The code below runs correctly in real browsers but fails in htmlunit with net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot add properties to this object because extensible is false.
The text was updated successfully, but these errors were encountered: