Bug Tracker

Modify

Ticket #6632 (closed enhancement: wontfix)

Opened 4 years ago

Last modified 3 years ago

Make proxied functions look nicely in Web Inspector "Event Listeners" pane

Reported by: NV Owned by:
Priority: undecided Milestone:
Component: core Version: 1.4.2
Keywords: proxy Cc:
Blocking: Blocked by:

Description

How to reproduce the weirdness:

  1. Open  http://elv1s.ru/files/js/jQuery/proxy.html in Safari or Chrome
  1. http://elv1s.ru/files/js/jQuery/proxy-ok.png
  1. http://elv1s.ru/files/js/jQuery/proxy-fail.png listenerBody show useless information, instead of the bound function.

I've fixed it:  http://github.com/NV/jquery/commit/0c8b24ee90d3

Change History

comment:1 Changed 3 years ago by snover

  • Milestone 1.4.3 deleted

Resetting milestone to future.

comment:2 Changed 3 years ago by snover

  • Priority set to undecided
  • Status changed from new to closed
  • Resolution set to wontfix

So, this is a really clever patch, and I understand the sentiment behind the request, but this is really only ever useful for debugging and only serves to bloat the library for the vast majority of requests. I would recommend writing a plugin to enhance $.proxy and put it in the  plugins repository for people to use when debugging.

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.