Skip to content

getValueByObjectId #306

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

Closed
wants to merge 2 commits into from
Closed

getValueByObjectId #306

wants to merge 2 commits into from

Conversation

sjorsdonkers
Copy link
Contributor

@sjorsdonkers sjorsdonkers commented Apr 10, 2025

Expose unwrapObject via getValueByObjectId for use in describeNode
Note that we do not use the context nor objectGroup, perhaps we may need these in the future if the registry is context specific?

Depends on: lightpanda-io/zig-v8-fork#51

@sjorsdonkers sjorsdonkers marked this pull request as ready for review April 10, 2025 12:47
@karlseguin
Copy link
Collaborator

Standalone, this PR is fine.

But from the corresponding Browser PR (lightpanda-io/browser#524) I wonder if it isn't better to encapsulate the details. I'm not sure the CDP layer should know anything about a JSValue or an ExternalEntry.

@sjorsdonkers sjorsdonkers deleted the valueByObjectId branch April 18, 2025 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants