Skip to content

Commit

Permalink
Bug 1870032 - [wdspec] add network interception invalidation tests fo…
Browse files Browse the repository at this point in the history
…r all remaining methods r=webdriver-reviewers,whimboo

Synced from web-platform-tests/wpt#42667

Differential Revision: https://phabricator.services.mozilla.com/D196424
  • Loading branch information
juliandescottes committed Dec 15, 2023
1 parent caf7139 commit 07937a5
Show file tree
Hide file tree
Showing 21 changed files with 782 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
leak-threshold: [tab:358400]
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
[invalid.py]
[test_params_method_invalid_type[False\]]
expected: FAIL

[test_params_method_invalid_type[42\]]
expected: FAIL

[test_params_method_invalid_type[value2\]]
expected: FAIL

[test_params_method_invalid_type[value3\]]
expected: FAIL

[test_params_request_invalid_type[None\]]
expected: FAIL

[test_params_request_invalid_type[False\]]
expected: FAIL

[test_params_request_invalid_type[42\]]
expected: FAIL

[test_params_request_invalid_type[value3\]]
expected: FAIL

[test_params_request_invalid_type[value4\]]
expected: FAIL

[test_params_request_invalid_value[\]]
expected: FAIL

[test_params_request_invalid_value[foo\]]
expected: FAIL

[test_params_request_no_such_request]
expected: FAIL

[test_params_url_invalid_type[False\]]
expected: FAIL

[test_params_url_invalid_type[42\]]
expected: FAIL

[test_params_url_invalid_type[value2\]]
expected: FAIL

[test_params_url_invalid_type[value3\]]
expected: FAIL

[test_params_url_invalid_value[:invalid-http\]]
expected: FAIL

[test_params_url_invalid_value[:invalid-https\]]
expected: FAIL

[test_params_url_invalid_value[#invalid-http\]]
expected: FAIL

[test_params_url_invalid_value[#invalid-https\]]
expected: FAIL
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
leak-threshold: [tab:358400]
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
[invalid.py]
[test_params_request_invalid_phase]
expected: FAIL

[test_params_reason_phrase_invalid_type[False\]]
expected: FAIL

[test_params_reason_phrase_invalid_type[42\]]
expected: FAIL

[test_params_reason_phrase_invalid_type[value2\]]
expected: FAIL

[test_params_reason_phrase_invalid_type[value3\]]
expected: FAIL

[test_params_status_code_invalid_type[False\]]
expected: FAIL

[test_params_status_code_invalid_type[foo\]]
expected: FAIL

[test_params_status_code_invalid_type[value2\]]
expected: FAIL

[test_params_status_code_invalid_type[value3\]]
expected: FAIL

[test_params_status_code_invalid_value[-1\]]
expected: FAIL

[test_params_status_code_invalid_value[4.3\]]
expected: FAIL

[test_params_request_invalid_type[None\]]
expected: FAIL

[test_params_request_invalid_type[False\]]
expected: FAIL

[test_params_request_invalid_type[42\]]
expected: FAIL

[test_params_request_invalid_type[value3\]]
expected: FAIL

[test_params_request_invalid_type[value4\]]
expected: FAIL

[test_params_request_invalid_value[\]]
expected: FAIL

[test_params_request_invalid_value[foo\]]
expected: FAIL

[test_params_request_no_such_request]
expected: FAIL
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
leak-threshold: [tab:358400]
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
[invalid.py]
[test_params_request_invalid_phase[beforeRequestSent\]]
expected: FAIL

[test_params_request_invalid_phase[responseStarted\]]
expected: FAIL

[test_params_request_invalid_type[None\]]
expected: FAIL

[test_params_request_invalid_type[False\]]
expected: FAIL

[test_params_request_invalid_type[42\]]
expected: FAIL

[test_params_request_invalid_type[value3\]]
expected: FAIL

[test_params_request_invalid_type[value4\]]
expected: FAIL

[test_params_request_invalid_value[\]]
expected: FAIL

[test_params_request_invalid_value[foo\]]
expected: FAIL

[test_params_request_no_such_request]
expected: FAIL

[test_params_action_invalid_type[None\]]
expected: FAIL

[test_params_action_invalid_type[False\]]
expected: FAIL

[test_params_action_invalid_type[42\]]
expected: FAIL

[test_params_action_invalid_type[value3\]]
expected: FAIL

[test_params_action_invalid_type[value4\]]
expected: FAIL

[test_params_action_invalid_value[\]]
expected: FAIL

[test_params_action_invalid_value[foo\]]
expected: FAIL

[test_params_action_provideCredentials_invalid_credentials[missing username\]]
expected: FAIL

[test_params_action_provideCredentials_invalid_credentials[missing password\]]
expected: FAIL

[test_params_action_provideCredentials_invalid_credentials[missing username and password\]]
expected: FAIL

[test_params_action_provideCredentials_invalid_credentials[missing type\]]
expected: FAIL

[test_params_action_provideCredentials_invalid_credentials[missing credentials\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_type_invalid_type[None\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_type_invalid_type[False\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_type_invalid_type[42\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_type_invalid_type[value3\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_type_invalid_type[value4\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_type_invalid_value[\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_type_invalid_value[foo\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_username_invalid_type[None\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_username_invalid_type[False\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_username_invalid_type[42\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_username_invalid_type[value3\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_username_invalid_type[value4\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_password_invalid_type[None\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_password_invalid_type[False\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_password_invalid_type[42\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_password_invalid_type[value3\]]
expected: FAIL

[test_params_action_provideCredentials_credentials_password_invalid_type[value4\]]
expected: FAIL
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
leak-threshold: [tab:358400]
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
[invalid.py]
[test_params_request_invalid_phase]
expected: FAIL

[test_params_request_invalid_type[None\]]
expected: FAIL

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
leak-threshold: [tab:358400]
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
[invalid.py]
[test_params_reason_phrase_invalid_type[False\]]
expected: FAIL

[test_params_reason_phrase_invalid_type[42\]]
expected: FAIL

[test_params_reason_phrase_invalid_type[value2\]]
expected: FAIL

[test_params_reason_phrase_invalid_type[value3\]]
expected: FAIL

[test_params_status_code_invalid_type[False\]]
expected: FAIL

[test_params_status_code_invalid_type[foo\]]
expected: FAIL

[test_params_status_code_invalid_type[value2\]]
expected: FAIL

[test_params_status_code_invalid_type[value3\]]
expected: FAIL

[test_params_status_code_invalid_value[-1\]]
expected: FAIL

[test_params_status_code_invalid_value[4.3\]]
expected: FAIL

[test_params_request_invalid_type[None\]]
expected: FAIL

[test_params_request_invalid_type[False\]]
expected: FAIL

[test_params_request_invalid_type[42\]]
expected: FAIL

[test_params_request_invalid_type[value3\]]
expected: FAIL

[test_params_request_invalid_type[value4\]]
expected: FAIL

[test_params_request_invalid_value[\]]
expected: FAIL

[test_params_request_invalid_value[foo\]]
expected: FAIL

[test_params_request_no_such_request]
expected: FAIL
Loading

0 comments on commit 07937a5

Please sign in to comment.