3 ms·
Three lines to crash Safari for good
<style> [class^="randomstring"] { background: white; } </style>
<div class="" id="test"></div>
<script> document.getElementById("test").attributes.class.value = null; </script>
This should get fixed...
- deleted 11y ago[deleted]
- deleted 11y ago[deleted]
- blackrose 11y agoIt does some funny things in WebKit for sure. Messes up other JS in Chrome too: https://html.house/edit/ecf7pczv.html https://html.house/edit/ecf7pczv.html
- ahazred8ta 11y agodemo on a live webpage ---> https://jsbin.com/lecelimequ/2/edit?html,output https://jsbin.com/lecelimequ/2/edit?html,output
- oliverfriedmann 11y agoSubmitted a bug report to Apple / Safari.
- j_mcnally 11y agois this fixed? Doesn't crash me.