Bug 1369360 - (Intermittent intersection-observer/timestamp.html) Log time values. m=me,test-only
authorTobias Schneider <tschneider@mozilla.com>
Fri, 04 Aug 2017 12:58:34 -0700
changeset 373058 91622c96ce5ae91e19d5e1d9428f5f161e8361bc
parent 373057 a5331535e6604c8eb81e0281d353cbf00c5899b2
child 373059 165e54eeea49b8e27649dc1aedfd6bc7ffc87c5b
push id32288
push userarchaeopteryx@coole-files.de
push dateSat, 05 Aug 2017 09:55:48 +0000
treeherdermozilla-central@933a04a91ce3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1369360
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1369360 - (Intermittent intersection-observer/timestamp.html) Log time values. m=me,test-only
testing/web-platform/tests/intersection-observer/timestamp.html
--- a/testing/web-platform/tests/intersection-observer/timestamp.html
+++ b/testing/web-platform/tests/intersection-observer/timestamp.html
@@ -82,17 +82,18 @@ function step1() {
 function step2() {
   document.scrollingElement.scrollTop = 0;
   var topWindowTimeAfterNotification = performance.now();
   var iframeWindowTimeAfterNotification = targetIframe.contentWindow.performance.now();
 
   // Test results are only significant if there's a gap between
   // top window time and iframe window time.
   assert_greater_than(topWindowTimeBeforeNotification, iframeWindowTimeAfterNotification,
-    "Time ranges for top and iframe windows are disjoint.");
+    "Time ranges for top and iframe windows are disjoint. Times: " +
+      [topWindowTimeOnTestStart, topWindowTimeBeforeCreatingIframe, topWindowTimeBeforeNotification, topWindowTimeAfterNotification, iframeWindowTimeBeforeNotification, iframeWindowTimeAfterNotification]);
 
   assert_equals(topWindowEntries.length, 2, "Top window observer has two notifications.");
   assert_between_inclusive(
       topWindowEntries[1].time,
       topWindowTimeBeforeNotification,
       topWindowTimeAfterNotification,
       "Notification to top window observer is within the expected range.");