[tbb-bugs] #29120 [Applications/Tor Browser]: Default value of media.cache_size (0) causes some media to load extremely slowly or become unplayable
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Jan 21 07:52:36 UTC 2019
#29120: Default value of media.cache_size (0) causes some media to load extremely
slowly or become unplayable
-------------------------------------------------+-------------------------
Reporter: QZw2aBQoPyuEVXYVlBps | Owner: tbb-
| team
Type: defect | Status: new
Priority: High | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: tbb-disk-leak, tbb-usability- | Actual Points:
website |
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by QZw2aBQoPyuEVXYVlBps):
As a preliminary test, I replaced https://hg.mozilla.org/releases/mozilla-
esr60/file/256453759958ed9c2eb17a0764d2fcfd7f8e3323/dom/media/MediaCache.cpp#l758
with
{{{RefPtr<MediaBlockCacheBase> bc = new MemoryBlockCache(8192000);}}}
This seems to work correctly from my brief testing and fixes both bugs in
this ticket (the odd media loading behavior and the disk leaking).
I have only done a small amount of investigation into how the media
caching code works, so it's likely this requires a closer look, but I
believe it's a decent starting point.
I will attached a patch if anyone else would like to test for themselves
or look into this further.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29120#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tbb-bugs
mailing list