Bug Tracker

Opened 13 years ago

Closed 12 years ago

#6632 closed enhancement (wontfix)

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


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 (2)

comment:1 Changed 12 years ago by snover

Milestone: 1.4.3

Resetting milestone to future.

comment:2 Changed 12 years ago by snover

Priority: undecided
Resolution: wontfix
Status: newclosed

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.

Note: See TracTickets for help on using tickets.