If your page lets people type a regular expression and run it, one bad pattern can lock the whole tab. JavaScript's RegExp engine backtracks, so a pattern like this one /^(a+)+$/ against "aaaaaaaaaaa
Software developer. Browser APIs, Web Audio, device testing.
Software developer in Bengaluru. I write about browser APIs - Web Audio, getUserMedia, Web Crypto, requestAnimationFrame - and the small details that make browser-based tools trustworthy.
Markdown supported · ⌘↵ to post
No responses yet.