mirror of
https://github.com/servo/servo.git
synced 2025-07-24 07:40:27 +01:00
Add comment about incorrect tests for file url range requests. Fmt and manifest update
This commit is contained in:
parent
4561a97309
commit
b23dd0587b
4 changed files with 19 additions and 13 deletions
|
@ -610,7 +610,8 @@ fn scheme_fetch(
|
||||||
Err(_) => None,
|
Err(_) => None,
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut response = Response::new(url, ResourceFetchTiming::new(request.timing_type()));
|
let mut response =
|
||||||
|
Response::new(url, ResourceFetchTiming::new(request.timing_type()));
|
||||||
|
|
||||||
let range_header = request.headers.typed_get::<Range>();
|
let range_header = request.headers.typed_get::<Range>();
|
||||||
let is_range_request = range_header.is_some();
|
let is_range_request = range_header.is_some();
|
||||||
|
|
|
@ -36,7 +36,8 @@ use net::test::HttpState;
|
||||||
use net_traits::request::{Destination, Origin, RedirectMode, Referrer, Request, RequestMode};
|
use net_traits::request::{Destination, Origin, RedirectMode, Referrer, Request, RequestMode};
|
||||||
use net_traits::response::{CacheState, Response, ResponseBody, ResponseType};
|
use net_traits::response::{CacheState, Response, ResponseBody, ResponseType};
|
||||||
use net_traits::{
|
use net_traits::{
|
||||||
FetchTaskTarget, IncludeSubdomains, NetworkError, ReferrerPolicy, ResourceFetchTiming, ResourceTimingType,
|
FetchTaskTarget, IncludeSubdomains, NetworkError, ReferrerPolicy, ResourceFetchTiming,
|
||||||
|
ResourceTimingType,
|
||||||
};
|
};
|
||||||
use servo_url::{ImmutableOrigin, ServoUrl};
|
use servo_url::{ImmutableOrigin, ServoUrl};
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
|
|
|
@ -14269,13 +14269,13 @@
|
||||||
"/_mozilla/mozilla/range_deleteContents.html",
|
"/_mozilla/mozilla/range_deleteContents.html",
|
||||||
{}
|
{}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"mozilla/range_request_blob_url.html": [
|
"mozilla/range_request_blob_url.html": [
|
||||||
[
|
[
|
||||||
"/_mozilla/mozilla/range_request_blob_url.html",
|
"/_mozilla/mozilla/range_request_blob_url.html",
|
||||||
{}
|
{}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"mozilla/range_request_file_url.html": [
|
"mozilla/range_request_file_url.html": [
|
||||||
[
|
[
|
||||||
"/_mozilla/mozilla/range_request_file_url.html",
|
"/_mozilla/mozilla/range_request_file_url.html",
|
||||||
|
@ -27070,7 +27070,7 @@
|
||||||
"testharness"
|
"testharness"
|
||||||
],
|
],
|
||||||
"mozilla/interfaces.html": [
|
"mozilla/interfaces.html": [
|
||||||
"ad17e930ddb5bc2daecb86216efe8885ae399173",
|
"ad17e930ddb5bc2daecb86216efe8885ae399173",
|
||||||
"testharness"
|
"testharness"
|
||||||
],
|
],
|
||||||
"mozilla/interfaces.js": [
|
"mozilla/interfaces.js": [
|
||||||
|
@ -27078,7 +27078,7 @@
|
||||||
"support"
|
"support"
|
||||||
],
|
],
|
||||||
"mozilla/interfaces.worker.js": [
|
"mozilla/interfaces.worker.js": [
|
||||||
"a5f2e00f234ea66b80e8a9bd4dbbc5433926191f",
|
"a5f2e00f234ea66b80e8a9bd4dbbc5433926191f",
|
||||||
"testharness"
|
"testharness"
|
||||||
],
|
],
|
||||||
"mozilla/invalid-this.html": [
|
"mozilla/invalid-this.html": [
|
||||||
|
@ -27244,13 +27244,13 @@
|
||||||
"mozilla/range_deleteContents.html": [
|
"mozilla/range_deleteContents.html": [
|
||||||
"8de03455bcb0d18258f76af20f58c14868fe1c21",
|
"8de03455bcb0d18258f76af20f58c14868fe1c21",
|
||||||
"testharness"
|
"testharness"
|
||||||
],
|
],
|
||||||
"mozilla/range_request_blob_url.html": [
|
"mozilla/range_request_blob_url.html": [
|
||||||
"075397620e989dafc814c0ed2bca46bd476bccf6",
|
"075397620e989dafc814c0ed2bca46bd476bccf6",
|
||||||
"testharness"
|
"testharness"
|
||||||
],
|
],
|
||||||
"mozilla/range_request_file_url.html": [
|
"mozilla/range_request_file_url.html": [
|
||||||
"65fe13fe93d97cebc2846ff7d7deab3eb84c1787",
|
"4fd4ddc8b1a9959e90b243795267c220d6a05f5e",
|
||||||
"testharness"
|
"testharness"
|
||||||
],
|
],
|
||||||
"mozilla/referrer-policy/OWNERS": [
|
"mozilla/referrer-policy/OWNERS": [
|
||||||
|
@ -32914,11 +32914,11 @@
|
||||||
"testharness"
|
"testharness"
|
||||||
],
|
],
|
||||||
"mozilla/window_performance.html": [
|
"mozilla/window_performance.html": [
|
||||||
"690870b7080e179481ca0255f7c30337e8b6636a",
|
"690870b7080e179481ca0255f7c30337e8b6636a",
|
||||||
"testharness"
|
"testharness"
|
||||||
],
|
],
|
||||||
"mozilla/window_performance_topLevelDomComplete.html": [
|
"mozilla/window_performance_topLevelDomComplete.html": [
|
||||||
"50bbc2917b5ac900b5061a0b2c30b6c1fef1067e",
|
"50bbc2917b5ac900b5061a0b2c30b6c1fef1067e",
|
||||||
"testharness"
|
"testharness"
|
||||||
],
|
],
|
||||||
"mozilla/window_requestAnimationFrame.html": [
|
"mozilla/window_requestAnimationFrame.html": [
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
// FIXME(ferjm) https://github.com/servo/servo/issues/22269
|
||||||
|
// This is not using file:// urls.
|
||||||
|
|
||||||
[{
|
[{
|
||||||
file: "resources/range_small.txt",
|
file: "resources/range_small.txt",
|
||||||
range: "bytes=0-",
|
range: "bytes=0-",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue