Bug 1780783: Set specialize video pref at beginning of video telemetry test. r=gfx-reviewers,jrmuizel
authorBrad Werth <bwerth@mozilla.com>
Fri, 22 Jul 2022 16:14:08 +0000
changeset 624950 c70d753f50f5b02f2161617a3c1a9e7024c65c34
parent 624949 de6675149a756c511277923f687ac5f3f50f7f1d
child 624951 b54cea65aa800bf079b3efbf3ccfd6a04faf2d33
push id166688
push userbwerth@mozilla.com
push dateFri, 22 Jul 2022 16:20:35 +0000
treeherderautoland@c70d753f50f5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgfx-reviewers, jrmuizel
bugs1780783
milestone104.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1780783: Set specialize video pref at beginning of video telemetry test. r=gfx-reviewers,jrmuizel The `gfx.core-animation.specialize-video` pref is currently only on by default in Nightly and Early Beta. This will ensure that the test works on all the trains. Differential Revision: https://phabricator.services.mozilla.com/D152541
dom/media/test/test_video_low_power_telemetry.html
--- a/dom/media/test/test_video_low_power_telemetry.html
+++ b/dom/media/test/test_video_low_power_telemetry.html
@@ -165,17 +165,17 @@ 5) Tell the MediaTestManager we've finis
     document.body.appendChild(v);
 
     doPreTest(v).then(() => {
       info(`Playing test ${testIndex}.`);
       v.play();
     });
   }
 
-  SpecialPowers.pushPrefEnv({"set": [["media.video_stats.enabled", true]]},
+  SpecialPowers.pushPrefEnv({"set": [["media.video_stats.enabled", true], ["gfx.core-animation.specialize-video", true]]},
     async function() {
       // Clear out existing telemetry in case previous tests were displaying
       // video.
       info("Clearing initial telemetry.");
       await retrieveSnapshotAndClearTelemetry();
 
       ok(gVideoLowPowerTests.length >= 2, "Should have enough videos to test.");
       manager.runTests(gVideoLowPowerTests, startTest);