WebTorrent extension should be non-persistent #6372
Labels
feature/webtorrent
Label for webtorrent related issues
perf
priority/P3
The next thing for us to work on. It'll ride the trains.
QA Pass-Linux
QA Pass-macOS
QA Pass-Win64
QA/Yes
release-notes/include
Milestone
Description
Currently the WebTorrent extension loads when browser starts and remains persistently on, whether or not there are any torrents active. It could save ~20MB and a process if we make the extension non-persistent and subscribe it to a smaller subset of pre-filtered events that wake it up, letting the browser unload it when not in use.
Steps to Reproduce
Actual result:
Torrent loads, but process exists as soon as you open the browser with a fresh profile.
Expected result:
Torrent still loads correctly, but process only starts once you load a torrent. Process disappears after closing all active torrent tabs.
Reproduces how often:
Always
Brave version (brave://version info)
All versions
Version/Channel Information:
Can you reproduce this issue with the current release? Yes
Can you reproduce this issue with the beta channel? Yes
Can you reproduce this issue with the dev channel? Yes
Can you reproduce this issue with the nightly channel? Yes
Other Additional Information:
Miscellaneous Information:
This needs changing which events the extension subscribes to and subsequently the logic/data representation that currently relies on window and tab IDs.
The text was updated successfully, but these errors were encountered: