aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/tests
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2021-05-27 19:45:17 -0400
committerGitHub <noreply@github.com>2021-05-27 19:45:17 -0400
commit46de44340f6ac924b8ea1646f522b3f7e278cbaf (patch)
tree22acb7f358419f27260746998e203763ae669c3f /components/net/tests
parentde2266874846f2dc299335d20bf8cfcb3707bf67 (diff)
downloadservo-46de44340f6ac924b8ea1646f522b3f7e278cbaf.tar.gz
servo-46de44340f6ac924b8ea1646f522b3f7e278cbaf.zip
Disable more unit tests for windows.
Diffstat (limited to 'components/net/tests')
-rw-r--r--components/net/tests/fetch.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/net/tests/fetch.rs b/components/net/tests/fetch.rs
index 821e81a00c2..4f6cf6e272e 100644
--- a/components/net/tests/fetch.rs
+++ b/components/net/tests/fetch.rs
@@ -4,6 +4,7 @@
use crate::fetch_with_context;
use crate::fetch_with_cors_cache;
+#[cfg(not(target_os = "windows"))]
use crate::http_loader::{expect_devtools_http_request, expect_devtools_http_response};
use crate::{
create_embedder_proxy, fetch, make_server, make_ssl_server, new_fetch_context,
@@ -1344,6 +1345,7 @@ fn test_opaque_redirect_filtered_fetch_async_returns_complete_response() {
}
#[test]
+#[cfg(not(target_os = "windows"))]
fn test_fetch_with_devtools() {
static MESSAGE: &'static [u8] = b"Yay!";
let handler = move |_: HyperRequest<Body>, response: &mut HyperResponse<Body>| {