-
-
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
Add Context::create_realm
#3369
Add Context::create_realm
#3369
Conversation
f44e897
to
c5efb41
Compare
Realm::create_with_default_global_bindings
Context::create_realm
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.
Thanks for the contribution! I think the new API could be used in boa_tester
for the createRealm
function, but we can leave it as a future improvement for now.
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.
Besides the clippy warning, this looks perfect to me! :)
Provides a function for creating Realms with the default global bindings.
c5efb41
to
9f4e504
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #3369 +/- ##
==========================================
- Coverage 49.55% 45.71% -3.84%
==========================================
Files 446 482 +36
Lines 43705 49182 +5477
==========================================
+ Hits 21656 22485 +829
- Misses 22049 26697 +4648
☔ View full report in Codecov by Sentry. |
This Pull Request fixes/closes issue described in this discord thread.
It changes the following: