Bug Tracker

Ticket #6632 (closed enhancement: wontfix)

Opened 5 years ago

Last modified 5 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:


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 5 years ago by snover

  • Milestone 1.4.3 deleted

Resetting milestone to future.

comment:2 Changed 5 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.

Note: See TracTickets for help on using tickets.