Bug Tracker

Opened 10 years ago

Closed 9 years ago

#5830 closed bug (invalid)

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:

Description

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)

example.zip (20.2 KB) - added by sebagon 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by sebagon

Attachment: example.zip added

comment:1 Changed 10 years ago by sebagon

It was tested in Firefox 3.0.17 and IE 8

comment:2 Changed 9 years ago by snover

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.