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

Allow Ecmascript features to be disabled using rust features #432

Open
8 of 13 tasks
load1n9 opened this issue Oct 9, 2024 · 2 comments
Open
8 of 13 tasks

Allow Ecmascript features to be disabled using rust features #432

load1n9 opened this issue Oct 9, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@load1n9
Copy link
Member

load1n9 commented Oct 9, 2024

@load1n9 load1n9 added the enhancement New feature or request label Oct 9, 2024
@load1n9 load1n9 self-assigned this Oct 9, 2024
@eliassjogreen
Copy link
Member

DataView is dependent on ArrayBuffer which in turn has multiple other dependencies for typed arrays. Is it/should it really be possible to disable them separately? I think maybe a flag to disable all AB related features would be more appropriate.

I get the use for disabling stuff like ICU (Intl) and eval but is the idea that everything in the global scope except primitives should be able to be disabled?

@load1n9
Copy link
Member Author

load1n9 commented Oct 9, 2024

I like the idea of being able to create environments for challenges like "Do X task without the Math object". But you might be right for the arraybuffer thing where we should make all those arraybuffer dependent features into one feature, what should we name it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants