Why would that be? Adding a non-function object to the prototype doesn't seem to cause this problem.Code:>>> Ext.Ajax.request({url:'/'}) GET http://frontend.local/?_dc=1259784357367 200 OK 23ms ext-base-debug.js (line 2628) Object conn=XMLHttpRequest tId=0 >>> Object.prototype.doSomething = function() {}; function() >>> Ext.Ajax.request({url:'/'}) [Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS frame :: http://frontend.local/ :: anonymous :: line 78" data: no] [Break on this error] (78 out of range 45)
The above session was produced in Firefox 3.0.14 through the Firebug console and with ExtJS 3.03.