servo/components/script/dom
Martin Robinson 75cf3d7265
dom: Always replace unpaired surrogates when handling page text (#35381)
Background:

> JavaScript strings are potentially ill-formed UTF-16 (arbitrary
> Vec<u16>) and can contain unpaired surrogates. Rust’s String type is
> well-formed UTF-8 and can not contain any surrogate. Surrogates are
> never emitted when decoding bytes from the network, but they can sneak
> in through document.write, the Element.innerHtml setter, or other DOM
> APIs.

In 2015, Servo launched an experiment to see if unpaired surrogates
cropped up in page content. That experiment caused Servo to panic if
unpaired surrogates were encountered with a request to report the page
to bug #6564. During that time several pages were reported with unpaired
surrogates, causing Servo to panic. In addition, when running the WPT
tests Servo will never panic due to the `-Z replace-surrogates` option
being passed by the test driver.

Motivation:

After this 10 year experiment, it's clear that unpaired surrogates are a
real concern in page content. Several reports were filed of Servo
panicking after encountering them in real world pages. A complete fix for
this issue would be to somehow maintain unpaired surrogates in the DOM,
but that is a much larger task than simply emitting U+FFD instead of an
unpaired surrogate.

Since it is clear that this kind of content exists, it is better for
Servo to try its best to handle the content rather than crash as
production browsers should not crash due to user content when possible.
In this change, I modify Servo to always replace unpaired surrogates.

It would have been ideal to only crash when debug assertions are
enabled, but debug assertions are enabled by default in release mode --
so this wouldn't be effective for WPT tests.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-02-09 08:56:05 +00:00
..
bindings script: Replace unnecessary macro in get_constructor_object_from_local_name (#35383) 2025-02-09 01:55:56 +00:00
servoparser Add support for Upgrade request to a potentially trustworthy URL. (#34986) 2025-02-05 12:49:56 +00:00
webgl_extensions Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
webgl_validations script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
webgpu Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
webxr Use surfman with glow bindings (#34328) 2025-02-05 06:13:21 +00:00
abortcontroller.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
abstractrange.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +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 script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
audiobuffersourcenode.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
audiocontext.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
audiodestinationnode.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
audiolistener.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
audionode.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
audioparam.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
audioscheduledsourcenode.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
audiotrack.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
audiotracklist.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
baseaudiocontext.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
beforeunloadevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
biquadfilternode.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
blob.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
bluetooth.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
bluetoothadvertisingevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
bluetoothcharacteristicproperties.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
bluetoothdevice.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
bluetoothpermissionresult.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
bluetoothremotegattcharacteristic.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
bluetoothremotegattdescriptor.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
bluetoothremotegattserver.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
bluetoothremotegattservice.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
bluetoothuuid.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
broadcastchannel.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
bytelengthqueuingstrategy.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
canvasgradient.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
canvaspattern.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
canvasrenderingcontext2d.rs Remove get_ipc_renderer from CanvasRenderingContext2D (#35285) 2025-02-04 18:49:51 +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 script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
clipboardevent.rs dom: set composed flag when constructing ClipboardEvent (#35146) 2025-01-23 18:07:59 +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 script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
console.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
constantsourcenode.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
countqueuingstrategy.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
create.rs make report_pending_exception safe and adjust callers (#35351) 2025-02-08 22:22:44 +00:00
crypto.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
cryptokey.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +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 script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
cssgroupingrule.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
cssimportrule.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
csskeyframerule.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
csskeyframesrule.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
csslayerblockrule.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
csslayerstatementrule.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
cssmediarule.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
cssnamespacerule.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
cssrule.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
cssrulelist.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
cssstyledeclaration.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
cssstylerule.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
cssstylesheet.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
cssstylevalue.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
csssupportsrule.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
customelementregistry.rs make report_pending_exception safe and adjust callers (#35351) 2025-02-08 22:22:44 +00:00
customevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
datatransfer.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
datatransferitem.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
datatransferitemlist.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
dedicatedworkerglobalscope.rs Make generated proxy handlers and DOM object hooks generic (#35292) 2025-02-05 12:51:34 +00:00
defaultteereadrequest.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
defaultteeunderlyingsource.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
dissimilaroriginlocation.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
dissimilaroriginwindow.rs servoshell: Move headless setting to ServoShellPreferences (#35377) 2025-02-07 20:04:31 +00:00
document.rs suppress build warnings when disabling webgpu and webxr (#35379) 2025-02-08 08:16:21 +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 script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
domimplementation.rs Add support for Upgrade request to a potentially trustworthy URL. (#34986) 2025-02-05 12:49:56 +00:00
dommatrix.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
dommatrixreadonly.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +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 script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
domstringmap.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
domtokenlist.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
dynamicmoduleowner.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
element.rs Implement ServoLayoutNode::traversal_parent (#35338) 2025-02-07 01:05:27 +00:00
elementinternals.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +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 Add support for Upgrade request to a potentially trustworthy URL. (#34986) 2025-02-05 12:49:56 +00:00
eventtarget.rs make report_pending_exception safe and adjust callers (#35351) 2025-02-08 22:22:44 +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 script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
filereader.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
filereadersync.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
focusevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
fontfaceset.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +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 script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
gamepad.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
gamepadbutton.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gamepadbuttonlist.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
gamepadevent.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
gamepadhapticactuator.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
gamepadpose.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
globalscope.rs make report_pending_exception safe and adjust callers (#35351) 2025-02-08 22:22:44 +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 Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
htmlanchorelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlareaelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +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 script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlcanvaselement.rs Remove get_ipc_renderer from CanvasRenderingContext2D (#35285) 2025-02-04 18:49:51 +00:00
htmlcollection.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +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 script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +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 script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlembedelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlfieldsetelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlfontelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlformcontrolscollection.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
htmlformelement.rs Add support for Upgrade request to a potentially trustworthy URL. (#34986) 2025-02-05 12:49:56 +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
htmliframeelement.rs Add support for Upgrade request to a potentially trustworthy URL. (#34986) 2025-02-05 12:49:56 +00:00
htmlimageelement.rs Add support for Upgrade request to a potentially trustworthy URL. (#34986) 2025-02-05 12:49:56 +00:00
htmlinputelement.rs deps: Upgrade to webrender@0.66 (#35325) 2025-02-07 11:57:26 +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 Add support for Upgrade request to a potentially trustworthy URL. (#34986) 2025-02-05 12:49:56 +00:00
htmlmapelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlmediaelement.rs deps: Upgrade to webrender@0.66 (#35325) 2025-02-07 11:57:26 +00:00
htmlmenuelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlmetaelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlmeterelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlmodelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlobjectelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +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 script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
htmloutputelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +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 script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlquoteelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
htmlscriptelement.rs Add support for Upgrade request to a potentially trustworthy URL. (#34986) 2025-02-05 12:49:56 +00:00
htmlselectelement.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +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 Add support for HTMLStyleElement.media (#35148) 2025-01-25 04:34:58 +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 script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +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 Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +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 script: Limit public exports. (#34915) 2025-01-10 08:19:19 +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 script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
imagedata.rs Script: implement ReadableStreamBYOBReader::Read (#35040) 2025-01-27 15:52:54 +00:00
inputevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
intersectionobserver.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
intersectionobserverentry.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
keyboardevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
location.rs Add support for Upgrade request to a potentially trustworthy URL. (#34986) 2025-02-05 12:49:56 +00:00
macros.rs deps: Upgrade to webrender@0.66 (#35325) 2025-02-07 11:57:26 +00:00
mediadeviceinfo.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
mediadevices.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
mediaelementaudiosourcenode.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
mediaerror.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
mediafragmentparser.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
medialist.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
mediametadata.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
mediaquerylist.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
mediaquerylistevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
mediasession.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
mediastream.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +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 Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
mediastreamtrackaudiosourcenode.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
messagechannel.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
messageevent.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
messageport.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
mimetype.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
mimetypearray.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
mod.rs suppress build warnings when disabling webgpu and webxr (#35379) 2025-02-08 08:16:21 +00:00
mouseevent.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
mutationobserver.rs script: delay Mutation initialization (#35291) 2025-02-05 06:28:10 +00:00
mutationrecord.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
namednodemap.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
navigationpreloadmanager.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
navigator.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
navigatorinfo.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
node.rs Implement ServoLayoutNode::traversal_parent (#35338) 2025-02-07 01:05:27 +00:00
nodeiterator.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
nodelist.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
offlineaudiocompletionevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
offlineaudiocontext.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
offscreencanvas.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
offscreencanvasrenderingcontext2d.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
oscillatornode.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
pagetransitionevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
paintrenderingcontext2d.rs Remove get_ipc_renderer from CanvasRenderingContext2D (#35285) 2025-02-04 18:49:51 +00:00
paintsize.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
paintworkletglobalscope.rs Make generated proxy handlers and DOM object hooks generic (#35292) 2025-02-05 12:51:34 +00:00
pannernode.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
performance.rs deps: Upgrade to webrender@0.66 (#35325) 2025-02-07 11:57:26 +00:00
performanceentry.rs deps: Upgrade to webrender@0.66 (#35325) 2025-02-07 11:57:26 +00:00
performancemark.rs
performancemeasure.rs
performancenavigation.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
performancenavigationtiming.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
performanceobserver.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
performanceobserverentrylist.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
performancepainttiming.rs deps: Upgrade to webrender@0.66 (#35325) 2025-02-07 11:57:26 +00:00
performanceresourcetiming.rs deps: Upgrade to webrender@0.66 (#35325) 2025-02-07 11:57:26 +00:00
permissions.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
permissionstatus.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
plugin.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
pluginarray.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +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 Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
promisenativehandler.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
promiserejectionevent.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
radionodelist.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
range.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
raredata.rs Implement ServoLayoutNode::traversal_parent (#35338) 2025-02-07 01:05:27 +00:00
readablebytestreamcontroller.rs Script: implement ReadableStreamBYOBRequest (#35074) 2025-02-04 11:58:46 +00:00
readablestream.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
readablestreambyobreader.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
readablestreambyobrequest.rs Script: implement ReadableStreamBYOBRequest (#35074) 2025-02-04 11:58:46 +00:00
readablestreamdefaultcontroller.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
readablestreamdefaultreader.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
readablestreamgenericreader.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +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 Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
rtcdatachannel.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
rtcdatachannelevent.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
rtcerror.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +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 Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
rtcpeerconnectioniceevent.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
rtcrtpsender.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
rtcrtptransceiver.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +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 Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
securitypolicyviolationevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
selection.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
serviceworker.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
serviceworkercontainer.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
serviceworkerglobalscope.rs Make generated proxy handlers and DOM object hooks generic (#35292) 2025-02-05 12:51:34 +00:00
serviceworkerregistration.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
shadowroot.rs Inform the devtools about shadow roots on a node (#35294) 2025-02-05 13:16:36 +00:00
staticrange.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
stereopannernode.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
storage.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
storageevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
stylepropertymapreadonly.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
stylesheet.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
stylesheetlist.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
submitevent.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
subtlecrypto.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
svgelement.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +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
testbinding.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
testbindingiterable.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
testbindingmaplike.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +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
testbindingsetlike.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
testns.rs script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
testrunner.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
testworklet.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +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 script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
textmetrics.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
texttrack.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
texttrackcue.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
texttrackcuelist.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
texttracklist.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
timeranges.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
touch.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
touchevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
touchlist.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +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 script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
uievent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
underlyingsourcecontainer.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +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 script: Limit public exports. (#34915) 2025-01-10 08:19:19 +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 script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
videotracklist.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
virtualmethods.rs Implement shadow dom slots (#35013) 2025-01-19 14:05:05 +00:00
visibilitystateentry.rs deps: Upgrade to webrender@0.66 (#35325) 2025-02-07 11:57:26 +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 suppress build warnings when disabling webgpu and webxr (#35379) 2025-02-08 08:16:21 +00:00
webglactiveinfo.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
webglbuffer.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
webglcontextevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
webglframebuffer.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
webglobject.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
webglprogram.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
webglquery.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
webglrenderbuffer.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
webglrenderingcontext.rs suppress build warnings when disabling webgpu and webxr (#35379) 2025-02-08 08:16:21 +00:00
webglsampler.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
webglshader.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
webglshaderprecisionformat.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
webglsync.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
webgltexture.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
webgltransformfeedback.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
webgluniformlocation.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
webglvertexarrayobject.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
webglvertexarrayobjectoes.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
websocket.rs Add support for Upgrade request to a potentially trustworthy URL. (#34986) 2025-02-05 12:49:56 +00:00
wheelevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
window.rs dom: Always replace unpaired surrogates when handling page text (#35381) 2025-02-09 08:56:05 +00:00
windowproxy.rs Add support for Upgrade request to a potentially trustworthy URL. (#34986) 2025-02-05 12:49:56 +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 make report_pending_exception safe and adjust callers (#35351) 2025-02-08 22:22:44 +00:00
workerlocation.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
workernavigator.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
worklet.rs Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
workletglobalscope.rs servoshell: Move headless setting to ServoShellPreferences (#35377) 2025-02-07 20:04:31 +00:00
xmldocument.rs Add support for Upgrade request to a potentially trustworthy URL. (#34986) 2025-02-05 12:49:56 +00:00
xmlhttprequest.rs Add support for Upgrade request to a potentially trustworthy URL. (#34986) 2025-02-05 12:49:56 +00:00
xmlhttprequesteventtarget.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xmlhttprequestupload.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +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