-
-
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
[Merged by Bors] - Cleanup Context
APIs
#2504
Conversation
Test262 conformance changes
|
Oof, the engine didn't like the adjustments I did to the |
Codecov Report
@@ Coverage Diff @@
## main #2504 +/- ##
==========================================
+ Coverage 51.27% 51.46% +0.18%
==========================================
Files 356 356
Lines 35864 35678 -186
==========================================
- Hits 18391 18361 -30
+ Misses 17473 17317 -156
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
This looks awesome! Had a couple questions/potential suggestions.
a680d2d
to
d45ed7d
Compare
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.
Looks good to me 😄
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.
Looks good to me! :)
bors r+ |
Just a general cleanup of the APIs of our `Context`. - Reordered the `pub` and `pub(crate)/fn` methods to have a clear separation between our public and private APIs. - Removed the call method and added it to `JsValue` instead, which semantically makes a bit more sense. - Removed the `construct_object` method, and added an utility method `new` to `JsObject` instead. - Rewrote some patterns I found while rewriting the calls of the removed function.
Pull request successfully merged into main. Build succeeded: |
Context
APIsContext
APIs
Just a general cleanup of the APIs of our
Context
.pub
andpub(crate)/fn
methods to have a clear separation between our public and private APIs.JsValue
instead, which semantically makes a bit more sense.construct_object
method, and added an utility methodnew
toJsObject
instead.