Implement webRequestAuthProvider permission for webRequest.onAuthRequired
Categories
(WebExtensions :: Request Handling, enhancement, P3)
Tracking
(firefox126 fixed)
Tracking | Status | |
---|---|---|
firefox126 | --- | fixed |
People
(Reporter: robwu, Assigned: rpl)
References
Details
(Keywords: dev-doc-complete, Whiteboard: [wecg][design-decision-approved][addons-jira])
Attachments
(1 file)
Chrome introduced the "webRequestAuthProvider" as a replacement for the "webRequestBlocking" permission, because they are rejecting the latter in MV3.
Firefox continues to support "webRequestBlocking" in MV3, so it is not strictly necessary to introduce another permission. But for cross-browser compatibility, it may make sense to also implement the "webRequestAuthProvider" permission so that extension authors can use the webRequest.onAuthRequired
event with only the "webRequest" + "webRequestAuthProvider"
permissions (without requiring "webRequestBlocking"
).
Relevant references:
Updated•2 years ago
|
Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Reporter | ||
Comment 1•1 year ago
|
||
Documentation request: https://github.com/mdn/content/issues/21586
Assignee | ||
Comment 2•6 months ago
|
||
Updated•6 months ago
|
Comment 4•6 months ago
|
||
Backed out for causing xpcshell failures on test_ext_webRequest_permission.js.
Assignee | ||
Comment 5•6 months ago
|
||
(In reply to Iulian Moraru from comment #4)
Backed out for causing xpcshell failures on test_ext_webRequest_permission.js.
sorry about that, I'm not yet sure why but I just didn't hit this failure when I execute all xpcshell tests locally and the test assertion failing seems to not be just updated to expect the updated error expected to be logged in the scenario being tested, I'm taking a look and will update the patch shortly.
Comment 7•6 months ago
|
||
bugherder |
MDN updates available for review:
Description
•