From 6ecc86cf2ae4bb0aac6f3d0e954382a69176b387 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Thu, 28 Jan 2021 21:37:21 +0100 Subject: chore: add jsdoc to 26_fetch.js and enable some fetch tests (#9305) --- tools/wpt/expectation.json | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) (limited to 'tools') diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index fcb9698c3..b8a02d5a3 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -961,14 +961,8 @@ "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: †&†=x", + "response.formData() with input: †&†=x", "request.formData() with input: _charset_=windows-1252&test=%C2x", "response.formData() with input: _charset_=windows-1252&test=%C2x", "request.formData() with input: %=a", @@ -1006,5 +1000,23 @@ "urlsearchparams-set.any.js": true, "urlsearchparams-sort.any.js": true, "urlsearchparams-stringifier.any.js": true + }, + "fetch": { + "api": { + "request": { + "request-structure.any.js": [ + "Check destination attribute", + "Check referrer attribute", + "Check referrerPolicy attribute", + "Check mode attribute", + "Check credentials attribute", + "Check cache attribute", + "Check redirect attribute", + "Check integrity attribute", + "Check isReloadNavigation attribute", + "Check isHistoryNavigation attribute" + ] + } + } } } \ No newline at end of file -- cgit v1.2.3