diff options
60 files changed, 325 insertions, 48 deletions
diff --git a/README.md b/README.md index aeb306be76f..a7ee3c0fe1f 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ sudo dnf install curl freeglut-devel libtool gcc-c++ libXi-devel \ On Arch Linux: ``` sh -sudo pacman -S --needed base-devel git python2 python2-virtualenv python2-pip mesa cmake bzip2 libxmu glu +sudo pacman -S --needed base-devel git python2 python2-virtualenv python2-pip mesa cmake bzip2 libxmu glu pkg-config ``` On Gentoo Linux: diff --git a/components/gfx/Cargo.toml b/components/gfx/Cargo.toml index 6982ed4a2dd..4a5dcba9a28 100644 --- a/components/gfx/Cargo.toml +++ b/components/gfx/Cargo.toml @@ -35,7 +35,7 @@ rustc-serialize = "0.3" serde = "0.7" serde_macros = "0.7" smallvec = "0.1" -string_cache = {version = "0.2.18", features = ["heap_size"]} +string_cache = {version = "0.2.20", features = ["heap_size"]} style = {path = "../style"} style_traits = {path = "../style_traits"} time = "0.1.12" diff --git a/components/layout/Cargo.toml b/components/layout/Cargo.toml index e6878976167..f200aa86607 100644 --- a/components/layout/Cargo.toml +++ b/components/layout/Cargo.toml @@ -36,7 +36,7 @@ selectors = {version = "0.6", features = ["heap_size"]} serde_json = "0.7" serde_macros = "0.7" smallvec = "0.1" -string_cache = {version = "0.2.18", features = ["heap_size"]} +string_cache = {version = "0.2.20", features = ["heap_size"]} style = {path = "../style"} style_traits = {path = "../style_traits"} time = "0.1" diff --git a/components/net/filemanager_thread.rs b/components/net/filemanager_thread.rs index 56cf0ca62c8..6164867c794 100644 --- a/components/net/filemanager_thread.rs +++ b/components/net/filemanager_thread.rs @@ -48,14 +48,14 @@ impl UIProvider for TFDProvider { } #[cfg(not(any(target_os = "macos", target_os = "linux")))] - fn open_file_dialog(&self, path: &str, - filter: Option<(&[&str], &str)>) -> Option<String> { + fn open_file_dialog(&self, _path: &str, + _filter: Option<(&[&str], &str)>) -> Option<String> { None } #[cfg(not(any(target_os = "macos", target_os = "linux")))] - fn open_file_dialog_multi(&self, path: &str, - filter: Option<(&[&str], &str)>) -> Option<Vec<String>> { + fn open_file_dialog_multi(&self, _path: &str, + _filter: Option<(&[&str], &str)>) -> Option<Vec<String>> { None } } diff --git a/components/script/Cargo.toml b/components/script/Cargo.toml index 9aa39fc12af..911f1b9cc67 100644 --- a/components/script/Cargo.toml +++ b/components/script/Cargo.toml @@ -56,7 +56,7 @@ script_traits = {path = "../script_traits"} selectors = {version = "0.6", features = ["heap_size"]} serde = "0.7" smallvec = "0.1" -string_cache = {version = "0.2.18", features = ["heap_size", "unstable"]} +string_cache = {version = "0.2.20", features = ["heap_size", "unstable"]} style = {path = "../style"} time = "0.1.12" url = {version = "1.0.0", features = ["heap_size", "query_encoding"]} diff --git a/components/servo/Cargo.lock b/components/servo/Cargo.lock index b973dc19cbd..caba1fc1beb 100644 --- a/components/servo/Cargo.lock +++ b/components/servo/Cargo.lock @@ -783,7 +783,7 @@ dependencies = [ "servo-fontconfig 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "simd 0.1.0 (git+https://github.com/huonw/simd)", "smallvec 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", "style 0.0.1", "style_traits 0.0.1", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", @@ -962,7 +962,7 @@ dependencies = [ "phf 0.7.15 (registry+https://github.com/rust-lang/crates.io-index)", "phf_codegen 0.7.15 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", "tendril 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1160,7 +1160,7 @@ dependencies = [ "serde_json 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", "style 0.0.1", "style_traits 0.0.1", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1910,7 +1910,7 @@ dependencies = [ "selectors 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", "style 0.0.1", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", "tinyfiledialogs 0.1.0 (git+https://github.com/jdm/tinyfiledialogs)", @@ -1971,7 +1971,7 @@ dependencies = [ "matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "quickersort 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2133,7 +2133,7 @@ dependencies = [ [[package]] name = "string_cache" -version = "0.2.18" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "debug_unreachable 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2167,7 +2167,7 @@ dependencies = [ "serde 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", "style_traits 0.0.1", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", "url 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2184,7 +2184,7 @@ dependencies = [ "euclid 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)", "selectors 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", "style 0.0.1", "style_traits 0.0.1", "url 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2644,7 +2644,7 @@ dependencies = [ "phf 0.7.15 (registry+https://github.com/rust-lang/crates.io-index)", "phf_codegen 0.7.15 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", "tendril 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/components/style/Cargo.toml b/components/style/Cargo.toml index 24db5a46034..98492645bc7 100644 --- a/components/style/Cargo.toml +++ b/components/style/Cargo.toml @@ -33,7 +33,7 @@ selectors = {version = "0.6", features = ["heap_size", "unstable"]} serde = {version = "0.7", features = ["nightly"]} serde_macros = "0.7" smallvec = "0.1" -string_cache = {version = "0.2.18", features = ["heap_size"]} +string_cache = {version = "0.2.20", features = ["heap_size"]} style_traits = {path = "../style_traits"} time = "0.1" url = {version = "1.0.0", features = ["heap_size"]} diff --git a/ports/cef/Cargo.lock b/ports/cef/Cargo.lock index 04f738380f0..69af9dcbedf 100644 --- a/ports/cef/Cargo.lock +++ b/ports/cef/Cargo.lock @@ -705,7 +705,7 @@ dependencies = [ "servo-fontconfig 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "simd 0.1.0 (git+https://github.com/huonw/simd)", "smallvec 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", "style 0.0.1", "style_traits 0.0.1", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", @@ -875,7 +875,7 @@ dependencies = [ "phf 0.7.15 (registry+https://github.com/rust-lang/crates.io-index)", "phf_codegen 0.7.15 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", "tendril 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1073,7 +1073,7 @@ dependencies = [ "serde_json 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", "style 0.0.1", "style_traits 0.0.1", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1768,7 +1768,7 @@ dependencies = [ "selectors 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", "style 0.0.1", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", "tinyfiledialogs 0.1.0 (git+https://github.com/jdm/tinyfiledialogs)", @@ -1819,7 +1819,7 @@ dependencies = [ "matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "quickersort 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2018,7 +2018,7 @@ dependencies = [ [[package]] name = "string_cache" -version = "0.2.18" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "debug_unreachable 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2052,7 +2052,7 @@ dependencies = [ "serde 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", "style_traits 0.0.1", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", "url 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2506,7 +2506,7 @@ dependencies = [ "phf 0.7.15 (registry+https://github.com/rust-lang/crates.io-index)", "phf_codegen 0.7.15 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", "tendril 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/ports/geckolib/Cargo.lock b/ports/geckolib/Cargo.lock index 0391485d536..7f01cec464f 100644 --- a/ports/geckolib/Cargo.lock +++ b/ports/geckolib/Cargo.lock @@ -16,7 +16,7 @@ dependencies = [ "plugins 0.0.1", "selectors 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", "style 0.0.1", "style_traits 0.0.1", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", @@ -404,7 +404,7 @@ dependencies = [ "matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "quickersort 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -437,7 +437,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "string_cache" -version = "0.2.18" +version = "0.2.20" dependencies = [ "gecko_bindings 0.0.1", "heapsize 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -447,9 +447,9 @@ dependencies = [ [[package]] name = "string_cache" -version = "0.2.18" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -replace = "string_cache 0.2.18" +replace = "string_cache 0.2.20" [[package]] name = "style" @@ -474,7 +474,7 @@ dependencies = [ "serde 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "string_cache 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "string_cache 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", "style_traits 0.0.1", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", "url 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/ports/geckolib/Cargo.toml b/ports/geckolib/Cargo.toml index d68bbc598c0..1b8fdfce72e 100644 --- a/ports/geckolib/Cargo.toml +++ b/ports/geckolib/Cargo.toml @@ -35,7 +35,7 @@ libc = "0.2" num_cpus = "0.2.2" selectors = {version = "0.6", features = ["unstable"]} smallvec = "0.1" -string_cache = {version = "0.2.18", features = ["unstable"]} +string_cache = {version = "0.2.20", features = ["unstable"]} url = "1.0.0" log = {version = "0.3.5", features = ["release_max_level_info"]} plugins = {path = "../../components/plugins"} @@ -47,4 +47,4 @@ style_traits = {path = "../../components/style_traits"} env_logger = "0.3" [replace] -"string_cache:0.2.18" = {path = "string_cache"} +"string_cache:0.2.20" = {path = "string_cache"} diff --git a/ports/geckolib/string_cache/Cargo.toml b/ports/geckolib/string_cache/Cargo.toml index 5474b88fa3d..9fd707c2a34 100644 --- a/ports/geckolib/string_cache/Cargo.toml +++ b/ports/geckolib/string_cache/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "string_cache" description = "A crate to allow using Gecko's nsIAtom as a replacement for string_cache." -version = "0.2.18" +version = "0.2.20" authors = ["The Servo Project Developers"] publish = false diff --git a/tests/unit/net/fetch.rs b/tests/unit/net/fetch.rs index 3514f69d6e0..d570244c1be 100644 --- a/tests/unit/net/fetch.rs +++ b/tests/unit/net/fetch.rs @@ -50,7 +50,7 @@ impl FetchTaskTarget for FetchResponseCollector { fn process_response_chunk(&mut self, _: Vec<u8>) {} /// Fired when the response is fully fetched fn process_response_eof(&mut self, response: &Response) { - self.sender.send(response.clone()); + let _ = self.sender.send(response.clone()); } } @@ -83,7 +83,7 @@ fn test_fetch_response_is_not_network_error() { let (mut server, url) = make_server(handler); let origin = Origin::Origin(url.origin()); - let mut request = Request::new(url, Some(origin), false); + let request = Request::new(url, Some(origin), false); *request.referer.borrow_mut() = Referer::NoReferer; let fetch_response = fetch_sync(request); let _ = server.close(); @@ -102,7 +102,7 @@ fn test_fetch_response_body_matches_const_message() { let (mut server, url) = make_server(handler); let origin = Origin::Origin(url.origin()); - let mut request = Request::new(url, Some(origin), false); + let request = Request::new(url, Some(origin), false); *request.referer.borrow_mut() = Referer::NoReferer; let fetch_response = fetch_sync(request); let _ = server.close(); @@ -122,7 +122,7 @@ fn test_fetch_response_body_matches_const_message() { fn test_fetch_aboutblank() { let url = Url::parse("about:blank").unwrap(); let origin = Origin::Origin(url.origin()); - let mut request = Request::new(url, Some(origin), false); + let request = Request::new(url, Some(origin), false); *request.referer.borrow_mut() = Referer::NoReferer; let fetch_response = fetch_sync(request); assert!(!fetch_response.is_network_error()); @@ -313,7 +313,7 @@ fn test_fetch_response_is_basic_filtered() { let (mut server, url) = make_server(handler); let origin = Origin::Origin(url.origin()); - let mut request = Request::new(url, Some(origin), false); + let request = Request::new(url, Some(origin), false); *request.referer.borrow_mut() = Referer::NoReferer; let fetch_response = fetch_sync(request); let _ = server.close(); @@ -390,7 +390,7 @@ fn test_fetch_response_is_opaque_filtered() { // an origin mis-match will fall through to an Opaque filtered response let origin = Origin::Origin(UrlOrigin::new_opaque()); - let mut request = Request::new(url, Some(origin), false); + let request = Request::new(url, Some(origin), false); *request.referer.borrow_mut() = Referer::NoReferer; let fetch_response = fetch_sync(request); let _ = server.close(); @@ -437,7 +437,7 @@ fn test_fetch_response_is_opaque_redirect_filtered() { let (mut server, url) = make_server(handler); let origin = Origin::Origin(url.origin()); - let mut request = Request::new(url, Some(origin), false); + let request = Request::new(url, Some(origin), false); *request.referer.borrow_mut() = Referer::NoReferer; request.redirect_mode.set(RedirectMode::Manual); let fetch_response = fetch_sync(request); @@ -512,7 +512,7 @@ fn setup_server_and_fetch(message: &'static [u8], redirect_cap: u32) -> Response let (mut server, url) = make_server(handler); let origin = Origin::Origin(url.origin()); - let mut request = Request::new(url, Some(origin), false); + let request = Request::new(url, Some(origin), false); *request.referer.borrow_mut() = Referer::NoReferer; let fetch_response = fetch_sync(request); let _ = server.close(); @@ -595,7 +595,7 @@ fn test_fetch_redirect_updates_method_runner(tx: Sender<bool>, status_code: Stat let (mut server, url) = make_server(handler); let origin = Origin::Origin(url.origin()); - let mut request = Request::new(url, Some(origin), false); + let request = Request::new(url, Some(origin), false); *request.referer.borrow_mut() = Referer::NoReferer; *request.method.borrow_mut() = method; @@ -670,7 +670,7 @@ fn test_fetch_async_returns_complete_response() { let (mut server, url) = make_server(handler); let origin = Origin::Origin(url.origin()); - let mut request = Request::new(url, Some(origin), false); + let request = Request::new(url, Some(origin), false); *request.referer.borrow_mut() = Referer::NoReferer; let (tx, rx) = channel(); @@ -695,7 +695,7 @@ fn test_opaque_filtered_fetch_async_returns_complete_response() { // an origin mis-match will fall through to an Opaque filtered response let origin = Origin::Origin(UrlOrigin::new_opaque()); - let mut request = Request::new(url, Some(origin), false); + let request = Request::new(url, Some(origin), false); *request.referer.borrow_mut() = Referer::NoReferer; let (tx, rx) = channel(); @@ -735,7 +735,7 @@ fn test_opaque_redirect_filtered_fetch_async_returns_complete_response() { let (mut server, url) = make_server(handler); let origin = Origin::Origin(url.origin()); - let mut request = Request::new(url, Some(origin), false); + let request = Request::new(url, Some(origin), false); *request.referer.borrow_mut() = Referer::NoReferer; request.redirect_mode.set(RedirectMode::Manual); diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/001.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/001.html.ini new file mode 100644 index 00000000000..b3538369e2e --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/001.html.ini @@ -0,0 +1,3 @@ +[001.html] + type: testharness + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/002.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/002.html.ini new file mode 100644 index 00000000000..29a2058d988 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/002.html.ini @@ -0,0 +1,3 @@ +[002.html] + type: testharness + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/004.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/004.html.ini new file mode 100644 index 00000000000..2c1c228a251 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/004.html.ini @@ -0,0 +1,3 @@ +[004.html] + type: testharness + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/005.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/005.html.ini new file mode 100644 index 00000000000..4982b00f15c --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/005.html.ini @@ -0,0 +1,6 @@ +[005.html] + type: testharness + expected: TIMEOUT + [history.pushState support is needed for this testcase] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/006.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/006.html.ini new file mode 100644 index 00000000000..505c9b8cf83 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/006.html.ini @@ -0,0 +1,14 @@ +[006.html] + type: testharness + [history.state should initially be null] + expected: FAIL + + [history.state should still be null onload] + expected: FAIL + + [history.state should still be null after onload] + expected: FAIL + + [writing to history.state should be silently ignored and not throw an error] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/007.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/007.html.ini new file mode 100644 index 00000000000..e346ad78fcf --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/007.html.ini @@ -0,0 +1,12 @@ +[007.html] + type: testharness + expected: TIMEOUT + [history.state should initially be null] + expected: FAIL + + [history.pushState support is needed for this testcase] + expected: FAIL + + [history.state should reflect pushed state] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/008.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/008.html.ini new file mode 100644 index 00000000000..9fbd1fc405a --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/008.html.ini @@ -0,0 +1,3 @@ +[008.html] + type: testharness + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/009.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/009.html.ini new file mode 100644 index 00000000000..2633411d86e --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/009.html.ini @@ -0,0 +1,3 @@ +[009.html] + type: testharness + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/010.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/010.html.ini new file mode 100644 index 00000000000..4dc31aa432a --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/010.html.ini @@ -0,0 +1,3 @@ +[010.html] + type: testharness + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/011.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/011.html.ini new file mode 100644 index 00000000000..0867b0401e0 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/011.html.ini @@ -0,0 +1,11 @@ +[011.html] + type: testharness + [pushState should be able to set the location state] + expected: FAIL + + [pushed location should be reflected immediately] + expected: FAIL + + [pushed location should be retained after the page has loaded] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/012.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/012.html.ini new file mode 100644 index 00000000000..b153bc5f21c --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/012.html.ini @@ -0,0 +1,11 @@ +[012.html] + type: testharness + [replaceState should be able to set the location state] + expected: FAIL + + [replaced location should be reflected immediately] + expected: FAIL + + [replaced location should be retained after the page has loaded] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/__dir__.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/__dir__.ini deleted file mode 100644 index 163ca23a12f..00000000000 --- a/tests/wpt/metadata/html/browsers/history/the-history-interface/__dir__.ini +++ /dev/null @@ -1 +0,0 @@ -disabled: for now diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_001.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_001.html.ini new file mode 100644 index 00000000000..6c1948b3884 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_001.html.ini @@ -0,0 +1,5 @@ +[combination_history_001.html] + type: testharness + [Combine pushState and replaceSate methods] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_002.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_002.html.ini new file mode 100644 index 00000000000..b298a5d7c07 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_002.html.ini @@ -0,0 +1,5 @@ +[combination_history_002.html] + type: testharness + [After calling of pushState method, check length] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_003.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_003.html.ini new file mode 100644 index 00000000000..0329eef96de --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_003.html.ini @@ -0,0 +1,5 @@ +[combination_history_003.html] + type: testharness + [After calling of pushState and replaceState methods, check length] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_004.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_004.html.ini new file mode 100644 index 00000000000..703bccbb334 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_004.html.ini @@ -0,0 +1,5 @@ +[combination_history_004.html] + type: testharness + [After calling of back method, check length] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_005.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_005.html.ini new file mode 100644 index 00000000000..969bd2d84f1 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_005.html.ini @@ -0,0 +1,5 @@ +[combination_history_005.html] + type: testharness + [After calling of forward method, check length] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_006.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_006.html.ini new file mode 100644 index 00000000000..416b9e58d13 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_006.html.ini @@ -0,0 +1,5 @@ +[combination_history_006.html] + type: testharness + [After calling of go method, check length] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_007.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_007.html.ini new file mode 100644 index 00000000000..5db6960533d --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/combination_history_007.html.ini @@ -0,0 +1,5 @@ +[combination_history_007.html] + type: testharness + [After calling of back and pushState method, check length] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/history_back.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_back.html.ini new file mode 100644 index 00000000000..5e01759025d --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_back.html.ini @@ -0,0 +1,5 @@ +[history_back.html] + type: testharness + [history back] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/history_back_1.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_back_1.html.ini new file mode 100644 index 00000000000..35fac2b2d04 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_back_1.html.ini @@ -0,0 +1,5 @@ +[history_back_1.html] + type: testharness + [history.back() with session history] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/history_forward.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_forward.html.ini new file mode 100644 index 00000000000..d3c12080dfa --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_forward.html.ini @@ -0,0 +1,5 @@ +[history_forward.html] + type: testharness + [history forward] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/history_forward_1.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_forward_1.html.ini new file mode 100644 index 00000000000..e327761c345 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_forward_1.html.ini @@ -0,0 +1,5 @@ +[history_forward_1.html] + type: testharness + [history.forward() with session history] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/history_go_minus.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_go_minus.html.ini new file mode 100644 index 00000000000..01f21b30960 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_go_minus.html.ini @@ -0,0 +1,5 @@ +[history_go_minus.html] + type: testharness + [history go minus] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/history_go_no_argument.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_go_no_argument.html.ini new file mode 100644 index 00000000000..06cda352aca --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_go_no_argument.html.ini @@ -0,0 +1,5 @@ +[history_go_no_argument.html] + type: testharness + [history.go()] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/history_go_plus.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_go_plus.html.ini new file mode 100644 index 00000000000..e2999746053 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_go_plus.html.ini @@ -0,0 +1,5 @@ +[history_go_plus.html] + type: testharness + [history go plus] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/history_go_undefined.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_go_undefined.html.ini new file mode 100644 index 00000000000..fdada5164ea --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_go_undefined.html.ini @@ -0,0 +1,5 @@ +[history_go_undefined.html] + type: testharness + [history.forward() with session history] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/history_go_zero.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_go_zero.html.ini new file mode 100644 index 00000000000..f5d4546b1c6 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_go_zero.html.ini @@ -0,0 +1,5 @@ +[history_go_zero.html] + type: testharness + [history.go(0)] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/history_pushstate.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_pushstate.html.ini new file mode 100644 index 00000000000..d9c5e0b38af --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_pushstate.html.ini @@ -0,0 +1,5 @@ +[history_pushstate.html] + type: testharness + [history pushState] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/history_pushstate_err.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_pushstate_err.html.ini new file mode 100644 index 00000000000..5a4e399ac99 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_pushstate_err.html.ini @@ -0,0 +1,5 @@ +[history_pushstate_err.html] + type: testharness + [history pushState SECURITY_ERR] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/history_pushstate_nooptionalparam.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_pushstate_nooptionalparam.html.ini new file mode 100644 index 00000000000..40a1deb0cc3 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_pushstate_nooptionalparam.html.ini @@ -0,0 +1,5 @@ +[history_pushstate_nooptionalparam.html] + type: testharness + [history pushState NoOptionalParam] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/history_replacestate.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_replacestate.html.ini new file mode 100644 index 00000000000..e2068698c0d --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_replacestate.html.ini @@ -0,0 +1,5 @@ +[history_replacestate.html] + type: testharness + [history replaceState] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/history_replacestate_err.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_replacestate_err.html.ini new file mode 100644 index 00000000000..316097c5b4d --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_replacestate_err.html.ini @@ -0,0 +1,5 @@ +[history_replacestate_err.html] + type: testharness + [history replaceState SECURITY_ERR] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/history_replacestate_nooptionalparam.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_replacestate_nooptionalparam.html.ini new file mode 100644 index 00000000000..d523d0b78d0 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_replacestate_nooptionalparam.html.ini @@ -0,0 +1,5 @@ +[history_replacestate_nooptionalparam.html] + type: testharness + [history replaceStateNoOptionalParam] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/history_state.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_state.html.ini new file mode 100644 index 00000000000..2819759ee82 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/history_state.html.ini @@ -0,0 +1,5 @@ +[history_state.html] + type: testharness + [history state] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/joint_session_history/001.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/joint_session_history/001.html.ini new file mode 100644 index 00000000000..5656ec3a8ae --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/joint_session_history/001.html.ini @@ -0,0 +1,24 @@ +[001.html] + type: testharness + expected: TIMEOUT + [Session history length on initial load] + expected: NOTRUN + + [Session history length on adding new iframe] + expected: NOTRUN + + [Navigating second iframe] + expected: NOTRUN + + [Traversing history back (1)] + expected: NOTRUN + + [Navigating first iframe] + expected: NOTRUN + + [Traversing history back (2)] + expected: NOTRUN + + [Traversing history forward] + expected: NOTRUN + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/joint_session_history/002.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/joint_session_history/002.html.ini new file mode 100644 index 00000000000..9dfb95ad692 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/joint_session_history/002.html.ini @@ -0,0 +1,12 @@ +[002.html] + type: testharness + expected: TIMEOUT + [Session history length on initial load] + expected: NOTRUN + + [Session history length on adding new iframe] + expected: NOTRUN + + [Navigating second iframe] + expected: NOTRUN + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/non-automated/traverse_the_session_history_unload_prompt_1.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/non-automated/traverse_the_session_history_unload_prompt_1.html.ini new file mode 100644 index 00000000000..7758856bbd4 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/non-automated/traverse_the_session_history_unload_prompt_1.html.ini @@ -0,0 +1,5 @@ +[traverse_the_session_history_unload_prompt_1.html] + type: testharness + [Traversing the history, unload event is fired on doucment] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini new file mode 100644 index 00000000000..10190c72bb4 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini @@ -0,0 +1,5 @@ +[traverse_the_history_1.html] + type: testharness + [Multiple history traversals from the same task] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_2.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_2.html.ini new file mode 100644 index 00000000000..ed5fa09b091 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_2.html.ini @@ -0,0 +1,5 @@ +[traverse_the_history_2.html] + type: testharness + [Multiple history traversals, last would be aborted] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_3.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_3.html.ini new file mode 100644 index 00000000000..a7756d149a0 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_3.html.ini @@ -0,0 +1,5 @@ +[traverse_the_history_3.html] + type: testharness + [Multiple history traversals, last would be aborted] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini new file mode 100644 index 00000000000..db91b39cbbb --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini @@ -0,0 +1,5 @@ +[traverse_the_history_4.html] + type: testharness + [Multiple history traversals, last would be aborted] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini new file mode 100644 index 00000000000..5235ab0c61b --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini @@ -0,0 +1,5 @@ +[traverse_the_history_5.html] + type: testharness + [Multiple history traversals, last would be aborted] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_unload_1.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_unload_1.html.ini new file mode 100644 index 00000000000..636f222b5e7 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_unload_1.html.ini @@ -0,0 +1,5 @@ +[traverse_the_history_unload_1.html] + type: testharness + [Traversing the history, unload event is fired on doucment] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_write_after_load_1.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_write_after_load_1.html.ini new file mode 100644 index 00000000000..5584b477abc --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_write_after_load_1.html.ini @@ -0,0 +1,5 @@ +[traverse_the_history_write_after_load_1.html] + type: testharness + [Traverse the history after document.write after the load event] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_write_after_load_2.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_write_after_load_2.html.ini new file mode 100644 index 00000000000..41eb9bd0f1e --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_write_after_load_2.html.ini @@ -0,0 +1,5 @@ +[traverse_the_history_write_after_load_2.html] + type: testharness + [Traverse the history back and forward when a history entry is written after the load event] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_write_onload_1.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_write_onload_1.html.ini new file mode 100644 index 00000000000..516f5cc63b4 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_write_onload_1.html.ini @@ -0,0 +1,5 @@ +[traverse_the_history_write_onload_1.html] + type: testharness + [Traverse the history when a history entry is written in the load event] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_write_onload_2.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_write_onload_2.html.ini new file mode 100644 index 00000000000..74579d4e362 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_write_onload_2.html.ini @@ -0,0 +1,5 @@ +[traverse_the_history_write_onload_2.html] + type: testharness + [Traverse the history back and forward when a history entry is written in the load event] + expected: FAIL + |