https://github.com/web-platform-tests/wpt
Raw File
Tip revision: c538030f9f29b5c58b69c6932791aa950ff80904 authored by Raymond Toy on 11 October 2018, 21:41:30 UTC
Compute azimuth correctly according to the spec
Tip revision: c538030
idlharness.any.js
// META: global=window,worker
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

'use strict';

// https://w3c.github.io/hr-time/

idl_test(
  ['hr-time'],
  ['html', 'dom'],
  async idl_array => {
    if (self.GLOBAL.isWorker()) {
      idl_array.add_objects({ WorkerGlobalScope: ['self'] });
    } else {
      idl_array.add_objects({ Window: ['self'] });
    }
    idl_array.add_objects({
      Performance: ['performance'],
    });
  }
);
back to top