Side navigation
#5614 closed bug (invalid)
Opened December 08, 2009 08:46AM UTC
Closed December 10, 2009 05:03AM UTC
Last modified December 10, 2009 10:11AM UTC
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.
Attachments (0)
Change History (2)
Changed December 10, 2009 05:03AM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
Changed December 10, 2009 10:11AM UTC by comment:2
See here: http://code.jquery.com/jquery-nightly.js Search for "isObject". As far as I can tell it is there
Umm, I'm not sure where isObject is coming from - it's not in jQuery.