Why does FF3 say "Permission denied to get HTMLDivElement.tagName property"?

When I run this through FireFox 3:

<script type="text/javascript" src="../resources/dojo-1.2.3-src/dojo/dojo.js" djConfig="parseOnLoad: true"></script> <script type="text/javascript" src="../resources/dojo-1.2.3-src/dojo/dijit.js"></script> <script type="text/javascript"> dojo.require("dojo.parser"); dojo.require("dijit.InlineEditBox"); dojo.require("dijit.form.TextBox"); function myHandler(idOfBox, value) { alert("Edited value from "+idOfBox+" is now "+value); } </script> <span id="editable" style="font-size:larger;" dojoType="dijit.InlineEditBox" onChange="myHandler(this.id,arguments[0])"> <input dojoType="dijit.form.TextBox" value="dijit.InlineEditBox"> </span> 

and click on the embedded editable text, change it, and then click after it, FF says the following: "Permission denied to get property HTMLDivElement.tagName"

The Firebug debugger breaks into the following line because e.relatedTarget is null:

try {e.relatedTarget.tagName; } catch (e2) {return; }

What can I do to find a fix for this?

+4
source share
2 answers

This issue is apparently caused by the Firebug extension for Firefox. I say because when I turn off Firebug and use the control, it works fine.

+3
source

Yes, I tried this myself, but it works for me, at least against the latest code. (I am running on FF3 / mac.)

The mentioned attempt / trick may be a red herring, as there is already a catch handler setting that ignores any errors.

+2
source

All Articles