https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 7c998af1493f2690b300d7ec321bcc62bf428fca authored by Brandon Jones on 21 December 2018, 18:45:11 UTC
Replace XRCoodinateSystem/FrameOfReference with XRSpace/XRReferenceSpace
Tip revision: 7c998af
supported-usertiming-types.any.js
test(() => {
  if (typeof PerformanceObserver.supportedEntryTypes === "undefined")
    assert_unreached("supportedEntryTypes is not supported.");
  const types = PerformanceObserver.supportedEntryTypes;
  assert_true(types.includes("mark"),
    "There should be 'mark' in PerformanceObserver.supportedEntryTypes");
  assert_true(types.includes("measure"),
    "There should be 'measure' in PerformanceObserver.supportedEntryTypes");
  assert_greater_than(types.indexOf("measure"), types.indexOf('mark'),
    "The 'measure' entry should appear after the 'mark' entry");
}, "supportedEntryTypes contains 'mark' and 'measure'.");
back to top