Skip to content

Conversation

wenhanchong
Copy link
Contributor

@wenhanchong wenhanchong commented Sep 11, 2025

This PR addresses an error encountered while using OFFSCREENCANVAS_SUPPORT for pthreads.
Unable to find canvas in findCanvasEventTarget when canvas is specialHTMLTargets.

Uncaught TypeError: document.querySelector is not a function
    at findCanvasEventTarget
    at _wgpuInstanceCreateSurface

@sbc100 sbc100 requested a review from juj September 11, 2025 18:48
@wenhanchong wenhanchong requested a review from juj September 12, 2025 15:42
@wenhanchong wenhanchong requested a review from juj September 15, 2025 02:06
@juj juj merged commit 9692a6d into emscripten-core:main Sep 15, 2025
29 checks passed
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