···119119 /// Mark a new document as active
120120 ActivateDocument,
121121 /// Set the document state for a pipeline (used by screenshot / reftests)
122122-@@ -724,6 +773,44 @@
123123- ForwardKeyboardScroll(PipelineId, KeyboardScroll),
124124- /// Notify the Constellation of the screenshot readiness of a given pipeline.
122122+@@ -726,6 +775,44 @@
125123 RespondToScreenshotReadinessRequest(ScreenshotReadinessResponse),
124124+ /// Request the constellation to force garbage collection in all `ScriptThread`'s.
125125+ TriggerGarbageCollection,
126126+ /// Notification from an embedded webview to be forwarded to its parent iframe element.
127127+ /// The Constellation will forward this to the parent pipeline's script thread.
128128+ EmbeddedWebViewNotification(EmbeddedWebViewEventType),
+3-3
patches/components/shared/script/lib.rs.patch
···3535 }
36363737 /// When a pipeline is closed, should its browsing context be discarded too?
3838-@@ -308,6 +316,19 @@
3939- UpdatePinchZoomInfos(PipelineId, PinchZoomInfos),
4040- /// Activate or deactivate accessibility features.
3838+@@ -310,6 +318,19 @@
4139 SetAccessibilityActive(bool),
4040+ /// Force a garbage collection in this script thread.
4141+ TriggerGarbageCollection,
4242+ /// Dispatch an event on an embedded webview's iframe element.
4343+ /// This is sent from the constellation when it receives an `EmbeddedWebViewNotification`
4444+ /// from an embedded webview's script thread.