Hi, I’m trying to test if my code deals with a GPU crash when loading a page, but I’m having a bit of trouble getting the page to do a GPU crash.
If I give a webview a src of ‘chrome://crash’ it crashes and the ‘crashed’ event fires like you would expect, however if I give the webview a src of ‘chrome://gpucrash’ I get an error message in the console like this:
and the ‘gpu-crashed’ event never fires.
Does anyone know of another way to force a gpu crash on a webpage? Or know how I could get ‘chrome://gpucrash’ to work properly in a webview?
I’ve created a simple test repo to check out what’s happening: https://github.com/Darkle/electronGPUcrashTest