summaryrefslogtreecommitdiffstats
path: root/dom/animation/test/mozilla/test_transition_finish_on_compositor.html
blob: 46a154b9af9f66f53bfdfe492c74d802d2a6f99e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
'use strict';
setup({explicit_done: true});
// This test appears like it might get racey and cause a timeout with too low of a
// precision, so we hardcode it to something reasonable.
SpecialPowers.pushPrefEnv(
  {
    set: [
      ['privacy.reduceTimerPrecision', true],
      ['privacy.resistFingerprinting.reduceTimerPrecision.microseconds', 2000],
    ],
  },
  function() {
    window.open('file_transition_finish_on_compositor.html');
  }
);
</script>