Revision 90df068fa92f00e3423317e966405271cc23a787 authored by Alex Vallée on 31 October 2017, 15:58:07 UTC, committed by Chromium WPT Sync on 31 October 2017, 15:58:07 UTC
Check that the correct value of activeElement in an iframe after losing focus in the parent frame. The behaviour is wrong in Chrome + OOPIF. BUG=755023 Change-Id: I30b3cdce0842115ba9e8249181bf25eb84bb8214
1 parent 58b7239
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."
}
);
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...