Closed Bug 1749871 Opened 2 years ago Closed 2 years ago

reduce startup blocking to webRequestBlocking listeners

Categories

(WebExtensions :: Request Handling, defect, P2)

defect

Tracking

(relnote-firefox 98+, firefox98 fixed)

RESOLVED FIXED
98 Branch
Tracking Status
relnote-firefox --- 98+
firefox98 --- fixed

People

(Reporter: mixedpuppy, Assigned: mixedpuppy)

References

Details

(Keywords: dev-doc-complete, Whiteboard: [addons-jira])

Attachments

(1 file)

We currently do early addon startup for addons using any webrequest listener. The only use case for early startup should be for addons that need to potentially change requests, which requires blocking listeners.

Keywords: dev-doc-needed

dev-doc and release notes:

The use of webRequest used to cause addons to start early during firefox startup. This has changed to only use webRequest blocking calls. non-blocking calls no longer cause an early startup for addons.

Release Note Request (optional, but appreciated)
[Why is this notable]: small change in addon startup behavior
[Affects Firefox for Android]: all platforms
[Suggested wording]: see comment 2
[Links (documentation, blog post, etc)]: there is no current mdn doc on this, it will be added here https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest

relnote-firefox: --- → ?
Pushed by scaraveo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d463532c207d
make webRequest block startup only for blocking events r=rpl
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch

Note added to Nighty release notes to the CHANGED section.

Release notes and additional information on webRequest ready to review in PR Reduce startup blocking to webRequestBlocking listeners #13192

Flags: needinfo?(mixedpuppy)
See Also: → 1757855
Flags: needinfo?(mixedpuppy)
You need to log in before you can comment on or make changes to this bug.