-
Notifications
You must be signed in to change notification settings - Fork 22
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
getting a webgl context fails on macOS #57
Comments
Hmm.. I don't have a mac. But I will see if I can find something. |
@hajimehoshi - does it work if you manually paste the commands in a browser console? I just tried the following and got
|
Hm, apparently this is the same on Windows
|
Ok, so it's a chromedp thing: chromedp/chromedp#1190. I'll take a deeper look. |
@hajimehoshi - Could you try with this branch: https://github.com/agnivade/wasmbrowsertest/tree/webgl and see if this helps? Unfortunately, my laptop doesn't support webgl so it's a bit difficult for me. |
Hmm, this never returns...
|
Ugh .. sorry about that. I have a strong suspicion that it's got to do with some flag that is disabled by default in the headless Chrome, but works in the normal browser instance. But since I don't have a box to repro this, it is difficult for me. I think this issue isn't even related to wasmbrowsertest. You might be able to get a standalone repro with just using chromedp, by running a piece of JS. If we can get to that, then it becomes easier to work on it. And even possibly report to chromedp team. |
main_test.go
)The test fails:
The test fails even with
WASM_HEADLESS=off
.My environment is:
My wasmbrowsertest version is 6e494bb.
The text was updated successfully, but these errors were encountered: