Open Bug 1470235 Opened 7 years ago Updated 2 years ago

Switch RDM message tunnel to a block list

Categories

(DevTools :: Responsive Design Mode, enhancement, P2)

enhancement

Tracking

(Not tracked)

People

(Reporter: jryans, Unassigned)

References

(Blocks 1 open bug)

Details

Currently, the RDM message tunnel allows only specific messages to pass. Originally, this was done out of caution, as I noticed that different browser features sometimes required tweaks to work in the RDM environment. However, it's quite tedious to keep the list updated and correct. In a decent number of cases, all we needed to do was add a message name to list. Let's try inverting things to allow by default, and only block a few messages (if needed at all).
I remember that this is a bit harder than just flipping the default. For API consumers add listeners directly to the specific message manager for the browser, it will work. However, it fails for users of the group and window message managers because the tunnel never hears the message names it needs. Still, it could help to flip the default and keep message names in place for just those cases. (Of course, a full tunneling solution in platform would be even better.)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.