firebug / firebug.next

Next Firebug generation built on top of native Firefox developer tools
Other
229 stars 37 forks source link

jQuery delegated events are not propagated to show the "events" icon in the INSPECTOR view. #472

Open TheLaGmAn opened 8 years ago

TheLaGmAn commented 8 years ago

I also submited a bug here (dont know if its the correct place)

https://bugzilla.mozilla.org/show_bug.cgi?id=1270884

Steps to reproduce:

HTML: <script src="https://code.jquery.com/jquery-2.2.3.js" integrity="sha256-laXWtGydpwqJ8JA+X9x2miwmaiKhn8tVmOVEigRNtP4=" crossorigin="anonymous"></script> <style> .media_preview { width:100px; height:100px; display:inline-block; margin:10px; } </style> `

<div class="media_preview" style="background-color:blue;"></div>
<div class="media_preview" style="background-color:yellow;"></div>

`

Steps: Open dev console, browse the .media_preview DIV and it has no event icon set, only the .media_preview_container has it and it doesnt point to any child, so there is no way to know that event is actually delegated to .media_preview

Actual results:

.media_preview doesnt show an event icon even tho it has an event assigned thru a delegation of .media_preview_container

Expected results:

Show the event icon in the .media_preview DIV and show its event code.