Closed
Bug 1297975
Opened 8 years ago
Closed 5 years ago
"media.decoder.heuristic.dormant.timeout" in prefs_general.js is zero on all platforms
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
INVALID
People
(Reporter: TYLin, Unassigned)
References
Details
While fixing bug 1297333, I found that prefs_general.js isn't preprocessed like all.js. That is, "#if defined(XP_WIN)" [1] is ignored, which makes "media.decoder.heuristic.dormant.timeout" is defined to be 0 during automated testing on all platforms.
[1] https://dxr.mozilla.org/mozilla-central/rev/01748a2b1a463f24efd9cd8abad9ccfd76b037b8/testing/profiles/prefs_general.js#314-316
Reporter | ||
Comment 1•8 years ago
|
||
I reproduce this on a Linux machine by adding the following line to any mochitest file such as "layout/style/test/test_clip-path_polygon.html"
info('Log', 'dormant timeout=' + SpecialPowers.getIntPref("media.decoder.heuristic.dormant.timeout"));
And running "./mach mochitest layout/style/test/test_clip-path_polygon.html" output "INFO Log | dormant timeout=0"
Updated•8 years ago
|
Priority: -- → P3
Updated•8 years ago
|
Component: Audio/Video → Audio/Video: Playback
Reporter | ||
Comment 2•5 years ago
|
||
The pref media.decoder.heuristic.dormant.timeout
was removed in bug 1311872 Part 1. https://hg.mozilla.org/mozilla-central/rev/4a4d45357bc7
We can close this bug now.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•