https://trello.com/c/hNQnoIAW/114-general-api-enhancements-fx-77
A PR has been raised for the changes in optional permissions (browsingData, pkcs11, proxy, and sessions) in the compatibility data (6112) and details added to the release notes.
A PR has been raised for updates to Extension Workshop for the optional permission changes, see PR636. Developer review has been requested on Bugzilla.
Shane responded to needinfo request regarding permissions to be made optional. These changes are now complete.
For Implement permissions API events: these 2 events are documented already in (onAdded and onRemoved). Therefore the changes made are:
A needinfo request has been made on the bug to confirm the changes are complete.
For Allow WebExtensions to clear IndexedDB by hostname and Allow WebExtensions to clear ServiceWorkers by hostname, evilpie has updated the release notes. I've sent a needinfo to confirm whether he's also updating the compatibility data, if indeed we believe it needs to be updated (showing 57 and 53 for the 2 values at the moment).
@chrisdavidmills I'm wondering if we need any changes to the compatibility data for Allow WebExtensions to clear IndexedDB by hostname and Allow WebExtensions to clear ServiceWorkers by hostname. Reading browsingData.remove() it seems to imply that all values of removalOptions (where you define hostnames) apply to all dataTypes (where you would define IndexedDB or ServiceWorkers). This suggests that the 2 changes now mean the API "works as documented" and no further changes, beyond the release notes, are needed. Agree?
@rebloor yeah, I think this makes sense. The info obviously needs to be made more granular.
Thanks @chrisdavidmills those are done then :-)
For support merging content-security-policy headers provided by multiple extensions details have been added to the release notes and webRequest.onHeadersReceived updated with the version of the suggested text. A confirmation request moreinfo be made on the bug.
In addition, clarification has been has been sought on the noted in webRequest.onHeadersReceived "From Firefox 52 onwards, instead of returning BlockingResponse, the listener can return a Promise that is resolved with a BlockingResponse. This enables the listener to process the request asynchronously.' as there doesn't seem to be a way of switching the listener between returning a promise and standard call back.
I've added new tasks here
They all have dev-doc-needed set and seem to also ship in Firefox 77.
For Add the ability to duplicate tab to a specified index compatibility data changes have been requested in 6164
For Implement permissions API events completed incidental changes, as recommended by Rob, now complete.
For Add the ability to duplicate tab to a specified index documentation changes have now been made:
Confirmation of changes requested by a needinfo on the bug.
For Add the ability to duplicate tab to a specified index documentation changes have now been reviewed and OKed.
For support merging content-security-policy headers provided by multiple extensions completing changes in line with suggestion from developers.
@Elchi3 @chrisdavidmills network.cookie.sameSite.laxByDefault breaks my add-on doesn't look like a Web Extensions API change, although the effect is on Web Extensions (so at least probably needs mentioning in the Web Extensions section of the release notes). Should this be moved elsewhere?
For support tabs.goForward and tabs.goBack the following documentation has been updated:
For support tabs.goForward and tabs.goBack Zombie and Sebastian provided feedback and updates to the API pages. Made minor grammatical changes. Complete pending merge of the compatibility data.
I've reviewed and merged the compat data changes. Thank you!
@Elchi3 @chrisdavidmills network.cookie.sameSite.laxByDefault breaks my add-on doesn't look like a Web Extensions API change, although the effect is on Web Extensions (so at least probably needs mentioning in the Web Extensions section of the release notes). Should this be moved elsewhere?
I've documented the change here, but I don't know anything about WebExtensions and how they are affected. I reckon mentioning this in release notes and linking to the SameSite page for general advice could be enough. In the bug Tom says he found a place in the WebExtension docs, so maybe that need updating, too.
For Implement permissions API events Shane provided a positive response to the needinfo QA request.
@Elchi3 @chrisdavidmills network.cookie.sameSite.laxByDefault breaks my add-on doesn't look like a Web Extensions API change, although the effect is on Web Extensions (so at least probably needs mentioning in the Web Extensions section of the release notes). Should this be moved elsewhere?
@rebloor Did you see Tom's comment on that bug? And we can add this to the WebExtension release notes section maybe?
@Elchi3 Rob is looking into what other changes might be needed, I hope to finish the updates this week.
@Elchi3 Pending further feedback from Rob, I've updated host permissions and release notes based on his feedback so far.
For network.cookie.sameSite.laxByDefault breaks my add-on Rob confirmed that the updates to host permissions and release notes were the necessary updates and communication.
Most helpful comment
@Elchi3 Rob is looking into what other changes might be needed, I hope to finish the updates this week.