diff --git a/Cargo.lock b/Cargo.lock index 11d165b9b47..b570c0bd27c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1194,7 +1194,7 @@ checksum = "2a3a85949f6cbf49a4e1ab98a98e0f9aabfe7d827a7f156da36c98a86dede2df" dependencies = [ "cssparser-macros", "dtoa-short", - "itoa", + "itoa 0.4.5", "matches", "phf 0.8.0", "proc-macro2", @@ -2748,13 +2748,13 @@ dependencies = [ [[package]] name = "http" -version = "0.2.1" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d569972648b2c512421b5f2a405ad6ac9666547189d0c5477a3f200f3e02f9" +checksum = "31f4c6746584866f0feabcc69893c5b51beef3831656a968ed7ae254cdc4fd03" dependencies = [ - "bytes 0.5.6", + "bytes 1.1.0", "fnv", - "itoa", + "itoa 1.0.1", ] [[package]] @@ -2817,7 +2817,7 @@ dependencies = [ "http-body 0.3.1", "httparse", "httpdate 0.3.2", - "itoa", + "itoa 0.4.5", "pin-project 1.0.2", "socket2 0.3.19", "tokio 0.2.21", @@ -2841,7 +2841,7 @@ dependencies = [ "http-body 0.4.4", "httparse", "httpdate 0.3.2", - "itoa", + "itoa 0.4.5", "pin-project 1.0.2", "socket2 0.4.2", "tokio 1.15.0", @@ -3044,6 +3044,12 @@ version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8b7a7c0c47db5545ed3fef7468ee7bb5b74691498139e4b3f6a20685dc6dd8e" +[[package]] +name = "itoa" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35" + [[package]] name = "jemalloc-sys" version = "0.3.2" @@ -5538,7 +5544,7 @@ version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "799e97dc9fdae36a5c8b8f2cae9ce2ee9fdce2058c57a93e6099d919fd982f79" dependencies = [ - "itoa", + "itoa 0.4.5", "ryu", "serde", ] @@ -5550,7 +5556,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ec5d77e2d4c73717816afac02670d5c4f534ea95ed430442cad02e7a6e32c97" dependencies = [ "dtoa", - "itoa", + "itoa 0.4.5", "serde", "url", ] @@ -6207,7 +6213,7 @@ dependencies = [ "html5ever", "indexmap", "itertools", - "itoa", + "itoa 0.4.5", "lazy_static", "log", "malloc_size_of", diff --git a/servo-tidy.toml b/servo-tidy.toml index 10ced931923..7b4a1d9bf0c 100644 --- a/servo-tidy.toml +++ b/servo-tidy.toml @@ -42,6 +42,7 @@ packages = [ "gleam", "h2", "image", + "itoa", "jpeg-decoder", "libloading", "lock_api", diff --git a/tests/wpt/metadata/cors/status-preflight.htm.ini b/tests/wpt/metadata/cors/status-preflight.htm.ini deleted file mode 100644 index cf220f7f4ae..00000000000 --- a/tests/wpt/metadata/cors/status-preflight.htm.ini +++ /dev/null @@ -1,7 +0,0 @@ -[status-preflight.htm] - [CORS - status after preflight on HEAD 699] - expected: FAIL - - [CORS - status after preflight on PUT 699] - expected: FAIL - diff --git a/tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini b/tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini deleted file mode 100644 index 72b09371038..00000000000 --- a/tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[elementFromPoint-001.html] - [CSSOM View - 5 - extensions to the Document interface] - expected: FAIL diff --git a/tests/wpt/metadata/css/cssom-view/elementFromPoint-dynamic-anon-box.html.ini b/tests/wpt/metadata/css/cssom-view/elementFromPoint-dynamic-anon-box.html.ini deleted file mode 100644 index 4596f046e93..00000000000 --- a/tests/wpt/metadata/css/cssom-view/elementFromPoint-dynamic-anon-box.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[elementFromPoint-dynamic-anon-box.html] - [Link should be clickable after hiding a scrollbox with an anonymous table inside] - expected: FAIL - diff --git a/tests/wpt/metadata/css/cssom-view/elementFromPosition.html.ini b/tests/wpt/metadata/css/cssom-view/elementFromPosition.html.ini index 898f39c4330..9f2a3229231 100644 --- a/tests/wpt/metadata/css/cssom-view/elementFromPosition.html.ini +++ b/tests/wpt/metadata/css/cssom-view/elementFromPosition.html.ini @@ -20,3 +20,6 @@ [test the top of layer] expected: FAIL + + [test some point of the element: top left corner] + expected: FAIL diff --git a/tests/wpt/metadata/css/cssom-view/elementsFromPoint-invalid-cases.html.ini b/tests/wpt/metadata/css/cssom-view/elementsFromPoint-invalid-cases.html.ini deleted file mode 100644 index a3496a40d07..00000000000 --- a/tests/wpt/metadata/css/cssom-view/elementsFromPoint-invalid-cases.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[elementsFromPoint-invalid-cases.html] - [The root element is the last element returned for otherwise empty queries within the viewport] - expected: FAIL diff --git a/tests/wpt/metadata/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini b/tests/wpt/metadata/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini index 8845054116d..7d4c3a1b06d 100644 --- a/tests/wpt/metadata/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini +++ b/tests/wpt/metadata/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini @@ -3,3 +3,6 @@ expected: TIMEOUT [The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document] expected: TIMEOUT + + [The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document] + expected: TIMEOUT diff --git a/tests/wpt/metadata/wasm/webapi/status.any.js.ini b/tests/wpt/metadata/wasm/webapi/status.any.js.ini index 7cb0f5c08a8..4e59b48d12b 100644 --- a/tests/wpt/metadata/wasm/webapi/status.any.js.ini +++ b/tests/wpt/metadata/wasm/webapi/status.any.js.ini @@ -23,6 +23,24 @@ [Response with status 404: instantiateStreaming] expected: FAIL + [Response with status 600: compileStreaming] + expected: FAIL + + [Response with status 700: compileStreaming] + expected: FAIL + + [Response with status 999: compileStreaming] + expected: FAIL + + [Response with status 600: instantiateStreaming] + expected: FAIL + + [Response with status 700: instantiateStreaming] + expected: FAIL + + [Response with status 999: instantiateStreaming] + expected: FAIL + [status.any.serviceworker.html] expected: ERROR @@ -61,3 +79,20 @@ [Response with status 404: instantiateStreaming] expected: FAIL + [Response with status 600: compileStreaming] + expected: FAIL + + [Response with status 700: compileStreaming] + expected: FAIL + + [Response with status 999: compileStreaming] + expected: FAIL + + [Response with status 600: instantiateStreaming] + expected: FAIL + + [Response with status 700: instantiateStreaming] + expected: FAIL + + [Response with status 999: instantiateStreaming] + expected: FAIL diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini index 66bd350083b..20a8f9a4320 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini @@ -1,4 +1,5 @@ [realtimeanalyser-fft-scaling.html] + expected: TIMEOUT [X 2048-point FFT peak position is not equal to 64. Got 0.] expected: FAIL @@ -70,4 +71,3 @@ [# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] expected: FAIL - diff --git a/tests/wpt/metadata/xhr/status-error.htm.ini b/tests/wpt/metadata/xhr/status-error.htm.ini deleted file mode 100644 index 922f4647fe4..00000000000 --- a/tests/wpt/metadata/xhr/status-error.htm.ini +++ /dev/null @@ -1,13 +0,0 @@ -[status-error.htm] - [XMLHttpRequest: status error handling GET 699] - expected: FAIL - - [XMLHttpRequest: status error handling POST 699] - expected: FAIL - - [XMLHttpRequest: status error handling PUT 699] - expected: FAIL - - [XMLHttpRequest: status error handling HEAD 699] - expected: FAIL -