Open Bug 1121492 Opened 11 years ago Updated 3 years ago

Message manager listeners in child.js are registered more than once

Categories

(DevTools :: Framework, defect)

x86_64
Windows 7
defect

Tracking

(Not tracked)

People

(Reporter: Honza, Unassigned)

Details

DebuggerServer.connectToChild is executed for every browser tab again when a new tab is opened. This also means that child.js is loaded more than once for a tab (a child process). This causes all the addMessageListener calls to be executed more than once. In the beginning these listeners used to be per-child, but now some of them are global. Registering them more than once is probably not harmful, but it would deserve some clean up. Honza
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.