From f52c68367abf22b1a572ef9bf38bd2c4253b342b Mon Sep 17 00:00:00 2001 From: Richard Bloor Date: Thu, 26 Oct 2023 04:34:20 +1300 Subject: [PATCH] Style and release notes updates --- .../work_with_contextual_identities/index.md | 8 ++++---- files/en-us/mozilla/firefox/releases/82/index.md | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/files/en-us/mozilla/add-ons/webextensions/work_with_contextual_identities/index.md b/files/en-us/mozilla/add-ons/webextensions/work_with_contextual_identities/index.md index 16ffe5f423ba453..4818d03d46dc7de 100644 --- a/files/en-us/mozilla/add-ons/webextensions/work_with_contextual_identities/index.md +++ b/files/en-us/mozilla/add-ons/webextensions/work_with_contextual_identities/index.md @@ -29,12 +29,12 @@ To manage contextual identities, you use the {{WebExtAPIRef("contextualIdentitie Several extension APIs include the `cookieStoreId` in objects to enable extensions to associate these objects with specific contextual identities. - {{WebExtAPIRef("browsingData.removeCookies()")}} and {{WebExtAPIRef("browsingData.removeLocalStorage()")}} where you use {{WebExtAPIRef("browsingData.removalOptions")}} to set the cookie store items are removed from. -- {{WebExtAPIRef("contentscripts.register")}} enables you to register a content script restricted to documents associated with one or more specific cookieStoreIds. +- {{WebExtAPIRef("contentscripts.register")}} enables you to register a content script restricted to documents associated with one or more `cookieStoreIds`. - {{WebExtAPIRef("downloads")}} where you can associate a download with a cookie store. - {{WebExtAPIRef("proxy")}} where the details passed into the {{WebExtAPIRef("proxy.onRequest")}} listener identify the cookie store associated with the request. -- {{WebExtAPIRef("tabs")}} where you can {{WebExtAPIRef("tabs.create","create")}} a tab in a specific container tab, {{WebExtAPIRef("tabs.tab","get")}} the cookieStoreId for a tab, and {{WebExtAPIRef("tabs.query","query")}} tabs based on their associated cookie store. -- {{WebExtAPIRef("userscripts.register")}} enables you to register a content script restricted to documents associated with one or more specific cookieStoreIds. -- {{WebExtAPIRef("webrequest")}} where all the events return the cookieStoreId of the request. +- {{WebExtAPIRef("tabs")}} where you can {{WebExtAPIRef("tabs.create","create")}} a tab in a container tab, {{WebExtAPIRef("tabs.tab","get")}} the `cookieStoreId` for a tab, and {{WebExtAPIRef("tabs.query","query")}} tabs based on their associated cookie store. +- {{WebExtAPIRef("userscripts.register")}} enables you to register a content script restricted to documents associated with one or more `cookieStoreIds`. +- {{WebExtAPIRef("webrequest")}} where all the events return the `cookieStoreId` of the request. - {{WebExtAPIRef("windows.create")}} where you can specify the cookie store for the tabs added to a window when it's created. ## Permissions diff --git a/files/en-us/mozilla/firefox/releases/82/index.md b/files/en-us/mozilla/firefox/releases/82/index.md index 31e27e11fa18459..2d59c778c86497c 100644 --- a/files/en-us/mozilla/firefox/releases/82/index.md +++ b/files/en-us/mozilla/firefox/releases/82/index.md @@ -56,7 +56,8 @@ This article provides information about the changes in Firefox 82 that will affe ## Changes for add-on developers -- The [`tabs.captureTab()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/captureTab) and [`tabs.captureVisibleTab()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/captureVisibleTab) methods now capture an area of the relevant tab's content specified by the `rect` property of the provided [`options`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/extensionTypes/ImageDetails) object, or the visible area of the tab if this property is not provided ([Firefox bug 1636508](https://bugzil.la/1636508)). Previously the `rect` property was not available, and these methods always captured the visible area of the relevant tab +- The [`tabs.captureTab()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/captureTab) and [`tabs.captureVisibleTab()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/captureVisibleTab) methods now capture an area of the relevant tab's content specified by the `rect` property of the provided [`options`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/extensionTypes/ImageDetails) object, or the visible area of the tab if this property is not provided ([Firefox bug 1636508](https://bugzil.la/1636508)). Previously the `rect` property was not available, and these methods always captured the visible area of the relevant tab. +- Read-only access to `cookieStoreId` no longer requires the `"cookies"` [permission](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions) ([Firefox bug 1662329](https://bugzil.la/1662329)). ## Older versions