https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 63e1a5a7d648edc8242ca586e754dcc78750a17e authored by moz-wptsync-bot on 14 March 2018, 18:16:20 UTC
Correctly compare height in open-features-non-integer-height.html test.
Tip revision: 63e1a5a
nav2_test_instance_accessible_from_the_start.html
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(function() {
  var navigationTiming2 = window.performance.getEntriesByType('navigation')[0];
  assert_true(navigationTiming2 !== undefined);
  assert_equals(navigationTiming2.entryType, "navigation");
  assert_equals(navigationTiming2.startTime, 0);
  assert_equals(navigationTiming2.initiatorType, "navigation");
  done();
}, "PerformanceNavigationTiming instance exists with reasonable values.");
</script>
back to top