Closed Bug 1306233 Opened 10 years ago Closed 10 years ago

developer tools doesn't see event listeners on "document"

Categories

(DevTools :: Inspector, defect)

49 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1299456

People

(Reporter: ossman, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 Build ID: 20160919122641 Steps to reproduce: Call: document.documentElement.addEventListener('keydown', func.bind(this)); Actual results: The developer tools cannot see the listener, neither in the Inspector tab, nor the Debugger tab. Expected results: The listener should have shown up in both.
Attached file event.html —
Saw this with noVNC. And I've made a small test case. My initial description is wrong. The problem is registering events on "document". Registering them on "document.documentElement" works fine.
Summary: developer tools doesn't see all registered event listeners → developer tools doesn't see event listeners on "document"
Component: Untriaged → Developer Tools: Inspector
This seems like a duplicate of bug 1299456. Please re-open if not.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: