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

Add more JS/IDL tests #4142

Open
greggman opened this issue Jan 10, 2025 · 1 comment
Open

Add more JS/IDL tests #4142

greggman opened this issue Jan 10, 2025 · 1 comment

Comments

@greggman
Copy link
Contributor

I recently ran into an issue that some properties of GPUAdapter and GPUDevice where not enumerable in dawn.node. I fixed that but, a quick test finds other issues.

One example:

adapter = navigator.gpu.requestAdapter();
adapter.featureLevel = 123;         // works in browser, throws in dawn.node ("only getter")
console.log(adapter.featureLevel);  // prints the feature level (not 123) in the browser (as expected)

It would be good to know all these properties behave the same across implementations.

@greggman
Copy link
Contributor Author

related? #4139

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

No branches or pull requests

1 participant