Issue #1517 - Remove dom.event.highrestimestamp.enabled pref

This resolves #1517
This commit is contained in:
Moonchild 2020-05-04 13:11:28 +00:00 committed by Roy Tam
commit d62f0a0dd2
6 changed files with 14 additions and 59 deletions

View file

@ -35,12 +35,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=77992
SimpleTest.waitForExplicitFinish();
SimpleTest.requestFlakyTimeout("untriaged");
// We don't use SpecialPowers.pushPrefEnv since it can delay the test
// function until after the load event has fired which means we can't
// test the timestamp of the load event.
const kPrefName = "dom.event.highrestimestamp.enabled";
var prevPrefValue = SpecialPowers.getBoolPref(kPrefName);
SpecialPowers.setBoolPref(kPrefName, true);
testRegularEvents();
// Event.timeStamp should be relative to the time origin which is: