···498498 /// Check the origin of a message against that of the pipeline it came from.
499499 /// Note: this is still limited as a security check,
500500 /// see <https://github.com/servo/servo/issues/11722>
501501-@@ -3204,6 +3519,13 @@
501501+@@ -3246,6 +3561,13 @@
502502 /// <https://html.spec.whatwg.org/multipage/#destroy-a-top-level-traversable>
503503 fn handle_close_top_level_browsing_context(&mut self, webview_id: WebViewId) {
504504 debug!("{webview_id}: Closing");
···512512 let browsing_context_id = BrowsingContextId::from(webview_id);
513513 // Step 5. Remove traversable from the user agent's top-level traversable set.
514514 let browsing_context =
515515-@@ -3480,8 +3802,27 @@
515515+@@ -3522,8 +3844,27 @@
516516 opener_webview_id,
517517 opener_pipeline_id,
518518 response_sender,
···540540 let Some((webview_id_sender, webview_id_receiver)) = generic_channel::channel() else {
541541 warn!("Failed to create channel");
542542 let _ = response_sender.send(None);
543543-@@ -3580,6 +3921,361 @@
543543+@@ -3622,6 +3963,361 @@
544544 });
545545 }
546546···902902 #[servo_tracing::instrument(skip_all)]
903903 fn handle_refresh_cursor(&self, pipeline_id: PipelineId) {
904904 let Some(pipeline) = self.pipelines.get(&pipeline_id) else {
905905-@@ -4705,7 +5401,7 @@
905905+@@ -4747,7 +5443,7 @@
906906 }
907907908908 #[servo_tracing::instrument(skip_all)]
···911911 // Send a flat projection of the history to embedder.
912912 // The final vector is a concatenation of the URLs of the past
913913 // entries, the current entry and the future entries.
914914-@@ -4808,9 +5504,23 @@
914914+@@ -4850,9 +5546,23 @@
915915 );
916916 self.embedder_proxy.send(EmbedderMsg::HistoryChanged(
917917 webview_id,
···99 use constellation_traits::EmbedderToConstellationMessage;
1010 #[cfg(feature = "gamepad")]
1111 use embedder_traits::GamepadHapticEffectType;
1212-@@ -925,6 +925,14 @@
1212+@@ -930,6 +930,14 @@
1313 ///
1414 /// [`window.open`]: https://developer.mozilla.org/en-US/docs/Web/API/Window/open
1515 fn request_create_new(&self, _parent_webview: WebView, _: CreateNewWebViewRequest) {}
···2424 /// Content in a [`WebView`] is requesting permission to access a feature requiring
2525 /// permission from the user. The embedder should allow or deny the request, either by
2626 /// reading a cached value or querying the user for permission via the user interface.
2727-@@ -999,6 +1007,25 @@
2727+@@ -1004,6 +1012,25 @@
2828 _tree_update: accesskit::TreeUpdate,
2929 ) {
3030 }