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

Fix non-ASCII strings in JS_NewAtomLen #317

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Emill
Copy link

@Emill Emill commented Jun 9, 2024

Fixes the following bug (run in qjs):

õ = 3;
console.log(õ); // prints 3, should throw ReferenceError

TooTallNate pushed a commit to TooTallNate/quickjs that referenced this pull request Jul 3, 2024
* make `Object.prototype` an immutable prototype object
* throw an exception on `Object.setPrototypeOf(Object.prototype, xxx)`
* do not throw an exception for `Reflect.setPrototypeOf(Object.prototype, xxx)`
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.

1 participant