mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Replace hosts when making TCP connections, not when verifying SSL certs.
This commit is contained in:
parent
dc99104f55
commit
e9fdc4c72a
553 changed files with 252 additions and 2658 deletions
|
@ -3,14 +3,53 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use hyper::client::Pool;
|
||||
use hyper::net::HttpsConnector;
|
||||
use hyper::error::{Result as HyperResult, Error as HyperError};
|
||||
use hyper::net::{NetworkConnector, HttpsStream, HttpStream, SslClient};
|
||||
use hyper_openssl::OpensslClient;
|
||||
use net_traits::hosts::replace_host;
|
||||
use openssl::ssl::{SSL_OP_NO_COMPRESSION, SSL_OP_NO_SSLV2, SSL_OP_NO_SSLV3};
|
||||
use openssl::ssl::{SslConnectorBuilder, SslMethod};
|
||||
use std::io;
|
||||
use std::net::TcpStream;
|
||||
use std::path::PathBuf;
|
||||
use std::sync::Arc;
|
||||
|
||||
pub type Connector = HttpsConnector<OpensslClient>;
|
||||
pub struct HttpsConnector {
|
||||
ssl: OpensslClient,
|
||||
}
|
||||
|
||||
impl HttpsConnector {
|
||||
fn new(ssl: OpensslClient) -> HttpsConnector {
|
||||
HttpsConnector {
|
||||
ssl: ssl,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl NetworkConnector for HttpsConnector {
|
||||
type Stream = HttpsStream<<OpensslClient as SslClient>::Stream>;
|
||||
|
||||
fn connect(&self, host: &str, port: u16, scheme: &str) -> HyperResult<Self::Stream> {
|
||||
if scheme != "http" && scheme != "https" {
|
||||
return Err(HyperError::Io(io::Error::new(io::ErrorKind::InvalidInput,
|
||||
"Invalid scheme for Http")));
|
||||
}
|
||||
|
||||
// Perform host replacement when making the actual TCP connection.
|
||||
let addr = &(&*replace_host(host), port);
|
||||
let stream = HttpStream(try!(TcpStream::connect(addr)));
|
||||
|
||||
if scheme == "http" {
|
||||
Ok(HttpsStream::Http(stream))
|
||||
} else {
|
||||
// Do not perform host replacement on the host that is used
|
||||
// for verifying any SSL certificate encountered.
|
||||
self.ssl.wrap_client(stream, host).map(HttpsStream::Https)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub type Connector = HttpsConnector;
|
||||
|
||||
pub fn create_ssl_client(ca_file: &PathBuf) -> OpensslClient {
|
||||
let mut ssl_connector_builder = SslConnectorBuilder::new(SslMethod::tls()).unwrap();
|
||||
|
|
|
@ -34,7 +34,6 @@ use hyper_serde::Serde;
|
|||
use log;
|
||||
use msg::constellation_msg::PipelineId;
|
||||
use net_traits::{CookieSource, FetchMetadata, NetworkError, ReferrerPolicy};
|
||||
use net_traits::hosts::replace_host;
|
||||
use net_traits::request::{CacheMode, CredentialsMode, Destination, Origin};
|
||||
use net_traits::request::{RedirectMode, Referrer, Request, RequestMode};
|
||||
use net_traits::request::{ResponseTainting, Type};
|
||||
|
@ -129,7 +128,7 @@ impl NetworkConnector for NetworkHttpRequestFactory {
|
|||
type Stream = PooledStream<HttpsStream<SslStream<HttpStream>>>;
|
||||
|
||||
fn connect(&self, host: &str, port: u16, scheme: &str) -> Result<Self::Stream, HttpError> {
|
||||
self.connector.connect(&replace_host(host), port, scheme)
|
||||
self.connector.connect(host, port, scheme)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
[basic.htm]
|
||||
type: testharness
|
||||
[Cross domain different protocol]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port]
|
||||
expected: FAIL
|
||||
|
|
@ -3,3 +3,6 @@
|
|||
[Fetch http://www1.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
|
||||
|
||||
|
|
|
@ -3,3 +3,6 @@
|
|||
[Fetch http://www1.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
|
||||
|
||||
|
|
|
@ -39,3 +39,9 @@
|
|||
[Cross domain different protocol [cors mode\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [server forbid CORS\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different protocol [server forbid CORS\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -39,3 +39,9 @@
|
|||
[Cross domain different protocol [cors mode\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [server forbid CORS\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different protocol [server forbid CORS\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
[cors-no-preflight-worker.html]
|
||||
type: testharness
|
||||
[Cross domain different protocol [GET\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [GET\]]
|
||||
expected: FAIL
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
[cors-no-preflight.html]
|
||||
type: testharness
|
||||
[Cross domain different protocol [GET\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [GET\]]
|
||||
expected: FAIL
|
||||
|
|
@ -9,12 +9,6 @@
|
|||
[Cross domain different port [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different protocol [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [POST\] [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -27,3 +21,9 @@
|
|||
[Allowed origin: "" [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different protocol [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -9,12 +9,6 @@
|
|||
[Cross domain different port [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different protocol [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [origin OK\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain [POST\] [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -27,3 +21,9 @@
|
|||
[Allowed origin: "" [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Cross domain different protocol [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
[Same domain different protocol different port [origin KO\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,3 +1,23 @@
|
|||
[messageevent-constructor.https.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Default event values]
|
||||
expected: FAIL
|
||||
|
||||
[MessageEventInit dictionary]
|
||||
expected: FAIL
|
||||
|
||||
[Passing null for ports member]
|
||||
expected: FAIL
|
||||
|
||||
[ports attribute should be a FrozenArray]
|
||||
expected: FAIL
|
||||
|
||||
[initMessageEvent operation]
|
||||
expected: FAIL
|
||||
|
||||
[All parameters to initMessageEvent should be mandatory]
|
||||
expected: FAIL
|
||||
|
||||
[Passing ServiceWorker for source member]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
[promise-rejection-events.serviceworker.https.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Service worker setup]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the meta-csp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the meta-csp\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the meta-csp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the meta-csp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the meta-csp\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the meta-csp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the meta-csp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the meta-csp\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the meta-csp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the meta-csp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the meta-csp\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the meta-csp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via a-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[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 link-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
[generic.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via a-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[generic.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via a-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[generic.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via a-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[generic.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[generic.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[generic.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[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 link-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[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 link-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[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 link-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[generic.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via a-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[generic.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via a-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[generic.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via a-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[generic.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[generic.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[generic.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
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