Bug Tracker

Modify

Ticket #5830 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

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

Change History

Changed 3 years ago by sebagon

comment:1 Changed 3 years ago by sebagon

It was tested in Firefox 3.0.17 and IE 8

comment:2 Changed 3 years ago by snover

  • Status changed from new to closed
  • Resolution set to invalid

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.