blob: 4833edba592c4c8fb8bd59385f525c025c35e921 [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8" />
<title> chronology</title>
<link rel="author" title="W3C" href="" />
<link rel="help" href=""/>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="stylesheet" href="/resources/testharness.css" />
test(function() {
assert_true( > 0, " returns positive numbers");
}, " returns a positive number", {assert: "The time values returned when calling the now method MUST be monotonically increasing and not subject to system clock adjustments or system clock skew."});
test(function() {
var now1 =;
var now2 =;
assert_true((now2-now1) >= 0, " difference is not negative");
" difference is not negative",
assert: "The difference between any two chronologically recorded time values returned from the now method MUST never be negative."
<p>This test validates that follows the monotonic clock requirements.</p>
<div id="log"></div>