Bug 1188240 - Enable media auto-play for tests to allow for script play() invocations. r=snorp

This commit is contained in:
Eugen Sawin 2015-09-30 00:00:33 +02:00
parent 2f6220864e
commit b79a35c8f7
2 changed files with 4 additions and 0 deletions

View File

@ -260,6 +260,8 @@ class RemoteReftest(RefTest):
# Disable skia-gl: see bug 907351
prefs["gfx.canvas.azure.accelerated"] = False
prefs["media.autoplay.enabled"] = True
# Debug reftests have problems with large tile size on pandaboards
if mozinfo.info['debug'] and self._devicemanager.shellCheckOutput(['getprop', 'ro.product.name']) == 'pandaboard':
prefs["layers.tiles.adjust"] = False

View File

@ -311,6 +311,8 @@ user_pref("browser.selfsupport.url", "https://%(server)s/selfsupport-dummy/");
user_pref("media.eme.enabled", true);
user_pref("media.autoplay.enabled", true);
#if defined(XP_WIN)
user_pref("media.decoder.heuristic.dormant.timeout", 0);
#endif