servo/components/script/dom
Mukilan Thiyagarajan 3cf4ef61ef
bindings: Fix support for interface members in setlike/maplike. (#35651)
#30151 added support for setlike and maplike declarations in WebIDL, but
the tests only validated if generator code worked with 'DOMString' as
the key type. The support for interface type as members was broken as
`DomRoot<T>` didn't satify the bounds `Eq` and `Hash` needed by the
`Key` and `Value` types in `Setlike` and `Maplike` traits respectively.
In addition, the splitting of bindings into a separate 'script_bindings'
crate had also broken support for this in CodegenRust.py, as the types
used within the definition of `DomTraits` were not referenced using
`Self::`.

This patch fixes the WebIDL code generator by doing a simple string
replacement on the return value of `getRetvalDeclarationForType` so that
the proper `Self::` is used. I'm not not sure if there is a better
approach to this as it seems most logic in CodegenRust.py uses the `D::`
prefix that is expected to be available only when compiling `script`
crate and not `script_bindings`.

This patch also adds the missing trait implementations for `DomRoot` and
ensures that the generated code works for both members of primitive and
interface types by splitting the existing `TestBinding{Map,Set}Like`
interfaces into `TestBinding{Map,Set}LikeWith{Primitive,Interface}`
tests.

Fixes #35542.

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2025-02-27 07:04:11 +00:00
..
bindings refactor: add CanGc as argument to exception_to_promise (#35647) 2025-02-25 13:21:59 +00:00
bluetooth refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
servoparser refactor: propagate CanGc arguments through callers (#35565) 2025-02-21 17:35:17 +00:00
webgl_extensions Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
webgl_validations script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
webgpu refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
webxr refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
abortcontroller.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
abstractrange.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
abstractworker.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
abstractworkerglobalscope.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
activation.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
analysernode.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
animationevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
attr.rs script: delay Mutation initialization (#35291) 2025-02-05 06:28:10 +00:00
audiobuffer.rs refactor: add CanGc as argument to create_buffer_source (#35597) 2025-02-22 05:42:55 +00:00
audiobuffersourcenode.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
audiocontext.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
audiodestinationnode.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
audiolistener.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
audionode.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
audioparam.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
audioscheduledsourcenode.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
audiotrack.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
audiotracklist.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
baseaudiocontext.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
beforeunloadevent.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
biquadfilternode.rs refactor: propagate CanGc arguments through callers (#35565) 2025-02-21 17:35:17 +00:00
blob.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
broadcastchannel.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
bytelengthqueuingstrategy.rs refactor: add CanGc as argument to ByteLengthQueuingStrategy::GetSize (#35594) 2025-02-22 06:16:37 +00:00
canvasgradient.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
canvaspattern.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
canvasrenderingcontext2d.rs Remove get_ipc_sender from OffscreenCanvasRenderingContext2D (#35625) 2025-02-24 08:23:13 +00:00
cdatasection.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
channelmergernode.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
channelsplitternode.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
characterdata.rs dom: Always replace unpaired surrogates when handling page text (#35381) 2025-02-09 08:56:05 +00:00
client.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
clipboardevent.rs libservo: Expose a single InputEvent type and pass it to script (#35430) 2025-02-12 17:07:15 +00:00
closeevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
comment.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
compositionevent.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
console.rs script: Add custom logging representation for DOM interfaces. (#35416) 2025-02-18 05:28:18 +00:00
constantsourcenode.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
countqueuingstrategy.rs refactor: add CanGc as argument to CountQueuingStrategy::GetSize (#35595) 2025-02-22 06:16:50 +00:00
create.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
crypto.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
cryptokey.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
css.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
cssconditionrule.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
cssfontfacerule.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
cssgroupingrule.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
cssimportrule.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
csskeyframerule.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
csskeyframesrule.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
csslayerblockrule.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
csslayerstatementrule.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
cssmediarule.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
cssnamespacerule.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
cssrule.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
cssrulelist.rs Move more bindings types to script_bindings (#35620) 2025-02-23 14:25:46 +00:00
cssstyledeclaration.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
cssstylerule.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
cssstylesheet.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
cssstylevalue.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
csssupportsrule.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
customelementregistry.rs refactor: add CanGc as argument to Promise::reject_native (#35640) 2025-02-25 03:58:36 +00:00
customevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
datatransfer.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
datatransferitem.rs DataTransferItem: improve spec compliance (#35418) 2025-02-16 18:53:35 +00:00
datatransferitemlist.rs DataTransferItem: improve spec compliance (#35418) 2025-02-16 18:53:35 +00:00
dedicatedworkerglobalscope.rs Make generated proxy handlers and DOM object hooks generic (#35292) 2025-02-05 12:51:34 +00:00
defaultteereadrequest.rs refactor: add CanGc as argument to Promise::reject_native (#35640) 2025-02-25 03:58:36 +00:00
defaultteeunderlyingsource.rs refactor: add CanGc as argument to Promise::resolve (#35616) 2025-02-23 12:12:21 +00:00
dissimilaroriginlocation.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
dissimilaroriginwindow.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
document.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
documentfragment.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
documentorshadowroot.rs script: Avoid unwraps in DocumentOrShadowRoot::element_from_point. (#35130) 2025-01-23 03:04:56 +00:00
documenttype.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
domexception.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
domimplementation.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
dommatrix.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
dommatrixreadonly.rs refactor: add CanGc as argument to create_buffer_source (#35597) 2025-02-22 05:42:55 +00:00
domparser.rs Add support for Upgrade request to a potentially trustworthy URL. (#34986) 2025-02-05 12:49:56 +00:00
dompoint.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
dompointreadonly.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
domquad.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
domrect.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
domrectlist.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
domrectreadonly.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
domstringlist.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
domstringmap.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
domtokenlist.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
dynamicmoduleowner.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
element.rs Allow the <details> element to be opened and closed (#35261) 2025-02-25 11:56:36 +00:00
elementinternals.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
errorevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
event.rs Handle assigned slottables in an Event's path (#35380) 2025-02-08 02:21:22 +00:00
eventsource.rs script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
eventtarget.rs script: Make callbacks generic over DOM interfaces. (#35459) 2025-02-21 12:17:11 +00:00
extendableevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
extendablemessageevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
file.rs deps: Upgrade to webrender@0.66 (#35325) 2025-02-07 11:57:26 +00:00
filelist.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
filereader.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
filereadersync.rs refactor: add CanGc as argument to create_buffer_source (#35597) 2025-02-22 05:42:55 +00:00
focusevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
fontface.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
fontfaceset.rs refactor: add CanGc as argument to Promise::resolve (#35616) 2025-02-23 12:12:21 +00:00
formdata.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
formdataevent.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
gainnode.rs refactor: propagate CanGc arguments through callers (#35565) 2025-02-21 17:35:17 +00:00
gamepad.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
gamepadbutton.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
gamepadbuttonlist.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
gamepadevent.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
gamepadhapticactuator.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
gamepadpose.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
globalscope.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
gpucanvascontext.rs suppress build warnings when disabling webgpu and webxr (#35379) 2025-02-08 08:16:21 +00:00
hashchangeevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
headers.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
history.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
htmlanchorelement.rs refactor: propagate CanGc arguments through callers (#35565) 2025-02-21 17:35:17 +00:00
htmlareaelement.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
htmlaudioelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlbaseelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlbodyelement.rs libservo: Combine LoadStart, HeadParsed, and LoadComplete` messages (#35260) 2025-02-03 22:31:17 +00:00
htmlbrelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlbuttonelement.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
htmlcanvaselement.rs Do not assume OffscreenCanvasContext to be 2d (#35629) 2025-02-24 14:06:08 +00:00
htmlcollection.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
htmldataelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmldatalistelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmldetailselement.rs Allow the <details> element to be opened and closed (#35261) 2025-02-25 11:56:36 +00:00
htmldialogelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmldirectoryelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmldivelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmldlistelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlelement.rs Allow the <details> element to be opened and closed (#35261) 2025-02-25 11:56:36 +00:00
htmlembedelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlfieldsetelement.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
htmlfontelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlformcontrolscollection.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
htmlformelement.rs Update to rust 1.85 (#35628) 2025-02-24 17:44:35 +00:00
htmlframeelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlframesetelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlheadelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlheadingelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlhrelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlhtmlelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlhyperlinkelementutils.rs script: implement HTMLHyperlinkElementUtils for HTMLAreaElement (#35482) 2025-02-16 09:54:31 +00:00
htmliframeelement.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
htmlimageelement.rs refactor: add CanGc as argument to Promise::reject_native (#35640) 2025-02-25 03:58:36 +00:00
htmlinputelement.rs Update to rust 1.85 (#35628) 2025-02-24 17:44:35 +00:00
htmllabelelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmllegendelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmllielement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmllinkelement.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
htmlmapelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlmediaelement.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
htmlmenuelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlmetaelement.rs dom: expose obsolete scheme attribute for meta tag (#35505) 2025-02-17 07:07:24 +00:00
htmlmeterelement.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
htmlmodelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlobjectelement.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
htmlolistelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmloptgroupelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmloptionelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmloptionscollection.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
htmloutputelement.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
htmlparagraphelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlparamelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlpictureelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlpreelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlprogresselement.rs Implement the <progress> element (#35531) 2025-02-26 10:14:20 +00:00
htmlquoteelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlscriptelement.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
htmlselectelement.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
htmlslotelement.rs Implement ServoLayoutNode::traversal_parent (#35338) 2025-02-07 01:05:27 +00:00
htmlsourceelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlspanelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlstyleelement.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
htmltablecaptionelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmltablecellelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmltablecolelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmltableelement.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
htmltablerowelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmltablesectionelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmltemplateelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmltextareaelement.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
htmltimeelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmltitleelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmltrackelement.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
htmlulistelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlunknownelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlvideoelement.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
iirfilternode.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
imagebitmap.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
imagedata.rs refactor: add CanGc as argument to create_buffer_source_with_length (#35596) 2025-02-22 06:17:24 +00:00
inputevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
intersectionobserver.rs dom: IntersectionObserver initialization (#35314) 2025-02-13 07:47:29 +00:00
intersectionobserverentry.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
intersectionobserverrootmargin.rs dom: IntersectionObserver initialization (#35314) 2025-02-13 07:47:29 +00:00
keyboardevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
location.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
macros.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
mediadeviceinfo.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
mediadevices.rs refactor: add CanGc as argument to Promise::resolve (#35616) 2025-02-23 12:12:21 +00:00
mediaelementaudiosourcenode.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
mediaerror.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
mediafragmentparser.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
medialist.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
mediametadata.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
mediaquerylist.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
mediaquerylistevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
mediasession.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
mediastream.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
mediastreamaudiodestinationnode.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
mediastreamaudiosourcenode.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
mediastreamtrack.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
mediastreamtrackaudiosourcenode.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
messagechannel.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
messageevent.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
messageport.rs Move more bindings code to script_bindings (#35578) 2025-02-22 04:46:56 +00:00
mimetype.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
mimetypearray.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
mod.rs bindings: Fix support for interface members in setlike/maplike. (#35651) 2025-02-27 07:04:11 +00:00
mouseevent.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
mutationobserver.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
mutationrecord.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
namednodemap.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
navigationpreloadmanager.rs refactor: add CanGc as argument to Promise::reject_native (#35640) 2025-02-25 03:58:36 +00:00
navigator.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
navigatorinfo.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
node.rs Update to rust 1.85 (#35628) 2025-02-24 17:44:35 +00:00
nodeiterator.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
nodelist.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
notification.rs refactor: add CanGc as argument to Promise::resolve (#35616) 2025-02-23 12:12:21 +00:00
offlineaudiocompletionevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
offlineaudiocontext.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
offscreencanvas.rs Do not assume OffscreenCanvasContext to be 2d (#35629) 2025-02-24 14:06:08 +00:00
offscreencanvasrenderingcontext2d.rs Remove get_ipc_sender from OffscreenCanvasRenderingContext2D (#35625) 2025-02-24 08:23:13 +00:00
oscillatornode.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
pagetransitionevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
paintrenderingcontext2d.rs Unify (Offscreen)CanvasRenderingContext2d and make PaintRenderingContext2D standalone (#35619) 2025-02-23 16:31:06 +00:00
paintsize.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
paintworkletglobalscope.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
pannernode.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
performance.rs Update to rust 1.85 (#35628) 2025-02-24 17:44:35 +00:00
performanceentry.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
performancemark.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
performancemeasure.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
performancenavigation.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
performancenavigationtiming.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
performanceobserver.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
performanceobserverentrylist.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
performancepainttiming.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
performanceresourcetiming.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
permissions.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
permissionstatus.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
plugin.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
pluginarray.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
pointerevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
popstateevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
processinginstruction.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
progressevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
promise.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
promisenativehandler.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
promiserejectionevent.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
radionodelist.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
range.rs dom: move node ranges to raredata (#35554) 2025-02-21 18:41:25 +00:00
raredata.rs dom: Move child_list to rare data (#35592) 2025-02-22 01:32:37 +00:00
readablebytestreamcontroller.rs Script: implement ReadableStreamBYOBRequest (#35074) 2025-02-04 11:58:46 +00:00
readablestream.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
readablestreambyobreader.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
readablestreambyobrequest.rs Script: implement ReadableStreamBYOBRequest (#35074) 2025-02-04 11:58:46 +00:00
readablestreamdefaultcontroller.rs refactor: add CanGc as argument to Promise::reject_native (#35640) 2025-02-25 03:58:36 +00:00
readablestreamdefaultreader.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
readablestreamgenericreader.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
request.rs Add support for Upgrade request to a potentially trustworthy URL. (#34986) 2025-02-05 12:49:56 +00:00
resizeobserver.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
resizeobserverentry.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
resizeobserversize.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
response.rs refactor: add CanGc as argument to Promise::reject_native (#35640) 2025-02-25 03:58:36 +00:00
rtcdatachannel.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
rtcdatachannelevent.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
rtcerror.rs refactor RTCError::new_inherited (#35617) 2025-02-23 14:26:19 +00:00
rtcerrorevent.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
rtcicecandidate.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
rtcpeerconnection.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
rtcpeerconnectioniceevent.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
rtcrtpsender.rs refactor: add CanGc as argument to Promise::resolve (#35616) 2025-02-23 12:12:21 +00:00
rtcrtptransceiver.rs refactor: propagate CanGc arguments through callers (#35565) 2025-02-21 17:35:17 +00:00
rtcsessiondescription.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
rtctrackevent.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
screen.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
securitypolicyviolationevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
selection.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
serviceworker.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
serviceworkercontainer.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
serviceworkerglobalscope.rs Make generated proxy handlers and DOM object hooks generic (#35292) 2025-02-05 12:51:34 +00:00
serviceworkerregistration.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
shadowroot.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
staticrange.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
stereopannernode.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
storage.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
storageevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
stylepropertymapreadonly.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
stylesheet.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
stylesheetlist.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
submitevent.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
subtlecrypto.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
svgelement.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
svggraphicselement.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
svgsvgelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
test_mapping.json Added randomness to the mutation strategy 2017-11-06 13:00:14 -05:00
testbinding.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
testbindingiterable.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
testbindingmaplikewithinterface.rs bindings: Fix support for interface members in setlike/maplike. (#35651) 2025-02-27 07:04:11 +00:00
testbindingmaplikewithprimitive.rs bindings: Fix support for interface members in setlike/maplike. (#35651) 2025-02-27 07:04:11 +00:00
testbindingpairiterable.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
testbindingproxy.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
testbindingsetlikewithinterface.rs bindings: Fix support for interface members in setlike/maplike. (#35651) 2025-02-27 07:04:11 +00:00
testbindingsetlikewithprimitive.rs bindings: Fix support for interface members in setlike/maplike. (#35651) 2025-02-27 07:04:11 +00:00
testns.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
testworklet.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
testworkletglobalscope.rs Make generated proxy handlers and DOM object hooks generic (#35292) 2025-02-05 12:51:34 +00:00
text.rs Implement ServoLayoutNode::traversal_parent (#35338) 2025-02-07 01:05:27 +00:00
textcontrol.rs Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
textdecoder.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
textencoder.rs refactor: add CanGc as argument to create_buffer_source (#35597) 2025-02-22 05:42:55 +00:00
textmetrics.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
texttrack.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
texttrackcue.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
texttrackcuelist.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
texttracklist.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
timeranges.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
touch.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
touchevent.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
touchlist.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
trackevent.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
transitionevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
treewalker.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
uievent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
underlyingsourcecontainer.rs refactor: add CanGc as argument to Promise::resolve (#35616) 2025-02-23 12:12:21 +00:00
url.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
urlhelper.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
urlsearchparams.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
userscripts.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
validation.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
validitystate.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
values.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
vertexarrayobject.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
videotrack.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
videotracklist.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
virtualmethods.rs Implement the <progress> element (#35531) 2025-02-26 10:14:20 +00:00
visibilitystateentry.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
vttcue.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
vttregion.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
webgl2renderingcontext.rs refactor: add CanGc as argument to Promise::resolve (#35616) 2025-02-23 12:12:21 +00:00
webglactiveinfo.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
webglbuffer.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
webglcontextevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
webglframebuffer.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
webglobject.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
webglprogram.rs Update to rust 1.85 (#35628) 2025-02-24 17:44:35 +00:00
webglquery.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
webglrenderbuffer.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
webglrenderingcontext.rs Update to rust 1.85 (#35628) 2025-02-24 17:44:35 +00:00
webglsampler.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
webglshader.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
webglshaderprecisionformat.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
webglsync.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
webgltexture.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
webgltransformfeedback.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
webgluniformlocation.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
webglvertexarrayobject.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
webglvertexarrayobjectoes.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
websocket.rs Update to rust 1.85 (#35628) 2025-02-24 17:44:35 +00:00
wheelevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
window.rs libservo: Clean up interfaces for alert()/confirm()/prompt() (#35579) 2025-02-27 02:49:08 +00:00
windowproxy.rs Make auxiliary webviews exist in the constellation immediately (#35672) 2025-02-26 11:07:05 +00:00
worker.rs Add support for Upgrade request to a potentially trustworthy URL. (#34986) 2025-02-05 12:49:56 +00:00
workerglobalscope.rs Move more bindings code to script_bindings (#35578) 2025-02-22 04:46:56 +00:00
workerlocation.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
workernavigator.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
worklet.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
workletglobalscope.rs servoshell: Move headless setting to ServoShellPreferences (#35377) 2025-02-07 20:04:31 +00:00
writablestream.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
writablestreamdefaultcontroller.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
writablestreamdefaultwriter.rs refactor: add CanGc as argument to Promise::reject_error (#35646) 2025-02-25 10:12:58 +00:00
xmldocument.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
xmlhttprequest.rs refactor: propagate CanGc arguments through callers (#35591) 2025-02-23 00:34:51 +00:00
xmlhttprequesteventtarget.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xmlhttprequestupload.rs Propagate CanGc arguments through callers in constructors (#35541) 2025-02-20 16:17:45 +00:00
xmlserializer.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xpathevaluator.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
xpathexpression.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
xpathresult.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00