WebTorrent extension is broken #5604
Labels
bug
feature/webtorrent
Label for webtorrent related issues
priority/P2
A bad problem. We might uplift this to the next planned release.
QA Pass-Linux
QA Pass-macOS
QA Pass-Win64
QA/Test-Plan-Specified
QA/Yes
release-notes/exclude
Milestone
Description
The last update we did to
bittorrent-tracker
broke the WebTorrent extension. I confirmed it's broken in Nightly.The issue is that the
URL
constructor is buggy Chromium. https://bugs.chromium.org/p/chromium/issues/detail?id=734880We switched to
URL
fromrequire('url')
inbittorrent-tracker@9.13.0
. Commit: webtorrent/bittorrent-tracker@93b4139This code path was not exercised by
bittorrent-tracker
's tests because UDP trackers are normally only used in a Node.js environment. Brave run the code in a Chrome extension environment which we don't test.Steps to Reproduce
Actual result:
Torrent does not start downloading
Expected result:
Torrent should start downloading
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
Nightly
Version/Channel Information:
The text was updated successfully, but these errors were encountered: