mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
WebIDL: Remove JSObject
from Document::NamedGetter
(#31841)
* WebIDL: Remove `JSObject` from `Document::NamedGetter` * fix: update rustdoc comment
This commit is contained in:
parent
1ab38fcd3f
commit
58081579e9
3 changed files with 16 additions and 29 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue