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
Pass constructor arguments to TextDecoder #3692
Conversation
The constructor now actually sets TextDecoder properties using the options parameter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. This is close, but not ready to merge yet
Two things that I noticed while testing:
|
point 1 is definitely an oversight, or maybe there wasnt a binding for the hint for point 2 is in |
@paperdave hm, I can't seem to get my changes in ~/bun$ make codegen
bun src/bun.js/scripts/generate-jssink.js
/usr/bin/clang-format-15 -i src/bun.js/bindings/JSSink.cpp src/bun.js/bindings/JSSink.h
/home/ubuntu/bun/src/bun.js/WebKit/Source/JavaScriptCore/create_hash_table src/bun.js/bindings/JSSink.cpp > src/bun.js/bindings/JSSinkLookupTable.h
/usr/bin/bash: line 1: /home/ubuntu/bun/src/bun.js/WebKit/Source/JavaScriptCore/create_hash_table: No such file or directory
make: *** [Makefile:1474: generate-sink] Error 127 |
We should copy that script into our repo, but you can use |
@paperdave no dice unfortunately. |
Thank you |
The constructor now actually sets TextDecoder properties using the options parameter. This lets users enable the
fatal
parameter, closing #3572.