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

[Bug]: appendSwitch('disable-dawn-features', 'disallow_unsafe_apis') not working #41781

Closed
3 tasks done
lcodes opened this issue Apr 5, 2024 · 1 comment
Closed
3 tasks done
Labels

Comments

@lcodes
Copy link

lcodes commented Apr 5, 2024

Preflight Checklist

Electron Version

29.1.4

What operating system are you using?

Windows

Operating System Version

Windows 10

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

Added app.commandLine.appendSwitch('disable-dawn-features', 'disallow_unsafe_apis'); before the ready event, expecting to be able to use GPUCommandEncoder.writeTimestamp

Actual Behavior

Seeing "writeTimestamp requires enabling toggle allow_unsafe_apis." warnings in the console.

Testcase Gist URL

No response

Additional Information

No response

@lcodes lcodes added the bug 🪲 label Apr 5, 2024
@lcodes
Copy link
Author

lcodes commented Apr 5, 2024

My bad, the switch has been renamed to 'enable-dawn-features', 'allow_unsafe_apis'.

Spent half an hour googling before creating this issue, and I find the solution randomly 5 minutes after opening it :/

@lcodes lcodes closed this as completed Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant