Open
Description
MDN URL
What specific section or headline is this issue about?
Syntax
What information was incorrect, unhelpful, or incomplete?
The issue is obseerved on multiple pages:
declarativeNetRequest.getDynamicRules
declarativeNetRequest.getMatchedRules
declarativeNetRequest.isRegexSupported
declarativeNetRequest.setExtensionActionOptions
declarativeNetRequest.updateDynamicRules
declarativeNetRequest.updateSessionRules
declarativeNetRequest.updateSessionRules
declarativeNetRequest.updateStaticRules
Example:
let gettingDynamicRules = browser.declarativeNetRequest.getDynamicRules();
Other methods show the code with await
(as it should) e.g. declarativeNetRequest.getAvailableStaticRuleCount
let count = await browser.declarativeNetRequest.getAvailableStaticRuleCount();
What did you expect to see?
As they return a promise, the code should have await
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response