Skip to main content

Bug Tracker

Side navigation

#5830 closed bug (invalid)

Opened January 15, 2010 09:33PM UTC

Closed November 19, 2010 08:20AM UTC

When listening to ajax events, the caller property of the function is wrong

Reported by: sebagon Owned by:
Priority: major Milestone:
Component: ajax Version: 1.3.2
Keywords: ajax caller stacktrace Cc:
Blocked by: Blocking:

When listening to any ajax event and trying to get the stacktrace using the function's "caller" property to traverse it, somewhere the chain has a cycle.

The problem only occurs when trying to do this within an ajax event.

See the attached files. They are self-explanatory.

Attachments (1)
  • (20.2 KB) - added by sebagon January 15, 2010 09:36PM UTC.
Change History (2)

Changed January 15, 2010 09:38PM UTC by sebagon comment:1

It was tested in Firefox 3.0.17 and IE 8

Changed November 19, 2010 08:20AM UTC by snover comment:2

resolution: → invalid
status: newclosed

arguments.caller is deprecated, and Firebug is able to get a stack trace no problem.