diff options
author | Moonchild <moonchild@palemoon.org> | 2020-05-04 13:11:28 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-04 13:11:28 +0000 |
commit | ca826767f07eb3b463f660b94f9416ecb5065611 (patch) | |
tree | 6aaad1b3ceb62cd2977add979d69c9e48e103f72 /dom/smil | |
parent | ea491d0383e89839b831fabc11e7e0d6732659dd (diff) | |
download | uxp-ca826767f07eb3b463f660b94f9416ecb5065611.tar.gz |
Issue #1517 - Remove dom.event.highrestimestamp.enabled pref
This resolves #1517
Diffstat (limited to 'dom/smil')
-rw-r--r-- | dom/smil/test/test_smilTimeEvents.xhtml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/dom/smil/test/test_smilTimeEvents.xhtml b/dom/smil/test/test_smilTimeEvents.xhtml index bf6924ddbb..002be5539b 100644 --- a/dom/smil/test/test_smilTimeEvents.xhtml +++ b/dom/smil/test/test_smilTimeEvents.xhtml @@ -236,14 +236,10 @@ function sanityCheckEvent(evt) is(evt.eventPhase, evt.AT_TARGET); is(evt.bubbles, false, "Event should not bubble"); is(evt.cancelable, false, "Event should not be cancelable"); - if (SpecialPowers.getBoolPref("dom.event.highrestimestamp.enabled")) { - var now = window.performance.now(); - ok(evt.timeStamp > 0 && evt.timeStamp < now, - "Event timeStamp (" + evt.timeStamp + ") should be > 0 but " + - "before the current time (" + now + ")"); - } else { - is(evt.timeStamp, 0, "Event timeStamp should be 0"); - } + var now = window.performance.now(); + ok(evt.timeStamp > 0 && evt.timeStamp < now, + "Event timeStamp (" + evt.timeStamp + ") should be > 0 but " + + "before the current time (" + now + ")"); ok(evt.view !== null, "Event view not set"); } |