mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #25697 - pshaughn:supportedentrytypes, r=jdm
PerformanceObserver.supportedEntryTypes <!-- Please describe your changes on the following line: --> It felt odd to cache these directly in GlobalScope, but they need to be [SameObject] and the global scope is where the spec implies they go. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #25587 <!-- Either: --> - [X] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
commit
1987061a37
9 changed files with 66 additions and 49 deletions
|
@ -21,5 +21,6 @@ interface PerformanceObserver {
|
|||
void observe(optional PerformanceObserverInit options = {});
|
||||
void disconnect();
|
||||
PerformanceEntryList takeRecords();
|
||||
// [SameObject] static readonly attribute FrozenArray<DOMString> supportedEntryTypes;
|
||||
// codegen doesn't like SameObject+static and doesn't know FrozenArray
|
||||
/*[SameObject]*/ static readonly attribute /*FrozenArray<DOMString>*/ any supportedEntryTypes;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue