WebIDL: Remove JSObject from Document::NamedGetter (#31841)

* WebIDL: Remove `JSObject` from `Document::NamedGetter`

* fix: update rustdoc comment
This commit is contained in:
eri 2024-03-24 19:04:04 +01:00 committed by GitHub
parent 1ab38fcd3f
commit 58081579e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 29 deletions

View file

@ -97,7 +97,7 @@ partial /*sealed*/ interface Document {
readonly attribute DocumentReadyState readyState;
// DOM tree accessors
getter object (DOMString name);
getter NamedPropertyValue (DOMString name);
[CEReactions]
attribute DOMString title;
// [CEReactions]
@ -212,3 +212,6 @@ partial interface Document {
[Throws]
ShadowRoot servoGetMediaControls(DOMString id);
};
// https://html.spec.whatwg.org/multipage/#dom-document-nameditem-filter
typedef (WindowProxy or Element or HTMLCollection) NamedPropertyValue;