mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #15784 - jdm:ssltests, r=nox,jgraham
Make SSL tests work These changes fix #6919. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15784) <!-- Reviewable:end -->
This commit is contained in:
commit
f3fd8238ce
962 changed files with 586 additions and 3747 deletions
|
@ -530,7 +530,8 @@ fn test_fetch_with_hsts() {
|
|||
//takes an address and something that implements hyper::net::Ssl
|
||||
let mut server = Server::https("0.0.0.0:0", ssl).unwrap().handle_threads(handler, 1).unwrap();
|
||||
|
||||
let ssl_client = create_ssl_client("self_signed_certificate_for_testing.crt");
|
||||
let ca_file = resources_dir_path().unwrap().join("self_signed_certificate_for_testing.crt");
|
||||
let ssl_client = create_ssl_client(&ca_file);
|
||||
let connector = create_http_connector(ssl_client);
|
||||
|
||||
let context = FetchContext {
|
||||
|
|
|
@ -6,7 +6,6 @@ use net::hsts::{HstsEntry, HstsList};
|
|||
use net_traits::IncludeSubdomains;
|
||||
use std::collections::HashMap;
|
||||
use time;
|
||||
use url::Url;
|
||||
|
||||
#[test]
|
||||
fn test_hsts_entry_is_not_expired_when_it_has_no_timestamp() {
|
||||
|
|
|
@ -25,8 +25,8 @@ use msg::constellation_msg::TEST_PIPELINE_ID;
|
|||
use net::cookie::Cookie;
|
||||
use net::cookie_storage::CookieStorage;
|
||||
use net::resource_thread::AuthCacheEntry;
|
||||
use net::test::replace_host_table;
|
||||
use net_traits::{CookieSource, NetworkError};
|
||||
use net_traits::hosts::replace_host_table;
|
||||
use net_traits::request::{Request, RequestInit, RequestMode, CredentialsMode, Destination};
|
||||
use net_traits::response::ResponseBody;
|
||||
use new_fetch_context;
|
||||
|
|
|
@ -42,6 +42,7 @@ use net::test::HttpState;
|
|||
use net_traits::FetchTaskTarget;
|
||||
use net_traits::request::Request;
|
||||
use net_traits::response::Response;
|
||||
use servo_config::resource_files::resources_dir_path;
|
||||
use servo_url::ServoUrl;
|
||||
use std::sync::Arc;
|
||||
use std::sync::mpsc::{Sender, channel};
|
||||
|
@ -53,7 +54,8 @@ struct FetchResponseCollector {
|
|||
}
|
||||
|
||||
fn new_fetch_context(dc: Option<Sender<DevtoolsControlMsg>>) -> FetchContext {
|
||||
let ssl_client = create_ssl_client("certs");
|
||||
let ca_file = resources_dir_path().unwrap().join("certs");
|
||||
let ssl_client = create_ssl_client(&ca_file);
|
||||
let connector = create_http_connector(ssl_client);
|
||||
FetchContext {
|
||||
state: Arc::new(HttpState::new()),
|
||||
|
|
|
@ -4,12 +4,9 @@
|
|||
|
||||
use ipc_channel::ipc;
|
||||
use net::resource_thread::new_core_resource_thread;
|
||||
use net::test::parse_hostsfile;
|
||||
use net_traits::CoreResourceMsg;
|
||||
use net_traits::hosts::{host_replacement, parse_hostsfile};
|
||||
use profile_traits::time::ProfilerChan;
|
||||
use servo_url::ServoUrl;
|
||||
use std::borrow::ToOwned;
|
||||
use std::collections::HashMap;
|
||||
use std::net::IpAddr;
|
||||
|
||||
fn ip(s: &str) -> IpAddr {
|
||||
|
@ -143,19 +140,3 @@ fn test_parse_hostsfile_with_end_of_line_whitespace()
|
|||
assert_eq!(ip("2001:db8:0:0:0:ff00:42:8329"), *hosts_table.get("moz.foo.com").unwrap());
|
||||
assert_eq!(ip("127.0.0.2"), *hosts_table.get("servo.test.server").unwrap());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_replace_hosts() {
|
||||
let mut host_table = HashMap::new();
|
||||
host_table.insert("foo.bar.com".to_owned(), ip("127.0.0.1"));
|
||||
host_table.insert("servo.test.server".to_owned(), ip("127.0.0.2"));
|
||||
|
||||
let url = ServoUrl::parse("http://foo.bar.com:8000/foo").unwrap();
|
||||
assert_eq!(host_replacement(&host_table, url).host_str().unwrap(), "127.0.0.1");
|
||||
|
||||
let url = ServoUrl::parse("http://servo.test.server").unwrap();
|
||||
assert_eq!(host_replacement(&host_table, url).host_str().unwrap(), "127.0.0.2");
|
||||
|
||||
let url = ServoUrl::parse("http://a.foo.bar.com").unwrap();
|
||||
assert_eq!(host_replacement(&host_table, url).host_str().unwrap(), "a.foo.bar.com");
|
||||
}
|
||||
|
|
|
@ -32,7 +32,8 @@ def browser_kwargs(**kwargs):
|
|||
"debug_info": kwargs["debug_info"],
|
||||
"binary_args": kwargs["binary_args"],
|
||||
"user_stylesheets": kwargs.get("user_stylesheets"),
|
||||
"render_backend": kwargs.get("servo_backend")}
|
||||
"render_backend": kwargs.get("servo_backend"),
|
||||
"ca_certificate_path": kwargs["ssl_env"].ca_cert_path()}
|
||||
|
||||
|
||||
def executor_kwargs(test_type, server_config, cache_manager, run_info_data,
|
||||
|
@ -65,17 +66,19 @@ def render_arg(render_backend):
|
|||
|
||||
class ServoBrowser(NullBrowser):
|
||||
def __init__(self, logger, binary, debug_info=None, binary_args=None,
|
||||
user_stylesheets=None, render_backend="webrender"):
|
||||
user_stylesheets=None, render_backend="webrender", ca_certificate_path=None):
|
||||
NullBrowser.__init__(self, logger)
|
||||
self.binary = binary
|
||||
self.debug_info = debug_info
|
||||
self.binary_args = binary_args or []
|
||||
self.user_stylesheets = user_stylesheets or []
|
||||
self.render_backend = render_backend
|
||||
self.ca_certificate_path = ca_certificate_path
|
||||
|
||||
def executor_browser(self):
|
||||
return ExecutorBrowser, {"binary": self.binary,
|
||||
"debug_info": self.debug_info,
|
||||
"binary_args": self.binary_args,
|
||||
"user_stylesheets": self.user_stylesheets,
|
||||
"render_backend": self.render_backend}
|
||||
"render_backend": self.render_backend,
|
||||
"ca_certificate_path": self.ca_certificate_path}
|
||||
|
|
|
@ -86,6 +86,8 @@ class ServoTestharnessExecutor(ProcessTestExecutor):
|
|||
args += ["--user-stylesheet", stylesheet]
|
||||
for pref, value in test.environment.get('prefs', {}).iteritems():
|
||||
args += ["--pref", "%s=%s" % (pref, value)]
|
||||
if self.browser.ca_certificate_path:
|
||||
args += ["--certificate-path", self.browser.ca_certificate_path]
|
||||
args += self.browser.binary_args
|
||||
debug_args, command = browser_command(self.binary, args, self.debug_info)
|
||||
|
||||
|
@ -226,6 +228,9 @@ class ServoRefTestExecutor(ProcessTestExecutor):
|
|||
|
||||
command += ["--resolution", viewport_size or "800x600"]
|
||||
|
||||
if self.browser.ca_certificate_path:
|
||||
command += ["--certificate-path", self.browser.ca_certificate_path]
|
||||
|
||||
if dpi:
|
||||
command += ["--device-pixel-ratio", dpi]
|
||||
|
||||
|
|
|
@ -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 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/13503
|
|
@ -1,6 +1,5 @@
|
|||
[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
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[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
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[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
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/13503
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/4767
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/13503
|
|
@ -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 script-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 script-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 script-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/13503
|
|
@ -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 xhr-request 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 xhr-request 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 xhr-request using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/13503
|
|
@ -1,6 +1,5 @@
|
|||
[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
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[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
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[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
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/13503
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/4767
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/13503
|
|
@ -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 script-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 script-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 script-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/13503
|
|
@ -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 xhr-request 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 xhr-request 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 xhr-request using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1 +0,0 @@
|
|||
disabled: for now
|
|
@ -0,0 +1,5 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via fetch-request using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via fetch-request using the meta-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via fetch-request using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
[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 +1,6 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
[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 +1,6 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
[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 +1,6 @@
|
|||
[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.]
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-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 +1,6 @@
|
|||
[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.]
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
[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.]
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1 +0,0 @@
|
|||
disabled: for now
|
|
@ -0,0 +1,5 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via fetch-request using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via fetch-request using the meta-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via fetch-request using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
[upgrade-protocol.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
[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 +1,6 @@
|
|||
[upgrade-protocol.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
[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 +1,6 @@
|
|||
[upgrade-protocol.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
[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 +1,6 @@
|
|||
[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.]
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-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 +1,6 @@
|
|||
[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.]
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
[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.]
|
||||
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/13503
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/13503
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/4767
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/13503
|
|
@ -1,6 +0,0 @@
|
|||
[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 script-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 @@
|
|||
[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 script-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 @@
|
|||
[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 script-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/13503
|
|
@ -1,6 +0,0 @@
|
|||
[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 xhr-request 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 @@
|
|||
[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 xhr-request 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 @@
|
|||
[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 xhr-request using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/13503
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/13503
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/4767
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/13503
|
|
@ -1,6 +0,0 @@
|
|||
[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 script-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 @@
|
|||
[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 script-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 @@
|
|||
[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 script-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1 +0,0 @@
|
|||
disabled: https://github.com/servo/servo/issues/13503
|
|
@ -1,6 +0,0 @@
|
|||
[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 xhr-request 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 @@
|
|||
[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 xhr-request 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 @@
|
|||
[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 xhr-request using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1 +0,0 @@
|
|||
disabled: for now
|
|
@ -1,6 +1,6 @@
|
|||
[generic.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted 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 +1,6 @@
|
|||
[generic.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted 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 +1,6 @@
|
|||
[generic.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted 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 +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: ERROR
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via img-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 +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: ERROR
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via img-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,6 +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: ERROR
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via img-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1 +0,0 @@
|
|||
disabled: for now
|
|
@ -1,6 +1,6 @@
|
|||
[generic.keep-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted 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 +1,6 @@
|
|||
[generic.no-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted 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 +1,6 @@
|
|||
[generic.swap-origin-redirect.http.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
[The referrer URL is omitted 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 +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: ERROR
|
||||
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via img-tag using the meta-referrer\n delivery method with keep-origin-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