mirror of
https://github.com/servo/servo.git
synced 2025-09-05 04:28:22 +01:00
Update web-platform-tests to revision 4052654d786236b493d2df3cb80b9d3d1d0a8354
This commit is contained in:
parent
eab848df3e
commit
3b6ddd885a
116 changed files with 4255 additions and 821 deletions
|
@ -0,0 +1,11 @@
|
|||
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'.");
|
Loading…
Add table
Add a link
Reference in a new issue