From 1698bc64c13366cd6248d99f089877d5111731b9 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Wed, 27 Jan 2021 22:37:15 +0100 Subject: tests: enable url wpt (#9299) --- tools/wpt/expectation.json | 388 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 388 insertions(+) diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index 5bc4d77bc..fcb9698c3 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -618,5 +618,393 @@ ] } } + }, + "url": { + "historical.any.js": [ + " and .searchParams should be undefined" + ], + "idlharness.any.js": false, + "url-constructor.any.js": [ + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: <:#> against ", + "Parsing: <#> against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: < File:c|////foo\\bar.html> against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: <\u0000\u001b\u0004\u0012 http://example.com/\u001f \r > against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: <#> against ", + "Parsing: <#> against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: <../i> against ", + "Parsing: <../i> against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: <\\/localhost//pig> against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: <\\\\\\.\\Y:> against ", + "Parsing: <\\\\\\.\\y:> against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: <#x> against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: <..//path> against ", + "Parsing: against ", + "Parsing: <> against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against " + ], + "url-origin.any.js": [ + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: <\u0000\u001b\u0004\u0012 http://example.com/\u001f \r > against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: <../i> against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: <#i> against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: <#x> against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against ", + "Origin parsing: against " + ], + "url-searchparams.any.js": [ + "URL.searchParams updating, clearing", + "URL.searchParams and URL.search setters, update propagation" + ], + "url-setters-stripping.any.js": [ + "Setting protocol with leading U+0000 (https:)", + "Setting protocol with U+0000 before inserted colon (https:)", + "Setting host with leading U+0000 (https:)", + "Setting host with middle U+0000 (https:)", + "Setting host with trailing U+0000 (https:)", + "Setting port with middle U+0000 (https:)", + "Setting port with trailing U+0000 (https:)", + "Setting protocol with leading U+0009 (https:)", + "Setting protocol with U+0009 before inserted colon (https:)", + "Setting host with leading U+0009 (https:)", + "Setting hostname with leading U+0009 (https:)", + "Setting host with middle U+0009 (https:)", + "Setting hostname with middle U+0009 (https:)", + "Setting host with trailing U+0009 (https:)", + "Setting hostname with trailing U+0009 (https:)", + "Setting port with leading U+0009 (https:)", + "Setting port with middle U+0009 (https:)", + "Setting port with trailing U+0009 (https:)", + "Setting pathname with leading U+0009 (https:)", + "Setting pathname with middle U+0009 (https:)", + "Setting pathname with trailing U+0009 (https:)", + "Setting search with leading U+0009 (https:)", + "Setting search with middle U+0009 (https:)", + "Setting search with trailing U+0009 (https:)", + "Setting hash with leading U+0009 (https:)", + "Setting hash with middle U+0009 (https:)", + "Setting hash with trailing U+0009 (https:)", + "Setting protocol with leading U+000A (https:)", + "Setting protocol with U+000A before inserted colon (https:)", + "Setting host with leading U+000A (https:)", + "Setting hostname with leading U+000A (https:)", + "Setting host with middle U+000A (https:)", + "Setting hostname with middle U+000A (https:)", + "Setting host with trailing U+000A (https:)", + "Setting hostname with trailing U+000A (https:)", + "Setting port with leading U+000A (https:)", + "Setting port with middle U+000A (https:)", + "Setting port with trailing U+000A (https:)", + "Setting pathname with leading U+000A (https:)", + "Setting pathname with middle U+000A (https:)", + "Setting pathname with trailing U+000A (https:)", + "Setting search with leading U+000A (https:)", + "Setting search with middle U+000A (https:)", + "Setting search with trailing U+000A (https:)", + "Setting hash with leading U+000A (https:)", + "Setting hash with middle U+000A (https:)", + "Setting hash with trailing U+000A (https:)", + "Setting protocol with leading U+000D (https:)", + "Setting protocol with U+000D before inserted colon (https:)", + "Setting host with leading U+000D (https:)", + "Setting hostname with leading U+000D (https:)", + "Setting host with middle U+000D (https:)", + "Setting hostname with middle U+000D (https:)", + "Setting host with trailing U+000D (https:)", + "Setting hostname with trailing U+000D (https:)", + "Setting port with leading U+000D (https:)", + "Setting port with middle U+000D (https:)", + "Setting port with trailing U+000D (https:)", + "Setting pathname with leading U+000D (https:)", + "Setting pathname with middle U+000D (https:)", + "Setting pathname with trailing U+000D (https:)", + "Setting search with leading U+000D (https:)", + "Setting search with middle U+000D (https:)", + "Setting search with trailing U+000D (https:)", + "Setting hash with leading U+000D (https:)", + "Setting hash with middle U+000D (https:)", + "Setting hash with trailing U+000D (https:)", + "Setting protocol with leading U+001F (https:)", + "Setting protocol with U+001F before inserted colon (https:)", + "Setting host with leading U+001F (https:)", + "Setting host with middle U+001F (https:)", + "Setting host with trailing U+001F (https:)", + "Setting port with middle U+001F (https:)", + "Setting port with trailing U+001F (https:)", + "Setting protocol with leading U+0000 (wpt++:)", + "Setting protocol with U+0000 before inserted colon (wpt++:)", + "Setting host with leading U+0000 (wpt++:)", + "Setting host with middle U+0000 (wpt++:)", + "Setting host with trailing U+0000 (wpt++:)", + "Setting port with middle U+0000 (wpt++:)", + "Setting port with trailing U+0000 (wpt++:)", + "Setting pathname with leading U+0000 (wpt++:)", + "Setting pathname with middle U+0000 (wpt++:)", + "Setting pathname with trailing U+0000 (wpt++:)", + "Setting protocol with leading U+0009 (wpt++:)", + "Setting protocol with U+0009 before inserted colon (wpt++:)", + "Setting host with leading U+0009 (wpt++:)", + "Setting hostname with leading U+0009 (wpt++:)", + "Setting host with middle U+0009 (wpt++:)", + "Setting hostname with middle U+0009 (wpt++:)", + "Setting host with trailing U+0009 (wpt++:)", + "Setting hostname with trailing U+0009 (wpt++:)", + "Setting port with leading U+0009 (wpt++:)", + "Setting port with middle U+0009 (wpt++:)", + "Setting port with trailing U+0009 (wpt++:)", + "Setting pathname with leading U+0009 (wpt++:)", + "Setting pathname with middle U+0009 (wpt++:)", + "Setting pathname with trailing U+0009 (wpt++:)", + "Setting search with leading U+0009 (wpt++:)", + "Setting search with middle U+0009 (wpt++:)", + "Setting search with trailing U+0009 (wpt++:)", + "Setting hash with leading U+0009 (wpt++:)", + "Setting hash with middle U+0009 (wpt++:)", + "Setting hash with trailing U+0009 (wpt++:)", + "Setting protocol with leading U+000A (wpt++:)", + "Setting protocol with U+000A before inserted colon (wpt++:)", + "Setting host with leading U+000A (wpt++:)", + "Setting hostname with leading U+000A (wpt++:)", + "Setting host with middle U+000A (wpt++:)", + "Setting hostname with middle U+000A (wpt++:)", + "Setting host with trailing U+000A (wpt++:)", + "Setting hostname with trailing U+000A (wpt++:)", + "Setting port with leading U+000A (wpt++:)", + "Setting port with middle U+000A (wpt++:)", + "Setting port with trailing U+000A (wpt++:)", + "Setting pathname with leading U+000A (wpt++:)", + "Setting pathname with middle U+000A (wpt++:)", + "Setting pathname with trailing U+000A (wpt++:)", + "Setting search with leading U+000A (wpt++:)", + "Setting search with middle U+000A (wpt++:)", + "Setting search with trailing U+000A (wpt++:)", + "Setting hash with leading U+000A (wpt++:)", + "Setting hash with middle U+000A (wpt++:)", + "Setting hash with trailing U+000A (wpt++:)", + "Setting protocol with leading U+000D (wpt++:)", + "Setting protocol with U+000D before inserted colon (wpt++:)", + "Setting host with leading U+000D (wpt++:)", + "Setting hostname with leading U+000D (wpt++:)", + "Setting host with middle U+000D (wpt++:)", + "Setting hostname with middle U+000D (wpt++:)", + "Setting host with trailing U+000D (wpt++:)", + "Setting hostname with trailing U+000D (wpt++:)", + "Setting port with leading U+000D (wpt++:)", + "Setting port with middle U+000D (wpt++:)", + "Setting port with trailing U+000D (wpt++:)", + "Setting pathname with leading U+000D (wpt++:)", + "Setting pathname with middle U+000D (wpt++:)", + "Setting pathname with trailing U+000D (wpt++:)", + "Setting search with leading U+000D (wpt++:)", + "Setting search with middle U+000D (wpt++:)", + "Setting search with trailing U+000D (wpt++:)", + "Setting hash with leading U+000D (wpt++:)", + "Setting hash with middle U+000D (wpt++:)", + "Setting hash with trailing U+000D (wpt++:)", + "Setting protocol with leading U+001F (wpt++:)", + "Setting protocol with U+001F before inserted colon (wpt++:)", + "Setting host with leading U+001F (wpt++:)", + "Setting host with middle U+001F (wpt++:)", + "Setting host with trailing U+001F (wpt++:)", + "Setting port with middle U+001F (wpt++:)", + "Setting port with trailing U+001F (wpt++:)", + "Setting pathname with leading U+001F (wpt++:)", + "Setting pathname with middle U+001F (wpt++:)", + "Setting pathname with trailing U+001F (wpt++:)" + ], + "url-tojson.any.js": true, + "urlencoded-parser.any.js": [ + "URLSearchParams constructed with: %EF%BB%BFtest=%EF%BB%BF", + "request.formData() with input: test=", + "response.formData() with input: test=", + "request.formData() with input: %FE%FF", + "response.formData() with input: %FE%FF", + "request.formData() with input: %FF%FE", + "response.formData() with input: %FF%FE", + "request.formData() with input: %C2", + "response.formData() with input: %C2", + "request.formData() with input: %C2x", + "response.formData() with input: %C2x", + "request.formData() with input: _charset_=windows-1252&test=%C2x", + "response.formData() with input: _charset_=windows-1252&test=%C2x", + "request.formData() with input: %=a", + "response.formData() with input: %=a", + "request.formData() with input: %a=a", + "response.formData() with input: %a=a", + "request.formData() with input: %a_=a", + "response.formData() with input: %a_=a", + "request.formData() with input: id=0&value=%", + "response.formData() with input: id=0&value=%", + "request.formData() with input: b=%2sf%2a", + "response.formData() with input: b=%2sf%2a", + "request.formData() with input: b=%2%2af%2a", + "response.formData() with input: b=%2%2af%2a", + "request.formData() with input: b=%%2a", + "response.formData() with input: b=%%2a" + ], + "urlsearchparams-append.any.js": true, + "urlsearchparams-constructor.any.js": [ + "URLSearchParams constructor, empty string as argument", + "Construct with 2 unpaired surrogates (no trailing)", + "Construct with 3 unpaired surrogates (no leading)", + "Construct with object with NULL, non-ASCII, and surrogate keys" + ], + "urlsearchparams-delete.any.js": true, + "urlsearchparams-foreach.any.js": [ + "For-of Check", + "delete next param during iteration", + "delete current param during iteration", + "delete every param seen during iteration" + ], + "urlsearchparams-get.any.js": true, + "urlsearchparams-getall.any.js": true, + "urlsearchparams-has.any.js": true, + "urlsearchparams-set.any.js": true, + "urlsearchparams-sort.any.js": true, + "urlsearchparams-stringifier.any.js": true } } \ No newline at end of file -- cgit v1.2.3