2009/5/27 Maciej Stachowiak <[email protected]>:
>
> I'm not sure but I think maybe the Safari behavior is a bug, as the finally
> clause could contain another infinite loop.

Indeed, if a browser respects finally clauses in the code after
terminating a too long running loop, then the following would be an
effective DOS:

javascript:Array(1e3).join('try {')+Array(1e3).join('} finally { while
(1); }');

Regards, Igor
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to