web, tests: Ignore timeout parameter
This commit is contained in:
parent
c0ebafdb95
commit
486c0ca149
|
@ -9,6 +9,7 @@ use ruffle_core::loader::Error;
|
|||
use ruffle_core::socket::{SocketAction, SocketHandle};
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::sync::mpsc::{Receiver, Sender};
|
||||
use std::time::Duration;
|
||||
use url::{ParseError, Url};
|
||||
|
||||
/// A `NavigatorBackend` used by tests that supports logging fetch requests.
|
||||
|
@ -101,6 +102,7 @@ impl NavigatorBackend for TestNavigatorBackend {
|
|||
&mut self,
|
||||
host: String,
|
||||
port: u16,
|
||||
timeout: Option<Duration>,
|
||||
handle: SocketHandle,
|
||||
_receiver: Receiver<Vec<u8>>,
|
||||
sender: Sender<SocketAction>,
|
||||
|
|
|
@ -10,6 +10,7 @@ use ruffle_core::loader::Error;
|
|||
use ruffle_core::socket::{SocketAction, SocketHandle};
|
||||
use std::sync::mpsc::{Receiver, Sender};
|
||||
use std::sync::Arc;
|
||||
use std::time::Duration;
|
||||
use tracing_subscriber::layer::Layered;
|
||||
use tracing_subscriber::Registry;
|
||||
use tracing_wasm::WASMLayer;
|
||||
|
@ -362,6 +363,7 @@ impl NavigatorBackend for WebNavigatorBackend {
|
|||
&mut self,
|
||||
_host: String,
|
||||
_port: u16,
|
||||
_timeout: Option<Duration>,
|
||||
handle: SocketHandle,
|
||||
_receiver: Receiver<Vec<u8>>,
|
||||
sender: Sender<SocketAction>,
|
||||
|
|
Loading…
Reference in New Issue