Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bramus/devtools-extension-gpu-crash
POC Extension that crashes the GPU (Chrome 119)
https://github.com/bramus/devtools-extension-gpu-crash
Last synced: 3 days ago
JSON representation
POC Extension that crashes the GPU (Chrome 119)
- Host: GitHub
- URL: https://github.com/bramus/devtools-extension-gpu-crash
- Owner: bramus
- License: mit
- Created: 2023-09-13T20:44:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-13T20:47:02.000Z (over 1 year ago)
- Last Synced: 2024-11-08T07:42:40.693Z (about 2 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# POC: DevTools Extension GPU Crash
POC Extension that crashes the GPU
The root cause is this:
```js
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](http://crash/d4adab2203e014bd)
Noteworthy: when running the code directly in Chrome – i.e. not in an extension – it works fine. Try it with this [CodePen](https://codepen.io/bramus/pen/mdawXjJ/200680474e48c87348dfb2a7604c72a3).
## License
This project is released under the MIT public license. See the enclosed `LICENSE` for details.