Hi friends,

I get a strange exception in Firefox 3.5.3 (MacOSX) on *some* widgets. I
can't really nail it down, which widgets are affected (seems to be Buttons
and PopupMenus) and what the similarity (in creation or whatever) is.

So maybe someone here has an idea.

The error is:

Permission denied to...a non-chrome context

in qx.ui.core.Widget.js:

getWidgetByElement : function(element)
 732    { 
 733      // In Firefox 2 the related target of mouse events is sometimes an
 734      // anonymous div inside of text area, which raise an exception if
 735      // the parent node is read. This is why the try/catch block is
needed. 
 736      try 
 737      { 
 738        while(element)
 739        { 
Permission denied to...a non-chrome context 740          var widgetKey =
element.$$widget; 
 741 
 742          // dereference "weak" reference to the widget.
 743          if (widgetKey != null) {
 744            return qx.core.ObjectRegistry.fromHashCode(widgetKey);
 745          } 
 746 
 747          element = element.parentNode;
 748        } 
 749      } catch(ex) {}
 750 
 751      return null;


It seems to be a Firefox related problem.

Any idea, how I can avoid (or workaround) this?

thx

andy





------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to