mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
script: Fix merge fallout.
This commit is contained in:
parent
2aa5174246
commit
024c4df912
4 changed files with 14 additions and 11 deletions
|
@ -7,6 +7,7 @@ use net::hsts::HSTSEntry;
|
|||
use net_traits::IncludeSubdomains;
|
||||
use net::hsts::{secure_url, preload_hsts_domains};
|
||||
use net::resource_task::ResourceManager;
|
||||
use ipc_channel::ipc;
|
||||
use std::sync::mpsc::channel;
|
||||
use url::Url;
|
||||
use time;
|
||||
|
@ -17,7 +18,7 @@ fn test_add_hsts_entry_to_resource_manager_adds_an_hsts_entry() {
|
|||
entries: Vec::new()
|
||||
};
|
||||
|
||||
let (tx, _) = channel();
|
||||
let (tx, _) = ipc::channel().unwrap();
|
||||
let mut manager = ResourceManager::new(None, tx, list, None);
|
||||
|
||||
let entry = HSTSEntry::new(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue