summaryrefslogtreecommitdiffstats
path: root/dom/smil
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-04 13:11:28 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-05-06 19:14:05 +0200
commit56cb90a482737ae5252ac8b7ccbc0aff0b309410 (patch)
treee0daea85a05298224d6009a8a26605436a358a1e /dom/smil
parent812574875b650526bae87d6eb5542eced678ca24 (diff)
downloadUXP-56cb90a482737ae5252ac8b7ccbc0aff0b309410.tar
UXP-56cb90a482737ae5252ac8b7ccbc0aff0b309410.tar.gz
UXP-56cb90a482737ae5252ac8b7ccbc0aff0b309410.tar.lz
UXP-56cb90a482737ae5252ac8b7ccbc0aff0b309410.tar.xz
UXP-56cb90a482737ae5252ac8b7ccbc0aff0b309410.zip
Issue #1517 - Remove dom.event.highrestimestamp.enabled pref
This resolves #1517
Diffstat (limited to 'dom/smil')
-rw-r--r--dom/smil/test/test_smilTimeEvents.xhtml12
1 files changed, 4 insertions, 8 deletions
diff --git a/dom/smil/test/test_smilTimeEvents.xhtml b/dom/smil/test/test_smilTimeEvents.xhtml
index bf6924ddb..002be5539 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");
}