servo-net 0.7.0 keeps hyper's 16 KiB HTTP/2 header list limit; YouTube sends
~19 KiB, so the stream was reset and Servo showed SendRequest. vendor/servo-net
raises it to 256 KiB (D-012).
Escape went to the page only in full screen (inverted check): keys::page_gets_key.
tests/smoke/basics.txt: tabs, navigation, address bar, find, zoom, full screen,
_blank, pop-up, new window. Selftest expect/locate, pagetype {escape}.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
42 lines
1.5 KiB
Rust
42 lines
1.5 KiB
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
use std::path::PathBuf;
|
|
|
|
use cookie::Cookie;
|
|
use embedder_traits::{
|
|
AuthenticationResponse, EmbedderControlId, FilePickerRequest, WebResourceRequest,
|
|
WebResourceResponseMsg,
|
|
};
|
|
use net_traits::CookieOperationId;
|
|
use servo_base::id::WebViewId;
|
|
use servo_url::ServoUrl;
|
|
use tokio::sync::mpsc::UnboundedSender as TokioSender;
|
|
use tokio::sync::oneshot::Sender as TokioOneshotSender;
|
|
|
|
/// Messages sent from the network threads to the embedder.
|
|
pub enum NetToEmbedderMsg {
|
|
/// Open file dialog to select files. Set boolean flag to true allows to select multiple files.
|
|
SelectFiles(
|
|
EmbedderControlId,
|
|
FilePickerRequest,
|
|
TokioOneshotSender<Option<Vec<PathBuf>>>,
|
|
),
|
|
WebResourceRequested(
|
|
Option<WebViewId>,
|
|
WebResourceRequest,
|
|
TokioSender<WebResourceResponseMsg>,
|
|
),
|
|
/// Request authentication for a load or navigation from the embedder.
|
|
RequestAuthentication(
|
|
WebViewId,
|
|
ServoUrl,
|
|
bool, /* for proxy */
|
|
TokioOneshotSender<Option<AuthenticationResponse>>,
|
|
),
|
|
/// Response to an asynchronous request from SiteDataManager with cookies result.
|
|
EmbedderCookieOperationResponseWithCookies(CookieOperationId, Vec<Cookie<'static>>),
|
|
/// Response to an asynchronous request from SiteDataManager.
|
|
EmbedderCookieOperationResponse(CookieOperationId),
|
|
}
|