canmove, Confirmed users
737
edits
(→About) |
|||
| 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 | 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. | ||