Skip to content
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

Object.setPrototypeOf only works for ScriptableObjects #1629

Open
tonygermano opened this issue Sep 13, 2024 · 0 comments
Open

Object.setPrototypeOf only works for ScriptableObjects #1629

tonygermano opened this issue Sep 13, 2024 · 0 comments
Labels
Java Interop Issues related to the interaction between Java and JavaScript

Comments

@tonygermano
Copy link
Contributor

tonygermano commented Sep 13, 2024

I'll try to flesh this out a little more later. I'm just opening it so I don't forget about it.

I see that while the Scriptable interface defines a setPrototype method, Object.setPrototypeOf will not actually attempt to call it unless the object is an instance of ScriptableObject.

@p-bakker p-bakker added the Java Interop Issues related to the interaction between Java and JavaScript label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java Interop Issues related to the interaction between Java and JavaScript
Projects
None yet
Development

No branches or pull requests

2 participants