···163163 }
164164 }
165165166166-@@ -206,7 +268,10 @@
166166+@@ -211,7 +273,10 @@
167167 /// The navigator.servo api is exposed to about: pages except about:blank, as
168168 /// well as any URLs provided by embedders that register new protocol handlers.
169169 #[expect(unsafe_code)]
···99 use servo_constellation_traits::EmbedderToConstellationMessage;
1010 use tokio::sync::mpsc::UnboundedSender as TokioSender;
1111 use tokio::sync::oneshot::Sender;
1212-@@ -962,6 +962,14 @@
1212+@@ -968,6 +968,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) {}
1515+ fn request_create_new(&self, _parent_webview: WebView, _request: CreateNewWebViewRequest) {}
1616+ /// This method is called when an iframe with the "embed" attribute requests to create
1717+ /// an embedded webview. Unlike `request_create_new`, embedded webviews should NOT
1818+ /// create new tabs in the UI - they are displayed within the iframe element itself.
···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-@@ -1015,6 +1023,25 @@
2727+@@ -1026,6 +1034,25 @@
2828 _tree_update: accesskit::TreeUpdate,
2929 ) {
3030 }