commit 3271ef7e7c2edf9ae6a5d8fa587ed7d10f724b1a
parent 791f95b9599dae1377c95f8e1d35683b40690cfb
Author: moz-wptsync-bot <wptsync@mozilla.com>
Date: Tue, 14 Oct 2025 18:18:20 +0000
Bug 1994238 [wpt PR 55362] - Update wpt metadata, a=testonly
wpt-pr: 55362
wpt-type: metadata
Diffstat:
5 files changed, 416 insertions(+), 0 deletions(-)
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/network/set_extra_headers/contexts.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/network/set_extra_headers/contexts.py.ini
@@ -0,0 +1,25 @@
+[contexts.py]
+ [test_isolation]
+ expected: ERROR
+
+ [test_frame[same_origin\]]
+ expected: ERROR
+
+ [test_frame[cross_origin\]]
+ expected: ERROR
+
+ [test_overrides_user_contexts[Default user context\]]
+ expected: ERROR
+
+ [test_overrides_user_contexts[Custom user context\]]
+ expected:
+ if os == "android": FAIL
+ ERROR
+
+ [test_overrides_global[Default user context\]]
+ expected: ERROR
+
+ [test_overrides_global[Custom user context\]]
+ expected:
+ if os == "android": FAIL
+ ERROR
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/network/set_extra_headers/headers.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/network/set_extra_headers/headers.py.ini
@@ -0,0 +1,20 @@
+[headers.py]
+ [test_set_and_remove[fetch\]]
+ expected: ERROR
+
+ [test_set_and_remove[navigation\]]
+ expected: ERROR
+
+ [test_multiple_headers[fetch\]]
+ expected: ERROR
+
+ [test_multiple_headers[navigation\]]
+ expected: ERROR
+
+ [test_headers_merged[Default user context\]]
+ expected: ERROR
+
+ [test_headers_merged[Custom user context\]]
+ expected:
+ if os == "android": FAIL
+ ERROR
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/network/set_extra_headers/headers_name_standard_tentative.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/network/set_extra_headers/headers_name_standard_tentative.py.ini
@@ -0,0 +1,114 @@
+[headers_name_standard_tentative.py]
+ [test_set_standard_headers[fetch-user-agent-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-referer-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-referer-https://some_valid_url.com/\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-accept-application/json\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-accept-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-accept-language-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-if-none-match-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-authorization-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-cookie-some nonsense value=\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-x-request-id-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-x-unicode-value-\\u4f60\\u597d\\u4e16\\u754c\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-host-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-host-example.com\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-connection-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-origin-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-keep-alive-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-keep-alive-timeout=5, max=200\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-sec-custom-header-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[fetch-proxy-custom-header-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-user-agent-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-referer-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-referer-https://some_valid_url.com/\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-accept-application/json\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-accept-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-accept-language-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-if-none-match-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-authorization-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-cookie-some nonsense value=\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-x-request-id-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-x-unicode-value-\\u4f60\\u597d\\u4e16\\u754c\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-host-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-host-example.com\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-connection-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-origin-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-keep-alive-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-keep-alive-timeout=5, max=200\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-sec-custom-header-some nonsense value\]]
+ expected: ERROR
+
+ [test_set_standard_headers[navigation-proxy-custom-header-some nonsense value\]]
+ expected: ERROR
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/network/set_extra_headers/invalid.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/network/set_extra_headers/invalid.py.ini
@@ -1,2 +1,229 @@
[invalid.py]
expected: ERROR
+ [test_params_contexts_invalid_type[42\]]
+ expected: ERROR
+
+ [test_params_contexts_invalid_type[False\]]
+ expected: ERROR
+
+ [test_params_contexts_invalid_type[None\]]
+ expected: ERROR
+
+ [test_params_contexts_invalid_type[foo\]]
+ expected: ERROR
+
+ [test_params_contexts_invalid_type[value4\]]
+ expected: ERROR
+
+ [test_params_contexts_empty_list]
+ expected: ERROR
+
+ [test_params_contexts_entry_invalid_type[42\]]
+ expected: ERROR
+
+ [test_params_contexts_entry_invalid_type[False\]]
+ expected: ERROR
+
+ [test_params_contexts_entry_invalid_type[None\]]
+ expected: ERROR
+
+ [test_params_contexts_entry_invalid_type[value3\]]
+ expected: ERROR
+
+ [test_params_contexts_entry_invalid_type[value4\]]
+ expected: ERROR
+
+ [test_params_contexts_entry_invalid_value]
+ expected: ERROR
+
+ [test_params_contexts_iframe]
+ expected: ERROR
+
+ [test_params_user_contexts_invalid_type[42\]]
+ expected: ERROR
+
+ [test_params_user_contexts_invalid_type[False\]]
+ expected: ERROR
+
+ [test_params_user_contexts_invalid_type[None\]]
+ expected: ERROR
+
+ [test_params_user_contexts_invalid_type[foo\]]
+ expected: ERROR
+
+ [test_params_user_contexts_invalid_type[value4\]]
+ expected: ERROR
+
+ [test_params_user_contexts_empty_list]
+ expected: ERROR
+
+ [test_params_user_contexts_entry_invalid_type[42\]]
+ expected: ERROR
+
+ [test_params_user_contexts_entry_invalid_type[False\]]
+ expected: ERROR
+
+ [test_params_user_contexts_entry_invalid_type[None\]]
+ expected: ERROR
+
+ [test_params_user_contexts_entry_invalid_type[value3\]]
+ expected: ERROR
+
+ [test_params_user_contexts_entry_invalid_type[value4\]]
+ expected: ERROR
+
+ [test_params_user_contexts_entry_invalid_value[\]]
+ expected: ERROR
+
+ [test_params_user_contexts_entry_invalid_value[somestring\]]
+ expected: ERROR
+
+ [test_params_contexts_and_user_contexts]
+ expected: ERROR
+
+ [test_params_headers_missing]
+ expected: ERROR
+
+ [test_params_headers_invalid_type[42\]]
+ expected: ERROR
+
+ [test_params_headers_invalid_type[False\]]
+ expected: ERROR
+
+ [test_params_headers_invalid_type[None\]]
+ expected: ERROR
+
+ [test_params_headers_invalid_type[foo\]]
+ expected: ERROR
+
+ [test_params_headers_invalid_type[value4\]]
+ expected: ERROR
+
+ [test_params_headers_header_invalid_type[42\]]
+ expected: ERROR
+
+ [test_params_headers_header_invalid_type[False\]]
+ expected: ERROR
+
+ [test_params_headers_header_invalid_type[None\]]
+ expected: ERROR
+
+ [test_params_headers_header_invalid_type[value3\]]
+ expected: ERROR
+
+ [test_params_headers_header_invalid_type[foo\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_type[42\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_type[False\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_type[None\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_type[value3\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_type[value4\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[ \]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[\\t\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[\\n\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value["\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[(\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[)\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[,\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[/\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[:\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[;\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[<\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[=\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[>\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[?\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[@\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[[\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[\\\\\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[\]\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[{\]]
+ expected: ERROR
+
+ [test_params_headers_header_name_invalid_value[}\]]
+ expected: ERROR
+
+ [test_params_headers_header_value_invalid_type[42\]]
+ expected: ERROR
+
+ [test_params_headers_header_value_invalid_type[False\]]
+ expected: ERROR
+
+ [test_params_headers_header_value_invalid_type[None\]]
+ expected: ERROR
+
+ [test_params_headers_header_value_invalid_type[value3\]]
+ expected: ERROR
+
+ [test_params_headers_header_value_invalid_type[value4\]]
+ expected: ERROR
+
+ [test_params_headers_header_value_invalid_value[ value\]]
+ expected: ERROR
+
+ [test_params_headers_header_value_invalid_value[value \]]
+ expected: ERROR
+
+ [test_params_headers_header_value_invalid_value[\\tvalue\]]
+ expected: ERROR
+
+ [test_params_headers_header_value_invalid_value[value\\t\]]
+ expected: ERROR
+
+ [test_params_headers_header_value_invalid_value[va\\x00lue\]]
+ expected: ERROR
+
+ [test_params_headers_header_value_invalid_value[va\\nlue\]]
+ expected: ERROR
+
+ [test_params_headers_header_value_invalid_value[va\\rlue\]]
+ expected: ERROR
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/network/set_extra_headers/user_contexts.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/network/set_extra_headers/user_contexts.py.ini
@@ -0,0 +1,30 @@
+[user_contexts.py]
+ [test_isolation[Default user context\]]
+ expected:
+ if os == "android": FAIL
+ ERROR
+
+ [test_isolation[Custom user context\]]
+ expected:
+ if os == "android": FAIL
+ ERROR
+
+ [test_frame[Default user context-same_origin\]]
+ expected: ERROR
+
+ [test_frame[Default user context-cross_origin\]]
+ expected: ERROR
+
+ [test_frame[Custom user context-same_origin\]]
+ expected: ERROR
+
+ [test_frame[Custom user context-cross_origin\]]
+ expected: ERROR
+
+ [test_overrides_global[Default user context\]]
+ expected: ERROR
+
+ [test_overrides_global[Custom user context\]]
+ expected:
+ if os == "android": FAIL
+ ERROR