Labs/Jetpack/Release Notes/1.6: Difference between revisions

Jump to navigation Jump to search
Line 32: Line 32:
The SDK throws an exception when a content script tries to access to a cross domain or chrome object.
The SDK throws an exception when a content script tries to access to a cross domain or chrome object.


For example: jQuery is able to get access to a XUL DOM node when your mouse goes over scrollbars, as `event.originalTarget` refers to `xul:slider`. This slider node ends up being a chrome object, so an xraywrapper, that is throwing on any property access.
For example: jQuery is able to get access to a XUL DOM node when your mouse goes over scrollbars, as `event.originalTarget` refers to `xul:slider`. This slider node ends up being a chrome object, so we throw on any property access.


We shouldn't throw such an exception.  
We shouldn't throw such an exception.  
canmove, Confirmed users
737

edits

Navigation menu