summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/navigation-timing/idlharness.window.js
blob: 72cf0c3a3d3c8cb77541625a0554d8464d7c112b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// META: timeout=long

'use strict';

// http://www.w3.org/TR/navigation-timing/

idl_test(
  ['navigation-timing', 'hr-time'],
  ['resource-timing', 'performance-timeline', 'dom', 'html'],
  idlArray => {
    idlArray.add_objects({
      Performance: ['performance'],
      PerformanceNavigation: ['performance.navigation'],
      PerformanceTiming: ['performance.timing'],
      PerformanceNavigationTiming: ['performance.getEntriesByType("navigation")[0]']
    });
  }
);