PDA

View Full Version : [UNKNOWN][3.0.2][FF 3.0.14]All Trigger buttons throw "Permission denied" in Firefox 3.0.14



kjleng
28 Sep 2009, 11:38 AM
Ext version tested:

Ext 3.0.2


Adapter used:

ext


css used:

ext-all.css
gray-theme.css




Browser versions tested against:

Firefox 3.0.14 - FAILED
Firefox 3.5.2 - PASSED


Operating System:

Ubuntu 9.04
WinXP Pro


Description:

Firefox throws and error when quickly moving the mouse pack and forth several times over any triggerfield's trigger button.
The error does not repro in Firefox 3.5, but does in Firefox 3.0.14 (which is what Ubuntu ships with)
The error is as follows:


Error: Permission denied to get property HTMLDivElement.nodeType
Source File: adapter/ext/ext-base-debug.js
Line: 2235

This issue appears to have been introduced in this fix: http://www.extjs.com/forum/showthread.php?t=74765


Steps to reproduce the problem:

Quickly move mouse back and forth several times over any triggerfield's trigger button


The result that was expected:

No error


The result that occurs instead:

Error is thrown


Debugging already done:

Found where the error in the code was
Found issue where error was introduced


Possible fix:

not provided

watrboy00
28 Sep 2009, 12:16 PM
This also happens in FF v2.0.0.20. I have searched around for resolutions and most everywhere it says I can just ignore the error but it's odd because it just started to happen.

kjleng
6 Oct 2009, 9:40 AM
Bump, this hasn't been tagged yet. (INFOREQ/OPEN/CLOSED/FIXED)

Just wanting to make sure it doesn't slip through the cracks.

Condor
6 Oct 2009, 12:33 PM
This has already been partially fixed in the SVN trunk (Ext 3.1).

Try this override:

Ext.apply(Ext.lib.Event, {
resolveTextNode : Ext.isGecko ? function(node){
if(!node){
return;
}
var s = HTMLElement.prototype.toString.call(node);
if(s == '[xpconnect wrapped native prototype]' || s == '[object XULElement]'){
return;
}
return node.nodeType == 3 ? node.parentNode : node;
} : function(node){
return node && node.nodeType == 3 ? node.parentNode : node;
}
});

However, this can still produce the error in Firefox 3.0 when moving from another element to the inner element of an <input> tag (e.g. with a TriggerField).