Open Bug 1166315 Opened 5 years ago Updated 2 years ago
Support easy extension of protocol
In bug 1036949, Honza's adding a way to extend NodeActor.form from add-ons. Instead of having to add such an API for every possible actor method of interest to add-ons, I was imagining that protocol.js could offer a kind of "filtering extension" API as part of every protocol.js actor. Using this case, as an example: 1. Add-on registers that it wants to filter "NodeActor.form" 2. Each time NodeActor.form is called, protocol.js also calls the add-on's code, giving it a chance to extend / modify the result It's not specific to forms or NodeActor at all, as this would be available for any protocol.js supported method. It would support any number of filtering users / add-ons that want to override the same thing.
5 years ago
Component: Developer Tools: WebIDE → Developer Tools: Framework
You need to log in before you can comment on or make changes to this bug.