-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
Feature console
crate feature
#800
Conversation
Codecov Report
@@ Coverage Diff @@
## master #800 +/- ##
==========================================
+ Coverage 59.15% 59.61% +0.46%
==========================================
Files 155 155
Lines 9841 9965 +124
==========================================
+ Hits 5821 5941 +120
- Misses 4020 4024 +4
Continue to review full report at Codecov.
|
Benchmark for 32e0d1fClick to view benchmark
|
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.
Just the 2 typos, the rest looks fine.
Benchmark for 31b71b4Click to view benchmark
|
I don't think this is the correct way to go. Console should be injected into the context (during context creation or dynamically) from |
The |
Should this be a separate crate? |
@HalidOdat If the user wants a quick default implementation of console which he doesnt have, he should use the console crate we aslo provide and initialize the boa instance providing this crate. This is negligible more work comparing to enabling a feature. And |
Yes. This is probably the best choice, Im reopening the issue :) |
This Pull Request fixes/closes #718 .
It changes the following:
console
object behind a feature flag