https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 6a33b243f29a42f0a38e95b3bf3c8428e109b10a authored by Javier Fernandez on 18 December 2018, 22:50:09 UTC
[LayoutNG] New value 'break-spaces' for the white-space property
Tip revision: 6a33b24
supported-longtask-types.any.js
test(() => {
  if (typeof PerformanceObserver.supportedEntryTypes === "undefined")
    assert_unreached("supportedEntryTypes is not supported.");
  const types = PerformanceObserver.supportedEntryTypes;
  assert_true(types.includes("longtask"),
    "There should be 'longtask' in PerformanceObserver.supportedEntryTypes");
  assert_false(types.includes("taskattribution"),
    "There should NOT be 'taskattribution' in PerformanceObserver.supportedEntryTypes");
}, "supportedEntryTypes contains 'longtask' but not 'taskattribution'.");
back to top