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

GPUDevice: uncapturederror event seems not implemented #22827

Closed
disjukr opened this issue Mar 9, 2024 · 2 comments
Closed

GPUDevice: uncapturederror event seems not implemented #22827

disjukr opened this issue Mar 9, 2024 · 2 comments
Labels
bug Something isn't working ext/webgpu related to the ext/webgpu web related to Web APIs

Comments

@disjukr
Copy link

disjukr commented Mar 9, 2024

Version: Deno 1.41.1

https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/uncapturederror_event

test.ts

const adapter = await navigator.gpu.requestAdapter();
const device = await adapter.requestDevice();
device.addEventListener("uncapturederror", (e) => console.log(e));
$ deno run --unstable-webgpu test.ts
error: Uncaught (in promise) TypeError: Cannot destructure property 'listeners' of 'self[eventTargetData]' as it is undefined.
device.addEventListener("uncapturederror", (e) => console.log(e));
       ^
    at GPUDevice.addEventListener (ext:deno_web/02_event.js:931:13)
    at test.ts:3:8
@bartlomieju
Copy link
Member

CC @crowlKats

@bartlomieju bartlomieju added bug Something isn't working web related to Web APIs ext/webgpu related to the ext/webgpu labels Mar 10, 2024
@crowlKats
Copy link
Member

Closing as implemented in #23684

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ext/webgpu related to the ext/webgpu web related to Web APIs
Projects
None yet
Development

No branches or pull requests

3 participants