Skip to main content

Bug Tracker

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:

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 john comment:1

resolution: → invalid
status: newclosed

Umm, I'm not sure where isObject is coming from - it's not in jQuery.

Changed December 10, 2009 10:11AM UTC by jhartikainen comment:2

See here: Search for "isObject". As far as I can tell it is there