Don't open this link on Mountain Lion

http://jsfiddle.net/xEqmL/
by reddiculon • 13 years ago
2 0 13 years ago

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...

Related Stories

Loading related stories...

Source preview

jsfiddle.net