Revision 88e7f59976ad727b77d6fb1380ef5765762ae899 authored by Yutaka Hirano on 14 March 2018, 17:14:46 UTC, committed by Blink WPT Bot on 14 March 2018, 18:02:18 UTC
Despite its name, the test checks the mixed content check for sendBeacon. This CL moves it to wpt/mixed-content. Bug: 821294 Change-Id: Ifd264dae0fec5c4d821d61d37d61f4ebbc763516 Reviewed-on: https://chromium-review.googlesource.com/959982 Reviewed-by: Mike West <mkwst@chromium.org> Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#543105}
1 parent 77530f2
monotonic-clock.any.js
test(function() {
assert_true(self.performance.now() > 0, "self.performance.now() returns positive numbers");
}, "self.performance.now() 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 = self.performance.now();
var now2 = self.performance.now();
assert_true((now2-now1) >= 0, "self.performance.now() difference is not negative");
},
"self.performance.now() difference is not negative",
{
assert: "The difference between any two chronologically recorded time values returned from the now method MUST never be negative."
}
);
Computing file changes ...