bramus / devtools-extension-gpu-crash

POC Extension that crashes the GPU (Chrome 119)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

POC: DevTools Extension GPU Crash

POC Extension that crashes the GPU

The root cause is this:

window.document.querySelector('.box').getAnimations()[0].currentTime = 1000000 * Math.random()

If you call that quickly after each other, the extension crashes.

Example Crash ID: crash/d4adab2203e014bd

Noteworthy: when running the code directly in Chrome – i.e. not in an extension – it works fine. Try it with this CodePen.

License

This project is released under the MIT public license. See the enclosed LICENSE for details.

About

POC Extension that crashes the GPU (Chrome 119)

License:MIT License


Languages

Language:JavaScript 82.8%Language:HTML 17.2%