#5614 closed bug (invalid)
isObject causes security violation in AIR if DOM event handler in call stack
Reported by: | jhartikainen | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | unfiled | Version: | 1.4a1 |
Keywords: | isobject, air | Cc: | |
Blocked by: | Blocking: |
Description
The isObject function is causing a security violation in Adobe AIR 2.0, if the call to it was triggered by a DOM event like onclick:
Error: Adobe AIR runtime security violation for JavaScript code in the application security sandbox (Function constructor)
at app:/jquery.js : 339
The problem should be reproducible by creating a new AIR application and adding the following code:
window.onclick = function() { $.isObject('foo'); };
Clicking anywhere should now cause the mentioned error to appear.
Change History (2)
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by
See here: http://code.jquery.com/jquery-nightly.js Search for "isObject". As far as I can tell it is there
Note: See
TracTickets for help on using
tickets.
Umm, I'm not sure where isObject is coming from - it's not in jQuery.