-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WPT: Autogenerate a test case for each test file
- Loading branch information
Showing
7 changed files
with
397 additions
and
344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
// Copyright (c) 2017-2022 Cloudflare, Inc. | ||
// Licensed under the Apache 2.0 license found in the LICENSE file or at: | ||
// https://opensource.org/licenses/Apache-2.0 | ||
|
||
export const config = { | ||
'a-element.js': { ignore: true }, | ||
'a-element-origin.js': { ignore: true }, | ||
'idlharness.any.js': { ignore: true }, | ||
'idlharness-shadowrealm.window.js': { ignore: true }, | ||
'javascript-urls.window.js': { ignore: true }, | ||
'toascii.window.js': { ignore: true }, | ||
'url-setters-a-area.window.js': { ignore: true }, | ||
'percent-encoding.window.js': { ignore: true }, | ||
'historical.any.js': { | ||
expectedFailures: ["Setting URL's href attribute and base URLs"], | ||
}, | ||
'url-constructor.any.js': { | ||
expectedFailures: [ | ||
'Parsing: <http://example.com/\uD800\uD801\uDFFE\uDFFF\uFDD0\uFDCF\uFDEF\uFDF0\uFFFE\uFFFF?\uD800\uD801\uDFFE\uDFFF\uFDD0\uFDCF\uFDEF\uFDF0\uFFFE\uFFFF> without base', | ||
], | ||
}, | ||
'urlencoded-parser.any.js': { | ||
expectedFailures: [ | ||
'request.formData() with input: test', | ||
'response.formData() with input: test', | ||
'request.formData() with input: \uFEFFtest=\uFEFF', | ||
'response.formData() with input: \uFEFFtest=\uFEFF', | ||
'request.formData() with input: %EF%BB%BFtest=%EF%BB%BF', | ||
'response.formData() with input: %EF%BB%BFtest=%EF%BB%BF', | ||
'request.formData() with input: %EF%BF%BF=%EF%BF%BF', | ||
'response.formData() with input: %EF%BF%BF=%EF%BF%BF', | ||
'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: †&†=x', | ||
'response.formData() with input: †&†=x', | ||
'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: ', | ||
'response.formData() with input: ', | ||
'request.formData() with input: a', | ||
'response.formData() with input: a', | ||
'request.formData() with input: a=b', | ||
'response.formData() with input: a=b', | ||
'request.formData() with input: a=', | ||
'response.formData() with input: a=', | ||
'request.formData() with input: =b', | ||
'response.formData() with input: =b', | ||
'request.formData() with input: &', | ||
'response.formData() with input: &', | ||
'request.formData() with input: &a', | ||
'response.formData() with input: &a', | ||
'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&b&c', | ||
'response.formData() with input: a&b&c', | ||
'request.formData() with input: a=b&c=d', | ||
'response.formData() with input: a=b&c=d', | ||
'request.formData() with input: a=b&c=d&', | ||
'response.formData() with input: a=b&c=d&', | ||
'request.formData() with input: &&&a=b&&&&c=d&', | ||
'response.formData() with input: &&&a=b&&&&c=d&', | ||
'request.formData() with input: a=a&a=b&a=c', | ||
'response.formData() with input: a=a&a=b&a=c', | ||
'request.formData() with input: a==a', | ||
'response.formData() with input: a==a', | ||
'request.formData() with input: a=a+b+c+d', | ||
'response.formData() with input: a=a+b+c+d', | ||
'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: %61=a', | ||
'response.formData() with input: %61=a', | ||
'request.formData() with input: %61+%4d%4D=', | ||
'response.formData() with input: %61+%4d%4D=', | ||
'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-constructor.any.js': { | ||
expectedFailures: [ | ||
'URLSearchParams constructor, DOMException 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-foreach.any.js': { | ||
skippedTests: ['For-of Check'], | ||
}, | ||
'urlsearchparams-sort.any.js': { | ||
expectedFailures: ['Parse and sort: ffi&🌈', 'URL parse and sort: ffi&🌈'], | ||
}, | ||
}; |
Oops, something went wrong.