Thank you for reporting this bug. We will make it our priority to review this report.
ExtJS 4.1.1a : Using Ext.extend on Array throws exception in Safari on Mac OS
works on all major browsers except Safari on Mac OS (works fine on Safari on Windows)
extend : Array
Tested on Safari 5.1.7 on Windows and Mac OS X.
I did not see any issue in the latest version.
What do you mean by "doesn't work"? Does it throw an exception?
Twitter - @evantrimboli
Don't be afraid of the source code!
Yes it throws an exception. I provided the code and version, you guys should run the 2 line code and see for yourself. Anyway the exception is:
ext-all-debug.js:3351 TypeError: 'undefined' is not a constructor (evaluating 'new prototype.configClass()')
This occurs in function 'extend'. I have (or had) a class which extends from Array. ExtJS throws exception in the extend function (see error message above). Also, this happens when the debugger is off. For some reason whenever I turn on debugging it works fine (reproduces 100% of the time).
How to reproduce:
Debugging should be *disabled* for this error to occur.
(If its on, turn it off in the debugger in Safari (bottom left corner in scripts tab) and run the above code.
Open the console and see the error.