mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
Compare commits
7 Commits
iframe-loa
...
jdm-patch-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36465f1669 | ||
|
|
85f2d1ec6d | ||
|
|
ee0de010ae | ||
|
|
65d9eb6fa6 | ||
|
|
39304df989 | ||
|
|
1ef7cf1327 | ||
|
|
5daf0d08fb |
@@ -1195,6 +1195,13 @@ fn http_network_fetch(
|
||||
.as_ref()
|
||||
.map(|_| uuid::Uuid::new_v4().to_simple().to_string());
|
||||
|
||||
//if log_enabled!(log::Level::Info) {
|
||||
info!("request for {} ({:?})", url, request.method);
|
||||
/*for header in request.headers.iter() {
|
||||
info!(" - {:?}", header);
|
||||
}*/
|
||||
//}
|
||||
|
||||
// XHR uses the default destination; other kinds of fetches (which haven't been implemented yet)
|
||||
// do not. Once we support other kinds of fetches we'll need to be more fine grained here
|
||||
// since things like image fetches are classified differently by devtools
|
||||
@@ -1219,12 +1226,12 @@ fn http_network_fetch(
|
||||
Err(error) => return Response::network_error(error),
|
||||
};
|
||||
|
||||
if log_enabled!(log::Level::Info) {
|
||||
//if log_enabled!(log::Level::Info) {
|
||||
info!("response for {}", url);
|
||||
for header in res.headers().iter() {
|
||||
/*for header in res.headers().iter() {
|
||||
info!(" - {:?}", header);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
//}
|
||||
|
||||
let timing = &*context.timing.lock().unwrap();
|
||||
let mut response = Response::new(url.clone(), timing.clone());
|
||||
|
||||
@@ -342,7 +342,7 @@ def linux_wpt():
|
||||
def linux_run_task(name):
|
||||
return linux_task(name).with_dockerfile(dockerfile_path("run"))
|
||||
wpt_chunks("Linux x64", linux_run_task, release_build_task, repo_dir="/repo",
|
||||
total_chunks=2, processes=24)
|
||||
total_chunks=10, processes=8)
|
||||
|
||||
|
||||
def macos_wpt():
|
||||
@@ -384,6 +384,7 @@ def wpt_chunks(platform, make_chunk_task, build_task, total_chunks, processes,
|
||||
TOTAL_CHUNKS=str(total_chunks),
|
||||
THIS_CHUNK=str(this_chunk),
|
||||
PROCESSES=str(processes),
|
||||
RUST_LOG="net::http_loader,hyper"
|
||||
)
|
||||
)
|
||||
if this_chunk == chunks[-1]:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[generic.http.html]
|
||||
expected: TIMEOUT
|
||||
sexpected: TIMEOUT
|
||||
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via a-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
sexpected: NOTRUN
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
disabled: https://github.com/servo/servo/issues/13503
|
||||
sdisabled: https://github.com/servo/servo/issues/13503
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[generic.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
sexpected: TIMEOUT
|
||||
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
sexpected: NOTRUN
|
||||
|
||||
|
||||
Reference in New Issue
Block a user