mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Implement the Fetch method
This commit is contained in:
parent
a03a5e814a
commit
3216009731
213 changed files with 1208 additions and 1719 deletions
|
@ -229,6 +229,10 @@ impl Headers {
|
|||
*self.header_list.borrow_mut() = HyperHeaders::new();
|
||||
}
|
||||
|
||||
pub fn set_headers(&self, hyper_headers: HyperHeaders) {
|
||||
*self.header_list.borrow_mut() = hyper_headers;
|
||||
}
|
||||
|
||||
// https://fetch.spec.whatwg.org/#concept-header-extract-mime-type
|
||||
pub fn extract_mime_type(&self) -> Vec<u8> {
|
||||
self.header_list.borrow().get_raw("content-type").map_or(vec![], |v| v[0].clone())
|
||||
|
|
|
@ -445,6 +445,10 @@ impl Request {
|
|||
r_clone.Headers().set_guard(headers_guard);
|
||||
r_clone
|
||||
}
|
||||
|
||||
pub fn get_request(&self) -> NetTraitsRequest {
|
||||
self.request.borrow().clone()
|
||||
}
|
||||
}
|
||||
|
||||
fn net_request_from_global(global: GlobalRef,
|
||||
|
|
|
@ -18,7 +18,9 @@ use dom::headers::{Headers, Guard};
|
|||
use dom::headers::{is_vchar, is_obs_text};
|
||||
use dom::promise::Promise;
|
||||
use dom::xmlhttprequest::Extractable;
|
||||
use hyper::header::Headers as HyperHeaders;
|
||||
use hyper::status::StatusCode;
|
||||
use hyper_serde::Serde;
|
||||
use net_traits::response::{ResponseBody as NetTraitsResponseBody};
|
||||
use std::mem;
|
||||
use std::rc::Rc;
|
||||
|
@ -344,3 +346,24 @@ impl ResponseMethods for Response {
|
|||
fn serialize_without_fragment(url: &Url) -> &str {
|
||||
&url[..Position::AfterQuery]
|
||||
}
|
||||
|
||||
impl Response {
|
||||
pub fn set_type(&self, new_response_type: DOMResponseType) {
|
||||
*self.response_type.borrow_mut() = new_response_type;
|
||||
}
|
||||
|
||||
pub fn set_headers(&self, option_hyper_headers: Option<Serde<HyperHeaders>>) {
|
||||
self.Headers().set_headers(match option_hyper_headers {
|
||||
Some(hyper_headers) => hyper_headers.into_inner(),
|
||||
None => HyperHeaders::new(),
|
||||
});
|
||||
}
|
||||
|
||||
pub fn set_raw_status(&self, status: Option<(u16, Vec<u8>)>) {
|
||||
*self.raw_status.borrow_mut() = status;
|
||||
}
|
||||
|
||||
pub fn set_final_url(&self, final_url: Url) {
|
||||
*self.url.borrow_mut() = Some(final_url);
|
||||
}
|
||||
}
|
||||
|
|
11
components/script/dom/webidls/Fetch.webidl
Normal file
11
components/script/dom/webidls/Fetch.webidl
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://fetch.spec.whatwg.org/#fetch-method
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
|
||||
partial interface WindowOrWorkerGlobalScope {
|
||||
[NewObject] Promise<Response> fetch(RequestInfo input, optional RequestInit init);
|
||||
};
|
|
@ -0,0 +1,30 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#windoworworkerglobalscope
|
||||
|
||||
// typedef (DOMString or Function) TimerHandler;
|
||||
|
||||
[NoInterfaceObject, Exposed=(Window,Worker)]
|
||||
interface WindowOrWorkerGlobalScope {
|
||||
// [Replaceable] readonly attribute USVString origin;
|
||||
|
||||
// base64 utility methods
|
||||
// DOMString btoa(DOMString data);
|
||||
// DOMString atob(DOMString data);
|
||||
|
||||
// timers
|
||||
// long setTimeout(TimerHandler handler, optional long timeout = 0, any... arguments);
|
||||
// void clearTimeout(optional long handle = 0);
|
||||
// long setInterval(TimerHandler handler, optional long timeout = 0, any... arguments);
|
||||
// void clearInterval(optional long handle = 0);
|
||||
|
||||
// ImageBitmap
|
||||
// Promise<ImageBitmap> createImageBitmap(ImageBitmapSource image, optional ImageBitmapOptions options);
|
||||
// Promise<ImageBitmap> createImageBitmap(
|
||||
// ImageBitmapSource image, long sx, long sy, long sw, long sh, optional ImageBitmapOptions options);
|
||||
};
|
||||
|
||||
Window implements WindowOrWorkerGlobalScope;
|
||||
WorkerGlobalScope implements WindowOrWorkerGlobalScope;
|
|
@ -12,8 +12,10 @@ use dom::bindings::codegen::Bindings::EventHandlerBinding::OnBeforeUnloadEventHa
|
|||
use dom::bindings::codegen::Bindings::EventHandlerBinding::OnErrorEventHandlerNonNull;
|
||||
use dom::bindings::codegen::Bindings::FunctionBinding::Function;
|
||||
use dom::bindings::codegen::Bindings::NodeBinding::NodeMethods;
|
||||
use dom::bindings::codegen::Bindings::RequestBinding::RequestInit;
|
||||
use dom::bindings::codegen::Bindings::WindowBinding::{self, FrameRequestCallback, WindowMethods};
|
||||
use dom::bindings::codegen::Bindings::WindowBinding::{ScrollBehavior, ScrollToOptions};
|
||||
use dom::bindings::codegen::UnionTypes::RequestOrUSVString;
|
||||
use dom::bindings::error::{Error, ErrorInfo, ErrorResult, Fallible, report_pending_exception};
|
||||
use dom::bindings::global::{GlobalRef, global_root_from_object};
|
||||
use dom::bindings::inheritance::Castable;
|
||||
|
@ -40,9 +42,11 @@ use dom::messageevent::MessageEvent;
|
|||
use dom::navigator::Navigator;
|
||||
use dom::node::{Node, from_untrusted_node_address, window_from_node};
|
||||
use dom::performance::Performance;
|
||||
use dom::promise::Promise;
|
||||
use dom::screen::Screen;
|
||||
use dom::storage::Storage;
|
||||
use euclid::{Point2D, Rect, Size2D};
|
||||
use fetch;
|
||||
use gfx_traits::LayerId;
|
||||
use ipc_channel::ipc::{self, IpcSender};
|
||||
use js::jsapi::{Evaluate2, HandleObject, HandleValue, JSAutoCompartment, JSContext};
|
||||
|
@ -902,6 +906,12 @@ impl WindowMethods for Window {
|
|||
Err(e) => Err(Error::Type(format!("Couldn't open URL: {}", e))),
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(unrooted_must_root)]
|
||||
// https://fetch.spec.whatwg.org/#fetch-method
|
||||
fn Fetch(&self, input: RequestOrUSVString, init: &RequestInit) -> Rc<Promise> {
|
||||
fetch::Fetch(self.global().r(), input, init)
|
||||
}
|
||||
}
|
||||
|
||||
pub trait ScriptHelpers {
|
||||
|
|
|
@ -5,8 +5,10 @@
|
|||
use devtools_traits::{DevtoolScriptControlMsg, ScriptToDevtoolsControlMsg, WorkerId};
|
||||
use dom::bindings::codegen::Bindings::EventHandlerBinding::OnErrorEventHandlerNonNull;
|
||||
use dom::bindings::codegen::Bindings::FunctionBinding::Function;
|
||||
use dom::bindings::codegen::Bindings::RequestBinding::RequestInit;
|
||||
use dom::bindings::codegen::Bindings::WorkerGlobalScopeBinding::WorkerGlobalScopeMethods;
|
||||
use dom::bindings::error::{Error, ErrorResult, Fallible, report_pending_exception, ErrorInfo};
|
||||
use dom::bindings::codegen::UnionTypes::RequestOrUSVString;
|
||||
use dom::bindings::error::{Error, ErrorInfo, ErrorResult, Fallible, report_pending_exception};
|
||||
use dom::bindings::global::{GlobalRef, GlobalRoot};
|
||||
use dom::bindings::inheritance::Castable;
|
||||
use dom::bindings::js::{JS, MutNullableHeap, Root};
|
||||
|
@ -17,10 +19,12 @@ use dom::console::TimerSet;
|
|||
use dom::crypto::Crypto;
|
||||
use dom::dedicatedworkerglobalscope::DedicatedWorkerGlobalScope;
|
||||
use dom::eventtarget::EventTarget;
|
||||
use dom::promise::Promise;
|
||||
use dom::serviceworkerglobalscope::ServiceWorkerGlobalScope;
|
||||
use dom::window::{base64_atob, base64_btoa};
|
||||
use dom::workerlocation::WorkerLocation;
|
||||
use dom::workernavigator::WorkerNavigator;
|
||||
use fetch;
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
use js::jsapi::{HandleValue, JSAutoCompartment, JSContext, JSRuntime};
|
||||
use js::jsval::UndefinedValue;
|
||||
|
@ -393,6 +397,12 @@ impl WorkerGlobalScopeMethods for WorkerGlobalScope {
|
|||
fn ClearInterval(&self, handle: i32) {
|
||||
self.ClearTimeout(handle);
|
||||
}
|
||||
|
||||
#[allow(unrooted_must_root)]
|
||||
// https://fetch.spec.whatwg.org/#fetch-method
|
||||
fn Fetch(&self, input: RequestOrUSVString, init: &RequestInit) -> Rc<Promise> {
|
||||
fetch::Fetch(self.global().r(), input, init)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
172
components/script/fetch.rs
Normal file
172
components/script/fetch.rs
Normal file
|
@ -0,0 +1,172 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use dom::bindings::codegen::Bindings::RequestBinding::RequestInit;
|
||||
use dom::bindings::codegen::Bindings::ResponseBinding::ResponseBinding::ResponseMethods;
|
||||
use dom::bindings::codegen::Bindings::ResponseBinding::ResponseType as DOMResponseType;
|
||||
use dom::bindings::codegen::UnionTypes::RequestOrUSVString;
|
||||
use dom::bindings::error::Error;
|
||||
use dom::bindings::global::GlobalRef;
|
||||
use dom::bindings::js::Root;
|
||||
use dom::bindings::refcounted::{Trusted, TrustedPromise};
|
||||
use dom::bindings::reflector::Reflectable;
|
||||
use dom::headers::Guard;
|
||||
use dom::promise::Promise;
|
||||
use dom::request::Request;
|
||||
use dom::response::Response;
|
||||
use ipc_channel::ipc;
|
||||
use ipc_channel::router::ROUTER;
|
||||
use js::jsapi::JSAutoCompartment;
|
||||
use net_traits::{FetchResponseListener, NetworkError};
|
||||
use net_traits::{FilteredMetadata, FetchMetadata, Metadata};
|
||||
use net_traits::CoreResourceMsg::Fetch as NetTraitsFetch;
|
||||
use net_traits::request::Request as NetTraitsRequest;
|
||||
use net_traits::request::RequestInit as NetTraitsRequestInit;
|
||||
use network_listener::{NetworkListener, PreInvoke};
|
||||
use std::rc::Rc;
|
||||
use std::sync::{Arc, Mutex};
|
||||
use url::Url;
|
||||
|
||||
struct FetchContext {
|
||||
fetch_promise: Option<TrustedPromise>,
|
||||
response_object: Trusted<Response>,
|
||||
}
|
||||
|
||||
fn from_referrer_to_referrer_url(request: &NetTraitsRequest) -> Option<Url> {
|
||||
let referrer = request.referrer.borrow();
|
||||
referrer.to_url().map(|url| url.clone())
|
||||
}
|
||||
|
||||
fn request_init_from_request(request: NetTraitsRequest) -> NetTraitsRequestInit {
|
||||
NetTraitsRequestInit {
|
||||
method: request.method.borrow().clone(),
|
||||
url: request.url(),
|
||||
headers: request.headers.borrow().clone(),
|
||||
unsafe_request: request.unsafe_request,
|
||||
same_origin_data: request.same_origin_data.get(),
|
||||
body: request.body.borrow().clone(),
|
||||
type_: request.type_,
|
||||
destination: request.destination,
|
||||
synchronous: request.synchronous,
|
||||
mode: request.mode,
|
||||
use_cors_preflight: request.use_cors_preflight,
|
||||
credentials_mode: request.credentials_mode,
|
||||
use_url_credentials: request.use_url_credentials,
|
||||
// TODO: NetTraitsRequestInit and NetTraitsRequest have different "origin"
|
||||
// ... NetTraitsRequestInit.origin: Url
|
||||
// ... NetTraitsRequest.origin: RefCell<Origin>
|
||||
origin: request.url(),
|
||||
referrer_url: from_referrer_to_referrer_url(&request),
|
||||
referrer_policy: request.referrer_policy.get(),
|
||||
pipeline_id: request.pipeline_id.get(),
|
||||
}
|
||||
}
|
||||
|
||||
// https://fetch.spec.whatwg.org/#fetch-method
|
||||
#[allow(unrooted_must_root)]
|
||||
pub fn Fetch(global: GlobalRef, input: RequestOrUSVString, init: &RequestInit) -> Rc<Promise> {
|
||||
let core_resource_thread = global.core_resource_thread();
|
||||
|
||||
// Step 1
|
||||
let promise = Promise::new(global);
|
||||
let response = Response::new(global);
|
||||
|
||||
// Step 2
|
||||
let request = match Request::Constructor(global, input, init) {
|
||||
Err(e) => {
|
||||
promise.reject_error(promise.global().r().get_cx(), e);
|
||||
return promise;
|
||||
},
|
||||
Ok(r) => r.get_request(),
|
||||
};
|
||||
let request_init = request_init_from_request(request);
|
||||
|
||||
// Step 3
|
||||
response.Headers().set_guard(Guard::Immutable);
|
||||
|
||||
// Step 4
|
||||
let (action_sender, action_receiver) = ipc::channel().unwrap();
|
||||
let fetch_context = Arc::new(Mutex::new(FetchContext {
|
||||
fetch_promise: Some(TrustedPromise::new(promise.clone())),
|
||||
response_object: Trusted::new(&*response),
|
||||
}));
|
||||
let listener = NetworkListener {
|
||||
context: fetch_context,
|
||||
script_chan: global.networking_task_source(),
|
||||
wrapper: None,
|
||||
};
|
||||
|
||||
ROUTER.add_route(action_receiver.to_opaque(), box move |message| {
|
||||
listener.notify_fetch(message.to().unwrap());
|
||||
});
|
||||
core_resource_thread.send(NetTraitsFetch(request_init, action_sender)).unwrap();
|
||||
|
||||
promise
|
||||
}
|
||||
|
||||
impl PreInvoke for FetchContext {}
|
||||
|
||||
impl FetchResponseListener for FetchContext {
|
||||
fn process_request_body(&mut self) {
|
||||
// TODO
|
||||
}
|
||||
|
||||
fn process_request_eof(&mut self) {
|
||||
// TODO
|
||||
}
|
||||
|
||||
#[allow(unrooted_must_root)]
|
||||
fn process_response(&mut self, fetch_metadata: Result<FetchMetadata, NetworkError>) {
|
||||
let promise = self.fetch_promise.take().expect("fetch promise is missing").root();
|
||||
|
||||
// JSAutoCompartment needs to be manually made.
|
||||
// Otherwise, Servo will crash.
|
||||
let promise_cx = promise.global().r().get_cx();
|
||||
let _ac = JSAutoCompartment::new(promise_cx, promise.reflector().get_jsobject().get());
|
||||
match fetch_metadata {
|
||||
// Step 4.1
|
||||
Err(_) => {
|
||||
promise.reject_error(
|
||||
promise.global().r().get_cx(),
|
||||
Error::Type("Network error occurred".to_string()));
|
||||
self.fetch_promise = Some(TrustedPromise::new(promise));
|
||||
return;
|
||||
},
|
||||
// Step 4.2
|
||||
Ok(metadata) => {
|
||||
match metadata {
|
||||
FetchMetadata::Unfiltered(m) =>
|
||||
fill_headers_with_metadata(self.response_object.root(), m),
|
||||
FetchMetadata::Filtered { filtered, .. } => match filtered {
|
||||
FilteredMetadata::Transparent(m) =>
|
||||
fill_headers_with_metadata(self.response_object.root(), m),
|
||||
FilteredMetadata::Opaque =>
|
||||
self.response_object.root().set_type(DOMResponseType::Opaque),
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// Step 4.3
|
||||
promise.resolve_native(
|
||||
promise_cx,
|
||||
&self.response_object.root());
|
||||
self.fetch_promise = Some(TrustedPromise::new(promise));
|
||||
}
|
||||
|
||||
fn process_response_chunk(&mut self, mut chunk: Vec<u8>) {
|
||||
// TODO when body is implemented
|
||||
// ... this will append the chunk to Response's body.
|
||||
}
|
||||
|
||||
fn process_response_eof(&mut self, response: Result<(), NetworkError>) {
|
||||
// TODO
|
||||
// ... trailerObject is not supported in Servo yet.
|
||||
}
|
||||
}
|
||||
|
||||
fn fill_headers_with_metadata(r: Root<Response>, m: Metadata) {
|
||||
r.set_headers(m.headers);
|
||||
r.set_raw_status(m.status);
|
||||
r.set_final_url(m.final_url);
|
||||
}
|
|
@ -98,6 +98,7 @@ mod devtools;
|
|||
pub mod document_loader;
|
||||
#[macro_use]
|
||||
pub mod dom;
|
||||
pub mod fetch;
|
||||
pub mod layout_wrapper;
|
||||
mod mem;
|
||||
mod network_listener;
|
||||
|
|
|
@ -19,6 +19,12 @@ skip: true
|
|||
skip: false
|
||||
[fetch]
|
||||
skip: false
|
||||
[api]
|
||||
skip: false
|
||||
[cors]
|
||||
skip: true
|
||||
[redirect]
|
||||
skip: true
|
||||
[FileAPI]
|
||||
skip: false
|
||||
[hr-time]
|
||||
|
|
|
@ -1,41 +1,14 @@
|
|||
[integrity-worker.html]
|
||||
type: testharness
|
||||
[Empty string integrity]
|
||||
expected: FAIL
|
||||
|
||||
[SHA-256 integrity]
|
||||
expected: FAIL
|
||||
|
||||
[SHA-384 integrity]
|
||||
expected: FAIL
|
||||
|
||||
[SHA-512 integrity]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid integrity]
|
||||
expected: FAIL
|
||||
|
||||
[Multiple integrities: valid stronger than invalid]
|
||||
expected: FAIL
|
||||
|
||||
[Multiple integrities: invalid stronger than valid]
|
||||
expected: FAIL
|
||||
|
||||
[Multiple integrities: invalid as strong as valid]
|
||||
expected: FAIL
|
||||
|
||||
[Multiple integrities: both are valid]
|
||||
expected: FAIL
|
||||
|
||||
[Multiple integrities: both are invalid]
|
||||
expected: FAIL
|
||||
|
||||
[CORS empty integrity]
|
||||
expected: FAIL
|
||||
|
||||
[CORS SHA-512 integrity]
|
||||
expected: FAIL
|
||||
|
||||
[CORS invalid integrity]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,41 +1,14 @@
|
|||
[integrity.html]
|
||||
type: testharness
|
||||
[Empty string integrity]
|
||||
expected: FAIL
|
||||
|
||||
[SHA-256 integrity]
|
||||
expected: FAIL
|
||||
|
||||
[SHA-384 integrity]
|
||||
expected: FAIL
|
||||
|
||||
[SHA-512 integrity]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid integrity]
|
||||
expected: FAIL
|
||||
|
||||
[Multiple integrities: valid stronger than invalid]
|
||||
expected: FAIL
|
||||
|
||||
[Multiple integrities: invalid stronger than valid]
|
||||
expected: FAIL
|
||||
|
||||
[Multiple integrities: invalid as strong as valid]
|
||||
expected: FAIL
|
||||
|
||||
[Multiple integrities: both are valid]
|
||||
expected: FAIL
|
||||
|
||||
[Multiple integrities: both are invalid]
|
||||
expected: FAIL
|
||||
|
||||
[CORS empty integrity]
|
||||
expected: FAIL
|
||||
|
||||
[CORS SHA-512 integrity]
|
||||
expected: FAIL
|
||||
|
||||
[CORS invalid integrity]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -6,9 +6,6 @@
|
|||
[Fetch http://web-platform.test:8000/fetch/api/resources/top.txt with same-origin mode]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch https://web-platform.test:8443/fetch/api/resources/top.txt with same-origin mode]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch http://www1.web-platform.test:8000/fetch/api/resources/top.txt with same-origin mode]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -18,9 +15,3 @@
|
|||
[Fetch /fetch/api/basic/../resources/redirect.py?location=http://web-platform.test:8000/fetch/api/resources/top.txt with same-origin mode]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch /fetch/api/basic/../resources/redirect.py?location=https://web-platform.test:8443/fetch/api/resources/top.txt with same-origin mode]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch /fetch/api/basic/../resources/redirect.py?location=http://www1.web-platform.test:8000/fetch/api/resources/top.txt with same-origin mode]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -6,9 +6,6 @@
|
|||
[Fetch http://web-platform.test:8000/fetch/api/resources/top.txt with same-origin mode]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch https://web-platform.test:8443/fetch/api/resources/top.txt with same-origin mode]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch http://www1.web-platform.test:8000/fetch/api/resources/top.txt with same-origin mode]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -18,9 +15,3 @@
|
|||
[Fetch /fetch/api/basic/../resources/redirect.py?location=http://web-platform.test:8000/fetch/api/resources/top.txt with same-origin mode]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch /fetch/api/basic/../resources/redirect.py?location=https://web-platform.test:8443/fetch/api/resources/top.txt with same-origin mode]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch /fetch/api/basic/../resources/redirect.py?location=http://www1.web-platform.test:8000/fetch/api/resources/top.txt with same-origin mode]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -12,9 +12,3 @@
|
|||
[origin-when-cross-origin policy on a same-origin URL after cross-origin redirection]
|
||||
expected: FAIL
|
||||
|
||||
[Referrer with credentials should be stripped]
|
||||
expected: FAIL
|
||||
|
||||
[Referrer with fragment ID should be stripped]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -12,9 +12,3 @@
|
|||
[origin-when-cross-origin policy on a same-origin URL after cross-origin redirection]
|
||||
expected: FAIL
|
||||
|
||||
[Referrer with credentials should be stripped]
|
||||
expected: FAIL
|
||||
|
||||
[Referrer with fragment ID should be stripped]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[request-head-worker.html]
|
||||
type: testharness
|
||||
[Fetch with HEAD with body]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[request-head.html]
|
||||
type: testharness
|
||||
[Fetch with HEAD with body]
|
||||
expected: FAIL
|
||||
|
|
@ -3,6 +3,3 @@
|
|||
[Fetch: fetch() respects Request referrer value]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch: fetch() respects Request referrer value 1]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
[response-url-worker.html]
|
||||
type: testharness
|
||||
[Testing response url getter with http://web-platform.test:8000/ada]
|
||||
expected: FAIL
|
||||
|
||||
[Testing response url getter with http://web-platform.test:8000/#]
|
||||
expected: FAIL
|
||||
|
||||
[Testing response url getter with http://web-platform.test:8000/#ada]
|
||||
expected: FAIL
|
||||
|
||||
[Testing response url getter with http://web-platform.test:8000#ada]
|
||||
expected: FAIL
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
[response-url.html]
|
||||
type: testharness
|
||||
[Testing response url getter with http://web-platform.test:8000/ada]
|
||||
expected: FAIL
|
||||
|
||||
[Testing response url getter with http://web-platform.test:8000/#]
|
||||
expected: FAIL
|
||||
|
||||
[Testing response url getter with http://web-platform.test:8000/#ada]
|
||||
expected: FAIL
|
||||
|
||||
[Testing response url getter with http://web-platform.test:8000#ada]
|
||||
expected: FAIL
|
||||
|
|
@ -1,8 +1,5 @@
|
|||
[scheme-about-worker.html]
|
||||
type: testharness
|
||||
[Fetching about:blank is OK]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching about:blank (GET) is OK]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12,12 +9,3 @@
|
|||
[Fetching about:blank (POST) is OK]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching about:invalid.com is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching about:config is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching about:unicorn is KO]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
[scheme-about.html]
|
||||
type: testharness
|
||||
[Fetching about:blank is OK]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching about:blank (GET) is OK]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12,12 +9,3 @@
|
|||
[Fetching about:blank (POST) is OK]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching about:invalid.com is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching about:config is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching about:unicorn is KO]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,26 +1,3 @@
|
|||
[scheme-blob-worker.html]
|
||||
type: testharness
|
||||
[Fetching [GET\] URL.createObjectURL(blob) is OK]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [GET\] blob:http://www.web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [POST\] URL.createObjectURL(blob) is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [OPTIONS\] URL.createObjectURL(blob) is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [HEAD\] URL.createObjectURL(blob) is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [PUT\] URL.createObjectURL(blob) is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [DELETE\] URL.createObjectURL(blob) is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [INVALID\] URL.createObjectURL(blob) is KO]
|
||||
expected: FAIL
|
||||
|
||||
expected: CRASH
|
||||
|
|
|
@ -1,26 +1,3 @@
|
|||
[scheme-blob.html]
|
||||
type: testharness
|
||||
[Fetching [GET\] URL.createObjectURL(blob) is OK]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [GET\] blob:http://www.web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [POST\] URL.createObjectURL(blob) is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [OPTIONS\] URL.createObjectURL(blob) is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [HEAD\] URL.createObjectURL(blob) is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [PUT\] URL.createObjectURL(blob) is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [DELETE\] URL.createObjectURL(blob) is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [INVALID\] URL.createObjectURL(blob) is KO]
|
||||
expected: FAIL
|
||||
|
||||
expected: CRASH
|
||||
|
|
|
@ -15,12 +15,3 @@
|
|||
[Fetching data:image/png;base64,cmVzcG9uc2UncyBib2[...\] is OK]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [GET\] data:notAdataUrl.com is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [POST\] data:,response%27s%20body is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [HEAD\] data:,response%27s%20body is KO]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -15,12 +15,3 @@
|
|||
[Fetching data:image/png;base64,cmVzcG9uc2UncyBib2[...\] is OK]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [GET\] data:notAdataUrl.com is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [POST\] data:,response%27s%20body is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching [HEAD\] data:,response%27s%20body is KO]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,50 +0,0 @@
|
|||
[scheme-others-worker.html]
|
||||
type: testharness
|
||||
[Fetching aaa://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching cap://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching cid://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching dav://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching dict://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching dns://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching geo://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching im://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching imap://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching ipp://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching ldap://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching mailto://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching nfs://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching pop://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching rtsp://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching snmp://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
|
@ -1,50 +0,0 @@
|
|||
[scheme-others.html]
|
||||
type: testharness
|
||||
[Fetching aaa://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching cap://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching cid://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching dav://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching dict://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching dns://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching geo://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching im://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching imap://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching ipp://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching ldap://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching mailto://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching nfs://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching pop://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching rtsp://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching snmp://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
|
@ -12,9 +12,6 @@
|
|||
[Same domain different protocol different port [no-cors mode\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [server forbid CORS\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [cors mode\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -39,9 +36,6 @@
|
|||
[Cross domain different protocol [no-cors mode\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different protocol [server forbid CORS\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different protocol [cors mode\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -12,9 +12,6 @@
|
|||
[Same domain different protocol different port [no-cors mode\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [server forbid CORS\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [cors mode\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -39,9 +36,6 @@
|
|||
[Cross domain different protocol [no-cors mode\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different protocol [server forbid CORS\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different protocol [cors mode\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,20 +1,5 @@
|
|||
[cors-cookies-worker.html]
|
||||
type: testharness
|
||||
[Omit mode: no cookie sent]
|
||||
expected: FAIL
|
||||
|
||||
[Include mode: 1 cookie]
|
||||
expected: FAIL
|
||||
|
||||
[Include mode: local cookies are not sent with remote request]
|
||||
expected: FAIL
|
||||
|
||||
[Include mode: remote cookies are not sent with local request]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin mode: cookies are discarded in cors request]
|
||||
expected: FAIL
|
||||
|
||||
[Include mode: remote cookies are not sent with other remote request]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,20 +1,5 @@
|
|||
[cors-cookies.html]
|
||||
type: testharness
|
||||
[Omit mode: no cookie sent]
|
||||
expected: FAIL
|
||||
|
||||
[Include mode: 1 cookie]
|
||||
expected: FAIL
|
||||
|
||||
[Include mode: local cookies are not sent with remote request]
|
||||
expected: FAIL
|
||||
|
||||
[Include mode: remote cookies are not sent with local request]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin mode: cookies are discarded in cors request]
|
||||
expected: FAIL
|
||||
|
||||
[Include mode: remote cookies are not sent with other remote request]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,20 +1,5 @@
|
|||
[cors-multiple-origins-worker.html]
|
||||
type: testharness
|
||||
[3 origins allowed, match the 3rd (http://web-platform.test:8000)]
|
||||
expected: FAIL
|
||||
|
||||
[3 origins allowed, match the 3rd ("*")]
|
||||
expected: FAIL
|
||||
|
||||
[3 origins allowed, match twice (http://web-platform.test:8000)]
|
||||
expected: FAIL
|
||||
|
||||
[3 origins allowed, match twice ("*")]
|
||||
expected: FAIL
|
||||
|
||||
[3 origins allowed, match twice ("*" and http://web-platform.test:8000)]
|
||||
expected: FAIL
|
||||
|
||||
[3 origins allowed, no match]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,20 +1,5 @@
|
|||
[cors-multiple-origins.html]
|
||||
type: testharness
|
||||
[3 origins allowed, match the 3rd (http://web-platform.test:8000)]
|
||||
expected: FAIL
|
||||
|
||||
[3 origins allowed, match the 3rd ("*")]
|
||||
expected: FAIL
|
||||
|
||||
[3 origins allowed, match twice (http://web-platform.test:8000)]
|
||||
expected: FAIL
|
||||
|
||||
[3 origins allowed, match twice ("*")]
|
||||
expected: FAIL
|
||||
|
||||
[3 origins allowed, match twice ("*" and http://web-platform.test:8000)]
|
||||
expected: FAIL
|
||||
|
||||
[3 origins allowed, no match]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,47 +1,8 @@
|
|||
[cors-no-preflight-worker.html]
|
||||
type: testharness
|
||||
[Cross domain basic usage [GET\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different port [GET\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different port [GET\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different protocol [GET\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [GET\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [POST\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [HEAD\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [GET\] [Accept: */*\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [GET\] [Accept-Language: fr\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [GET\] [Content-Language: fr\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [GET\] [Content-Type: application/x-www-form-urlencoded\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [GET\] [Content-Type: multipart/form-data\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [GET\] [Content-Type: text/plain\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [GET\] [Content-Type: text/plain;charset=utf-8\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [GET\] [Content-Type: Text/Plain;charset=utf-8\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,47 +1,8 @@
|
|||
[cors-no-preflight.html]
|
||||
type: testharness
|
||||
[Cross domain basic usage [GET\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different port [GET\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different port [GET\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different protocol [GET\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [GET\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [POST\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [HEAD\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [GET\] [Accept: */*\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [GET\] [Accept-Language: fr\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [GET\] [Content-Language: fr\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [GET\] [Content-Type: application/x-www-form-urlencoded\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [GET\] [Content-Type: multipart/form-data\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [GET\] [Content-Type: text/plain\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [GET\] [Content-Type: text/plain;charset=utf-8\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [GET\] [Content-Type: Text/Plain;charset=utf-8\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,50 +1,26 @@
|
|||
[cors-origin-worker.html]
|
||||
type: testharness
|
||||
[Cross domain different subdomain [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different subdomain [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different port [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different port [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different port [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different port [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different protocol [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different protocol [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [POST\] [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [POST\] [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [HEAD\] [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [HEAD\] [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[CORS preflight [PUT\] [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[CORS preflight [PUT\] [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,50 +1,26 @@
|
|||
[cors-origin.html]
|
||||
type: testharness
|
||||
[Cross domain different subdomain [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different subdomain [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different port [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different port [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different port [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different port [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different protocol [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different protocol [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [POST\] [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [POST\] [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [HEAD\] [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [HEAD\] [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[CORS preflight [PUT\] [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[CORS preflight [PUT\] [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
[cors-preflight-redirect-worker.html]
|
||||
type: testharness
|
||||
[Redirection 301 on preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 301 after preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 302 on preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 302 after preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 303 on preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 303 after preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 307 on preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 307 after preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 308 on preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 308 after preflight failed]
|
||||
expected: FAIL
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
[cors-preflight-redirect.html]
|
||||
type: testharness
|
||||
[Redirection 301 on preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 301 after preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 302 on preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 302 after preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 303 on preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 303 after preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 307 on preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 307 after preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 308 on preflight failed]
|
||||
expected: FAIL
|
||||
|
||||
[Redirection 308 after preflight failed]
|
||||
expected: FAIL
|
||||
|
|
@ -1,83 +0,0 @@
|
|||
[cors-preflight-status-worker.html]
|
||||
type: testharness
|
||||
[Preflight answered with status 200]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 201]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 202]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 203]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 204]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 205]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 206]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 300]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 301]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 302]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 303]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 304]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 305]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 306]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 307]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 308]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 400]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 401]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 402]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 403]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 404]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 405]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 501]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 502]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 503]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 504]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 505]
|
||||
expected: FAIL
|
||||
|
|
@ -1,83 +0,0 @@
|
|||
[cors-preflight-status.html]
|
||||
type: testharness
|
||||
[Preflight answered with status 200]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 201]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 202]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 203]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 204]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 205]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 206]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 300]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 301]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 302]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 303]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 304]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 305]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 306]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 307]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 308]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 400]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 401]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 402]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 403]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 404]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 405]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 501]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 502]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 503]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 504]
|
||||
expected: FAIL
|
||||
|
||||
[Preflight answered with status 505]
|
||||
expected: FAIL
|
||||
|
|
@ -15,15 +15,9 @@
|
|||
[CORS [PATCH\], server allows]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [PATCH\], server refuses]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [NEW\], server allows]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [NEW\], server refuses]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [GET\] [x-test-header: allowed\], server allows]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -15,15 +15,9 @@
|
|||
[CORS [PATCH\], server allows]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [PATCH\], server refuses]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [NEW\], server allows]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [NEW\], server refuses]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [GET\] [x-test-header: allowed\], server allows]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,23 +1,5 @@
|
|||
[cors-redirect-credentials-worker.html]
|
||||
type: testharness
|
||||
[Redirect 301 from same origin to remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from same origin to remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from same origin to remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from remote to same origin with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from remote to same origin with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from remote to same origin with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from remote to same remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -27,33 +9,6 @@
|
|||
[Redirect 301 from remote to same remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from remote to another remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from remote to another remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from remote to another remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from same origin to remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from same origin to remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from same origin to remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from remote to same origin with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from remote to same origin with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from remote to same origin with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from remote to same remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -63,33 +18,6 @@
|
|||
[Redirect 302 from remote to same remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from remote to another remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from remote to another remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from remote to another remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from same origin to remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from same origin to remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from same origin to remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from remote to same origin with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from remote to same origin with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from remote to same origin with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from remote to same remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -99,33 +27,6 @@
|
|||
[Redirect 303 from remote to same remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from remote to another remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from remote to another remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from remote to another remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from same origin to remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from same origin to remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from same origin to remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from remote to same origin with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from remote to same origin with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from remote to same origin with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from remote to same remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -135,33 +36,6 @@
|
|||
[Redirect 307 from remote to same remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from remote to another remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from remote to another remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from remote to another remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from same origin to remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from same origin to remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from same origin to remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from remote to same origin with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from remote to same origin with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from remote to same origin with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from remote to same remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -171,12 +45,3 @@
|
|||
[Redirect 308 from remote to same remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from remote to another remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from remote to another remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from remote to another remote with password]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,23 +1,5 @@
|
|||
[cors-redirect-credentials.html]
|
||||
type: testharness
|
||||
[Redirect 301 from same origin to remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from same origin to remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from same origin to remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from remote to same origin with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from remote to same origin with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from remote to same origin with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from remote to same remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -27,33 +9,6 @@
|
|||
[Redirect 301 from remote to same remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from remote to another remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from remote to another remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 from remote to another remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from same origin to remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from same origin to remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from same origin to remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from remote to same origin with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from remote to same origin with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from remote to same origin with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from remote to same remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -63,33 +18,6 @@
|
|||
[Redirect 302 from remote to same remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from remote to another remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from remote to another remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 from remote to another remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from same origin to remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from same origin to remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from same origin to remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from remote to same origin with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from remote to same origin with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from remote to same origin with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from remote to same remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -99,33 +27,6 @@
|
|||
[Redirect 303 from remote to same remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from remote to another remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from remote to another remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 from remote to another remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from same origin to remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from same origin to remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from same origin to remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from remote to same origin with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from remote to same origin with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from remote to same origin with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from remote to same remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -135,33 +36,6 @@
|
|||
[Redirect 307 from remote to same remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from remote to another remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from remote to another remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 from remote to another remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from same origin to remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from same origin to remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from same origin to remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from remote to same origin with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from remote to same origin with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from remote to same origin with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from remote to same remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -171,12 +45,3 @@
|
|||
[Redirect 308 from remote to same remote with password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from remote to another remote with user and password]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from remote to another remote with user]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 from remote to another remote with password]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,62 +0,0 @@
|
|||
[cors-redirect-worker.html]
|
||||
type: testharness
|
||||
[Redirect 301: cors to same cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301: cors to another cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301: same origin to cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301: cors to same origin]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: cors to same cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: cors to another cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: same origin to cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: cors to same origin]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: cors to same cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: cors to another cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: same origin to cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: cors to same origin]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: cors to same cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: cors to another cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: same origin to cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: cors to same origin]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: cors to same cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: cors to another cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: same origin to cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: cors to same origin]
|
||||
expected: FAIL
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
[cors-redirect.html]
|
||||
type: testharness
|
||||
[Redirect 301: cors to same cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301: cors to another cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301: same origin to cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301: cors to same origin]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: cors to same cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: cors to another cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: same origin to cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: cors to same origin]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: cors to same cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: cors to another cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: same origin to cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: cors to same origin]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: cors to same cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: cors to another cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: same origin to cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: cors to same origin]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: cors to same cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: cors to another cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: same origin to cors]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: cors to same origin]
|
||||
expected: FAIL
|
||||
|
|
@ -3,6 +3,3 @@
|
|||
[Request's referrer is origin]
|
||||
expected: FAIL
|
||||
|
||||
[Throw a TypeError referrer is not same-origin with origin]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -3,6 +3,3 @@
|
|||
[Request's referrer is origin]
|
||||
expected: FAIL
|
||||
|
||||
[Throw a TypeError referrer is not same-origin with origin]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
[redirect-count-worker.html]
|
||||
type: testharness
|
||||
[Redirect 301 20 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 21 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 20 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 21 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 20 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 21 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 20 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 21 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 20 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 21 times]
|
||||
expected: FAIL
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
[redirect-count.html]
|
||||
type: testharness
|
||||
[Redirect 301 20 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 21 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 20 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 21 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 20 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 21 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 20 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 21 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 20 times]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 21 times]
|
||||
expected: FAIL
|
||||
|
|
@ -1,92 +1,51 @@
|
|||
[redirect-location-worker.html]
|
||||
type: testharness
|
||||
[Redirect 301 in "follow" mode without location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 in "manual" mode without location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 in "follow" mode with invalid location]
|
||||
expected: FAIL
|
||||
|
||||
expected: TIMEOUT
|
||||
[Redirect 301 in "manual" mode with invalid location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 in "follow" mode with data location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 in "manual" mode with data location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "follow" mode without location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "manual" mode without location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "follow" mode with invalid location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "manual" mode with invalid location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "follow" mode with data location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "manual" mode with data location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "follow" mode without location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "manual" mode without location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "follow" mode with invalid location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "manual" mode with invalid location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "follow" mode with data location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "manual" mode with data location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 in "follow" mode without location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 in "manual" mode without location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 in "follow" mode with invalid location]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Redirect 307 in "manual" mode with invalid location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Redirect 307 in "follow" mode with data location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Redirect 307 in "manual" mode with data location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Redirect 308 in "follow" mode without location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Redirect 308 in "manual" mode without location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Redirect 308 in "follow" mode with invalid location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Redirect 308 in "manual" mode with invalid location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Redirect 308 in "follow" mode with data location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Redirect 308 in "manual" mode with data location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -1,92 +1,51 @@
|
|||
[redirect-location.html]
|
||||
type: testharness
|
||||
[Redirect 301 in "follow" mode without location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 in "manual" mode without location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 in "follow" mode with invalid location]
|
||||
expected: FAIL
|
||||
|
||||
expected: TIMEOUT
|
||||
[Redirect 301 in "manual" mode with invalid location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 in "follow" mode with data location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 in "manual" mode with data location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "follow" mode without location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "manual" mode without location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "follow" mode with invalid location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "manual" mode with invalid location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "follow" mode with data location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "manual" mode with data location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "follow" mode without location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "manual" mode without location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "follow" mode with invalid location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "manual" mode with invalid location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "follow" mode with data location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "manual" mode with data location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 in "follow" mode without location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 in "manual" mode without location]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 in "follow" mode with invalid location]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Redirect 307 in "manual" mode with invalid location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Redirect 307 in "follow" mode with data location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Redirect 307 in "manual" mode with data location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Redirect 308 in "follow" mode without location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Redirect 308 in "manual" mode without location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Redirect 308 in "follow" mode with invalid location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Redirect 308 in "manual" mode with invalid location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Redirect 308 in "follow" mode with data location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Redirect 308 in "manual" mode with data location]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
[redirect-method-worker.html]
|
||||
type: testharness
|
||||
[Response.redirected should be false on not-redirected responses]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 with GET]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
[redirect-method.html]
|
||||
type: testharness
|
||||
[Response.redirected should be false on not-redirected responses]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 with GET]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -3,45 +3,30 @@
|
|||
[Redirect 301 in "error" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 in "follow" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 in "manual" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "error" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "follow" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "manual" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "error" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "follow" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "manual" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 in "error" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 in "follow" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 in "manual" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 in "error" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 in "follow" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 in "manual" mode ]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -3,45 +3,30 @@
|
|||
[Redirect 301 in "error" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 in "follow" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301 in "manual" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "error" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "follow" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302 in "manual" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "error" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "follow" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303 in "manual" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 in "error" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 in "follow" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307 in "manual" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 in "error" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 in "follow" mode ]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308 in "manual" mode ]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
[redirect-origin-worker.html]
|
||||
type: testharness
|
||||
[Same origin to same origin redirection 301]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to other origin redirection 301]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12,9 +9,6 @@
|
|||
[Other origin to same origin redirection 301]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to same origin redirection 302]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to other origin redirection 302]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -24,9 +18,6 @@
|
|||
[Other origin to same origin redirection 302]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to same origin redirection 303]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to other origin redirection 303]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -36,9 +27,6 @@
|
|||
[Other origin to same origin redirection 303]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to same origin redirection 307]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to other origin redirection 307]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -48,9 +36,6 @@
|
|||
[Other origin to same origin redirection 307]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to same origin redirection 308]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to other origin redirection 308]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
[redirect-origin.html]
|
||||
type: testharness
|
||||
[Same origin to same origin redirection 301]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to other origin redirection 301]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12,9 +9,6 @@
|
|||
[Other origin to same origin redirection 301]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to same origin redirection 302]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to other origin redirection 302]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -24,9 +18,6 @@
|
|||
[Other origin to same origin redirection 302]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to same origin redirection 303]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to other origin redirection 303]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -36,9 +27,6 @@
|
|||
[Other origin to same origin redirection 303]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to same origin redirection 307]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to other origin redirection 307]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -48,9 +36,6 @@
|
|||
[Other origin to same origin redirection 307]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to same origin redirection 308]
|
||||
expected: FAIL
|
||||
|
||||
[Same origin to other origin redirection 308]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,20 +1,5 @@
|
|||
[redirect-schemes.html]
|
||||
type: testharness
|
||||
[Fetch: handling different schemes in redirects]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch: handling different schemes in redirects 1]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch: handling different schemes in redirects 2]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch: handling different schemes in redirects 3]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch: handling different schemes in redirects 4]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch: handling different schemes in redirects 5]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,17 +1,8 @@
|
|||
[redirect-to-dataurl-worker.html]
|
||||
type: testharness
|
||||
[Testing data URL loading after same-origin redirection (cors mode)]
|
||||
expected: FAIL
|
||||
|
||||
[Testing data URL loading after same-origin redirection (no-cors mode)]
|
||||
expected: FAIL
|
||||
|
||||
[Testing data URL loading after same-origin redirection (same-origin mode)]
|
||||
expected: FAIL
|
||||
|
||||
[Testing data URL loading after cross-origin redirection (cors mode)]
|
||||
expected: FAIL
|
||||
|
||||
[Testing data URL loading after cross-origin redirection (no-cors mode)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,17 +1,8 @@
|
|||
[redirect-to-dataurl.html]
|
||||
type: testharness
|
||||
[Testing data URL loading after same-origin redirection (cors mode)]
|
||||
expected: FAIL
|
||||
|
||||
[Testing data URL loading after same-origin redirection (no-cors mode)]
|
||||
expected: FAIL
|
||||
|
||||
[Testing data URL loading after same-origin redirection (same-origin mode)]
|
||||
expected: FAIL
|
||||
|
||||
[Testing data URL loading after cross-origin redirection (cors mode)]
|
||||
expected: FAIL
|
||||
|
||||
[Testing data URL loading after cross-origin redirection (no-cors mode)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,248 +1,4 @@
|
|||
[request-cache.html]
|
||||
type: testharness
|
||||
[RequestCache "default" mode checks the cache for previously cached content and goes to the network for stale responses with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode checks the cache for previously cached content and goes to the network for stale responses with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode checks the cache for previously cached content and avoids going to the network if a fresh response exists with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode checks the cache for previously cached content and avoids going to the network if a fresh response exists with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "no-cache" mode revalidates stale responses found in the cache with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "no-cache" mode revalidates stale responses found in the cache with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "no-cache" mode revalidates fresh responses found in the cache with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "no-cache" mode revalidates fresh responses found in the cache with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" stores the response in the cache if it goes to the network with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" stores the response in the cache if it goes to the network with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "no-store" mode does not store the response in the cache with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "no-store" mode does not store the response in the cache with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "no-store" mode does not store the response in the cache with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "no-store" mode does not store the response in the cache with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[Responses with the "Cache-Control: no-store" header are not stored in the cache with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[Responses with the "Cache-Control: no-store" header are not stored in the cache with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[Responses with the "Cache-Control: no-store" header are not stored in the cache with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[Responses with the "Cache-Control: no-store" header are not stored in the cache with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does store the response in the cache with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does store the response in the cache with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does store the response in the cache with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does store the response in the cache with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
disabled: https://github.com/servo/servo/issues/13458
|
||||
expected: CRASH
|
||||
|
|
|
@ -15,39 +15,6 @@
|
|||
[Trying to consume bad JSON text as JSON: 'undefined']
|
||||
expected: FAIL
|
||||
|
||||
[Trying to consume bad JSON text as JSON: '{']
|
||||
expected: FAIL
|
||||
|
||||
[Trying to consume bad JSON text as JSON: 'a']
|
||||
expected: FAIL
|
||||
|
||||
[Trying to consume bad JSON text as JSON: '[']
|
||||
expected: FAIL
|
||||
|
||||
[Consume ArrayBuffer request's body as text]
|
||||
expected: FAIL
|
||||
|
||||
[Consume ArrayBuffer request's body as blob]
|
||||
expected: FAIL
|
||||
|
||||
[Consume ArrayBuffer request's body as arrayBuffer]
|
||||
expected: FAIL
|
||||
|
||||
[Consume ArrayBuffer request's body as JSON]
|
||||
expected: FAIL
|
||||
|
||||
[Consume Uint8Array request's body as text]
|
||||
expected: FAIL
|
||||
|
||||
[Consume Uint8Array request's body as blob]
|
||||
expected: FAIL
|
||||
|
||||
[Consume Uint8Array request's body as arrayBuffer]
|
||||
expected: FAIL
|
||||
|
||||
[Consume Uint8Array request's body as JSON]
|
||||
expected: FAIL
|
||||
|
||||
[Consume Int8Array request's body as text]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -57,10 +24,7 @@
|
|||
[Consume Int8Array request's body as arrayBuffer]
|
||||
expected: FAIL
|
||||
|
||||
[Consume Int8Array request's body as JSON]
|
||||
expected: FAIL
|
||||
|
||||
[Consume Float32Array request's body as text]
|
||||
[Consume ArrayBuffer request's body as text]
|
||||
expected: FAIL
|
||||
|
||||
[Consume Float32Array request's body as blob]
|
||||
|
@ -87,3 +51,45 @@
|
|||
[Consume FormData request's body as FormData]
|
||||
expected: FAIL
|
||||
|
||||
[Consume blob response's body as arrayBuffer]
|
||||
expected: FAIL
|
||||
|
||||
[Trying to consume bad JSON text as JSON: 'undefined']
|
||||
expected: FAIL
|
||||
|
||||
[Trying to consume bad JSON text as JSON: '{']
|
||||
expected: FAIL
|
||||
|
||||
[Trying to consume bad JSON text as JSON: 'a']
|
||||
expected: FAIL
|
||||
|
||||
[Consume ArrayBuffer request's body as blob]
|
||||
expected: FAIL
|
||||
|
||||
[Consume ArrayBuffer request's body as arrayBuffer]
|
||||
expected: FAIL
|
||||
|
||||
[Consume ArrayBuffer request's body as JSON]
|
||||
expected: FAIL
|
||||
|
||||
[Consume Uint8Array request's body as text]
|
||||
expected: FAIL
|
||||
|
||||
[Consume Uint8Array request's body as blob]
|
||||
expected: FAIL
|
||||
|
||||
[Consume Uint8Array request's body as arrayBuffer]
|
||||
expected: FAIL
|
||||
|
||||
[Consume Uint8Array request's body as JSON]
|
||||
expected: FAIL
|
||||
|
||||
[Consume Int8Array request's body as JSON]
|
||||
expected: FAIL
|
||||
|
||||
[Consume Float32Array request's body as text]
|
||||
expected: FAIL
|
||||
|
||||
[Trying to consume bad JSON text as JSON: '[']
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -12,6 +12,9 @@
|
|||
[Read text response's body as readableStream]
|
||||
expected: FAIL
|
||||
|
||||
[Read array buffer response's body as readableStream]
|
||||
expected: FAIL
|
||||
|
||||
[Read form data response's body as readableStream]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -21,6 +24,3 @@
|
|||
[Getting a redirect Response stream]
|
||||
expected: FAIL
|
||||
|
||||
[Read array buffer response's body as readableStream]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,14 +1,5 @@
|
|||
[response-stream-disturbed-5.html]
|
||||
type: testharness
|
||||
[Getting a body reader after consuming as blob]
|
||||
expected: FAIL
|
||||
|
||||
[Getting a body reader after consuming as text]
|
||||
expected: FAIL
|
||||
|
||||
[Getting a body reader after consuming as json]
|
||||
expected: FAIL
|
||||
|
||||
[Getting a body reader after consuming as arrayBuffer]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
[insecure-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[insecure-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[insecure-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via fetch-request using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via fetch-request using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via fetch-request using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[insecure-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[insecure-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[insecure-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via fetch-request using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via fetch-request using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via fetch-request using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[generic.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[generic.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[generic.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[generic.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via fetch-request using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[generic.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via fetch-request using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[generic.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via fetch-request using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[generic.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[generic.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[generic.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[generic.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via fetch-request using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[generic.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via fetch-request using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[generic.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via fetch-request using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cross-origin.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is origin when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cross-origin.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is origin when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cross-origin.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is origin when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cross-origin.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is origin when a\n document served over http requires an https\n sub-resource via fetch-request using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cross-origin.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is origin when a\n document served over http requires an https\n sub-resource via fetch-request using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cross-origin.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is origin when a\n document served over http requires an https\n sub-resource via fetch-request using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[same-origin-insecure.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[same-origin-insecure.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via fetch-request using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue