Skip to content

Commit

Permalink
Ignore overloads on additional performance APIs (#1135)
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg committed Jan 28, 2024
1 parent 49c8f52 commit 5a05865
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test-builder/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,12 @@ const flattenMembers = (iface) => {
["onconnect", "ondisconnect"].includes(member.name)) ||
(iface.name === "SVGAnimationElement" &&
["onbegin", "onend", "onrepeat"].includes(member.name)) ||
(["TaskAttributionTiming", "PerformanceLongTaskTiming"].includes(
iface.name,
) &&
([
"TaskAttributionTiming",
"PerformanceLongTaskTiming",
"PerformanceLongAnimationFrameTiming",
"PerformanceScriptTiming",
].includes(iface.name) &&
["startTime", "duration", "name", "entryType"].includes(
member.name,
))
Expand Down

0 comments on commit 5a05865

Please sign in to comment.