WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
35730
Crashes after delete Array.prototype
https://bugs.webkit.org/show_bug.cgi?id=35730
Summary
Crashes after delete Array.prototype
Peter Leonov
Reported
2010-03-04 02:49:11 PST
This simplified test case crashes Safari 4.0.4 on my old Intel Mac (Core Duo, iMac 4,1) with all updates installed. In the latest nightly build all is OK. On a new iMac with Core 2 Duo Safari does not crash at all ;)
Attachments
Add attachment
proposed patch, testcase, etc.
Peter Leonov
Comment 1
2010-03-04 02:50:29 PST
Cut from that page: function blablabla (m) { [].push() m.constructor === Array } function crash () { Array.prototype.xxx6 = 123 blablabla(123) delete Array.prototype.xxx6 blablabla([]) new Array().join() { [].sort() } } crash()
Xan Lopez
Comment 2
2010-11-01 14:51:07 PDT
I don't get a crash with ToT with that code.
Gavin Barraclough
Comment 3
2011-06-16 15:04:51 PDT
Works for me too.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug