mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
Update web-platform-tests to revision 388ba3a049a3473b1945b9f8f81e9d6e342a249e
This commit is contained in:
parent
43e21dc845
commit
bdaf11b099
139 changed files with 3089 additions and 807 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("firstInput"),
|
||||
"There should be 'firstInput' in PerformanceObserver.supportedEntryTypes");
|
||||
assert_true(types.includes("event"),
|
||||
"There should be 'event' in PerformanceObserver.supportedEntryTypes");
|
||||
assert_greater_than(types.indexOf("firstInput"), types.indexOf('event'),
|
||||
"The 'firstInput' entry should appear after the 'event' entry");
|
||||
}, "supportedEntryTypes contains 'event' and 'firstInput'.");
|
Loading…
Add table
Add a link
Reference in a new issue