gecko-dev/browser/components/resistfingerprinting
Tom Ritter 42bb60fffe Bug 1435296 Update the CSS Animations tests to handle our new Timer Precision decision r=baku
This commit does several subtle things.

1: It changes ok() to opener.ok()

ok is not defined, we have to use opener.ok. This was not caught before because
this call is used to provide additional debugging information when a test fails.
Test didn't fail, didn't hit that line.

2: It disables the call to opener.ok() we just fixed.

As the comment there describes, we expect that function to fail, so we don't want
to assert(false).

3: It inverts failures to successes if only the reduceTimerPrecision pref is set

MozReview-Commit-ID: lpKKhJoDs6

--HG--
extra : rebase_source : 0d29f2b6061526abe989c4b58397bb78631cec7b
2018-02-07 20:35:38 -06:00
..
test Bug 1435296 Update the CSS Animations tests to handle our new Timer Precision decision r=baku 2018-02-07 20:35:38 -06:00
moz.build Bug 1217238 - Regression tests for reducing precision of time exposed by Javascript. r=mystor 2017-06-06 11:45:13 +08:00