Open Bug 1497911 Opened 6 years ago Updated 2 years ago

Stop sending "type" property out of attach/detach requests on target actors

Categories

(DevTools :: Framework, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: ochameau, Unassigned)

References

Details

The targets actors are replying to attach/detach request a response with a `type` property. This is confusing as that's a special property name used in low level transport layer. It is typically the request/event name.
In addition to that, these property are never read in production code. This is only asserted in tests.
Also, attach returns `type: "tabDetached"` which is confusing after all the renamings we did to replace "tab" by "target" or "browsing-context".
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.