Don't open this link on Mountain Lion (jsfiddle.net)

2 points by reddiculon ↗ HN
I did a quick experiment to see if I could force-crash safari by exploiting the File:/// issue, and lo and behold it's entirely possible.

I simply created a textarea pre-filled with File:///, then with javascript triggered focus, click and blur on the field in that order.

It seems Chrome is not affected and I haven't tested any other browsers yet so your mileage may vary.

Anyway, not much else to add, other than in the link I posted it's probably crashing because the text field with the code in it itself is being parsed. A true test would require the code be placed stand-alone on a web server...

0 comments

[ 1.5 ms ] story [ 21.8 ms ] thread

No comments yet.