The contentScripts/userScripts API needs at least the following changes: - allow to specify an id in the contentScripts/userScripts.register API method, and make the id mandatory for suspendable extension contexts (the id will be needed to make the API able to detect when the suspended page is re-registering the same script once it is waking up) - scripts registered from a suspendable extension context should not be destroyed and unregistered automatically when the extension context is being suspended
Bug 1587883 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The contentScripts/userScripts API needs at least the following changes: - allow to specify an id in the contentScripts/userScripts.register API method, and make the id mandatory for suspendible extension contexts (the id will be needed to make the API able to detect when the suspended page is re-registering the same script once it is waking up) - scripts registered from a suspendible extension context should not be destroyed and unregistered automatically when the extension context is being suspended