Fórumok
Java Script Error in Firefox
angu manikandan, módosítva 11 év-val korábban
Java Script Error in Firefox
Junior Member Bejegyzések: 72 Csatlakozás dátuma: 2012.07.16. Legújabb bejegyzések
[Exception... "'JavaScript component does not have a method named: "onProgressChange"' when calling method: [nsIWebProgressListener::onProgressChange]" nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)" location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0" data: no]
Subhash Pavuskar, módosítva 11 év-val korábban
RE: Java Script Error in Firefox
Regular Member Bejegyzések: 234 Csatlakozás dátuma: 2012.03.13. Legújabb bejegyzések
Hi Angu,
Not Sure there seems to be a bug in new JIT compiler ionMonkey that is released in firefox 18.0.
Putting the following directly in the beginning of the Ext.onReady function.
Another fix is to disable the ion compiler.
Type about:config in the address of the browser, search for javascript.options.ion.content and disable it by clicking on it.
Not Sure there seems to be a bug in new JIT compiler ionMonkey that is released in firefox 18.0.
Putting the following directly in the beginning of the Ext.onReady function.
Ext.onReady(function(){
if (Ext.firefoxVersion >= 18) {
var noArgs = [];
Ext.override(Ext.Base, {
callParent : function(args) {
var method, superMethod = (method = this.callParent.caller) && (method.$previous || ((method = method.$owner ?
method :
method.caller) && method.$owner.superclass[method.$name]));
// Workarround for Firefox 18. I don't know why this works, but it does. Perhaps functions wich have
// a try-catch block are handled differently
try {
} catch (e) {
}
return superMethod.apply(this, args || noArgs);
}
});
}
Another fix is to disable the ion compiler.
Type about:config in the address of the browser, search for javascript.options.ion.content and disable it by clicking on it.