Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upChrome is very slow to download file when iframe is sandboxed without "allow-same-origin" #1251
Comments
This comment has been minimized.
This comment has been minimized.
|
It looks like sandboxed iframe without "allow-same-origin" slows down the Webtorrent on Chrome to crawl. Any ideas why? |
This comment has been minimized.
This comment has been minimized.
|
It is probably a chrome related problem not related to webtorrent. |
This comment has been minimized.
This comment has been minimized.
|
My guess is that the torrent file you're using has an HTTP web seed and when you don't have |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of WebTorrent?
desktop client Version 0.18.0 (0.98.5)
What operating system and Node.js version?
Macos 10.11.6
What browser and version? (if using WebTorrent in the browser)
Chrome latest
What did you expect to happen?
All browsers get the seeded file in microseconds. File is seeded on desktop WebTorrent client.
What actually happened?
Chrome gets the seeded file(380K 4-5 seconds) very slowly however Firefox and Safari gets it in a snap.
All browsers have asm.js warning on the console and uses latest webtorrent.min.js if that matters for chrome.