From a90a5cba08fdf6c0ceb95101c275108a152a3aed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:37 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- .../capture_screenshot/capture_screenshot.py.ini | 8 +++ .../capture_screenshot/clip.py.ini | 9 ++- .../navigation_started/navigation_started.py.ini | 1 + .../set_viewport/device_pixel_ratio.py.ini | 21 +------ .../browsing_context/set_viewport/invalid.py.ini | 24 -------- .../permissions/set_permission/invalid.py.ini | 68 ---------------------- .../set_permission/set_permission.py.ini | 12 +--- .../bidi/input/perform_actions/key_events.py.ini | 18 ------ .../pointer_mouse_multiclick.py.ini | 32 ++++++++++ .../response_completed/response_completed.py.ini | 3 + .../bidi/storage/delete_cookies/filter.py.ini | 3 + .../tests/classic/element_clear/clear.py.ini | 10 +++- .../tests/classic/element_click/navigate.py.ini | 4 -- .../classic/element_click/user_prompts.py.ini | 4 ++ .../classic/execute_async_script/promise.py.ini | 4 ++ .../find_element_from_element/user_prompts.py.ini | 4 ++ .../find_element_from_shadow_root/find.py.ini | 8 +++ .../classic/get_page_source/user_prompts.py.ini | 4 ++ .../tests/classic/get_title/user_prompts.py.ini | 3 + .../tests/classic/new_session/__dir__.ini | 2 +- .../classic/perform_actions/key_events.py.ini | 3 + .../classic/perform_actions/user_prompts.py.ini | 16 +++++ 22 files changed, 115 insertions(+), 146 deletions(-) delete mode 100644 testing/web-platform/meta/webdriver/tests/bidi/external/permissions/set_permission/invalid.py.ini delete mode 100644 testing/web-platform/meta/webdriver/tests/bidi/input/perform_actions/key_events.py.ini create mode 100644 testing/web-platform/meta/webdriver/tests/bidi/input/perform_actions/pointer_mouse_multiclick.py.ini create mode 100644 testing/web-platform/meta/webdriver/tests/bidi/network/response_completed/response_completed.py.ini create mode 100644 testing/web-platform/meta/webdriver/tests/bidi/storage/delete_cookies/filter.py.ini delete mode 100644 testing/web-platform/meta/webdriver/tests/classic/element_click/navigate.py.ini create mode 100644 testing/web-platform/meta/webdriver/tests/classic/find_element_from_element/user_prompts.py.ini create mode 100644 testing/web-platform/meta/webdriver/tests/classic/get_page_source/user_prompts.py.ini create mode 100644 testing/web-platform/meta/webdriver/tests/classic/get_title/user_prompts.py.ini create mode 100644 testing/web-platform/meta/webdriver/tests/classic/perform_actions/user_prompts.py.ini (limited to 'testing/web-platform/meta/webdriver') diff --git a/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/capture_screenshot/capture_screenshot.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/capture_screenshot/capture_screenshot.py.ini index 7b783752b4..de6c221775 100644 --- a/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/capture_screenshot/capture_screenshot.py.ini +++ b/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/capture_screenshot/capture_screenshot.py.ini @@ -16,3 +16,11 @@ [test_capture_with_viewport[height larger-width larger\]] disabled: if os == "android": bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1840084 + + [test_capture_with_different_dpr[0.5\]] + disabled: + if os == "android": bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1840084 + + [test_capture_with_different_dpr[2\]] + disabled: + if os == "android": bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1840084 diff --git a/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/capture_screenshot/clip.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/capture_screenshot/clip.py.ini index 60533fba25..763c93f85b 100644 --- a/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/capture_screenshot/clip.py.ini +++ b/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/capture_screenshot/clip.py.ini @@ -1,3 +1,8 @@ [clip.py] - expected: - if (processor == "x86") and not debug: [OK, TIMEOUT] + [test_clip_with_different_dpr[0.5\]] + disabled: + if os == "android": bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1840084 + + [test_clip_with_different_dpr[2\]] + disabled: + if os == "android": bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1840084 diff --git a/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/navigation_started/navigation_started.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/navigation_started/navigation_started.py.ini index 78cffcbc44..5dd5cecee7 100644 --- a/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/navigation_started/navigation_started.py.ini +++ b/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/navigation_started/navigation_started.py.ini @@ -10,4 +10,5 @@ [test_redirect_navigation] expected: + if (processor == "x86_64") and (os == "win") and not debug: [PASS, FAIL] if (processor == "x86") and debug: [PASS, FAIL] diff --git a/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/set_viewport/device_pixel_ratio.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/set_viewport/device_pixel_ratio.py.ini index 57b8a7029e..f8294d1c0c 100644 --- a/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/set_viewport/device_pixel_ratio.py.ini +++ b/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/set_viewport/device_pixel_ratio.py.ini @@ -1,20 +1,3 @@ [device_pixel_ratio.py] - [test_device_pixel_ratio_only[0.5\]] - bug: 1857961 - expected: FAIL - - [test_device_pixel_ratio_only[2\]] - bug: 1857961 - expected: FAIL - - [test_device_pixel_ratio_with_viewport[0.5\]] - bug: 1865618 - expected: FAIL - - [test_device_pixel_ratio_with_viewport[2\]] - bug: 1857961 - expected: FAIL - - [test_reset_device_pixel_ratio] - bug: 1857961 - expected: FAIL + disabled: + if os == "android": bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1840084 diff --git a/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/set_viewport/invalid.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/set_viewport/invalid.py.ini index bbbf87d899..773c05751b 100644 --- a/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/set_viewport/invalid.py.ini +++ b/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/set_viewport/invalid.py.ini @@ -1,27 +1,3 @@ [invalid.py] disabled: if os == "android": bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1840084 - - [test_params_devicePixelRatio_invalid_type[False\]] - bug: 1857961 - expected: FAIL - - [test_params_devicePixelRatio_invalid_type[\]] - bug: 1857961 - expected: FAIL - - [test_params_devicePixelRatio_invalid_type[device_pixel_ratio2\]] - bug: 1857961 - expected: FAIL - - [test_params_devicePixelRatio_invalid_type[device_pixel_ratio3\]] - bug: 1857961 - expected: FAIL - - [test_params_devicePixelRatio_invalid_value[0\]] - bug: 1857961 - expected: FAIL - - [test_params_devicePixelRatio_invalid_value[-1\]] - bug: 1857961 - expected: FAIL diff --git a/testing/web-platform/meta/webdriver/tests/bidi/external/permissions/set_permission/invalid.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/external/permissions/set_permission/invalid.py.ini deleted file mode 100644 index 4c807f188f..0000000000 --- a/testing/web-platform/meta/webdriver/tests/bidi/external/permissions/set_permission/invalid.py.ini +++ /dev/null @@ -1,68 +0,0 @@ -[invalid.py] - expected: - if (processor == "x86") and not debug: [OK, TIMEOUT] - [test_params_descriptor_invalid_type[False\]] - expected: FAIL - - [test_params_descriptor_invalid_type[SOME_STRING\]] - expected: FAIL - - [test_params_descriptor_invalid_type[42\]] - expected: FAIL - - [test_params_descriptor_invalid_type[descriptor3\]] - expected: FAIL - - [test_params_descriptor_invalid_type[descriptor4\]] - expected: FAIL - - [test_params_descriptor_invalid_type[descriptor5\]] - expected: FAIL - - [test_params_descriptor_invalid_type[None\]] - expected: FAIL - - [test_params_descriptor_invalid_type[descriptor7\]] - expected: FAIL - - [test_params_descriptor_invalid_value[descriptor0\]] - expected: FAIL - - [test_params_state_invalid_type[False\]] - expected: FAIL - - [test_params_state_invalid_type[42\]] - expected: FAIL - - [test_params_state_invalid_type[state2\]] - expected: FAIL - - [test_params_state_invalid_type[state3\]] - expected: FAIL - - [test_params_state_invalid_type[None\]] - expected: FAIL - - [test_params_state_invalid_type[state5\]] - expected: FAIL - - [test_params_state_invalid_value[Granted\]] - expected: FAIL - - [test_params_origin_invalid_type[False\]] - expected: FAIL - - [test_params_origin_invalid_type[42\]] - expected: FAIL - - [test_params_origin_invalid_type[None\]] - expected: FAIL - - [test_params_state_invalid_value[UNKNOWN\]] - expected: FAIL - - [test_params_origin_invalid_type[user_context2\]] - expected: FAIL - - [test_params_origin_invalid_type[user_context3\]] - expected: FAIL diff --git a/testing/web-platform/meta/webdriver/tests/bidi/external/permissions/set_permission/set_permission.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/external/permissions/set_permission/set_permission.py.ini index 789600d426..1de0c86fe0 100644 --- a/testing/web-platform/meta/webdriver/tests/bidi/external/permissions/set_permission/set_permission.py.ini +++ b/testing/web-platform/meta/webdriver/tests/bidi/external/permissions/set_permission/set_permission.py.ini @@ -1,13 +1,4 @@ [set_permission.py] - [test_set_permission] - expected: FAIL - - [test_set_permission_insecure_context] - expected: FAIL - - [test_set_permission_new_context] - expected: FAIL - [test_set_permission_origin_unknown[UNKNOWN\]] expected: FAIL @@ -16,3 +7,6 @@ [test_set_permission_user_context] expected: FAIL + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1894217 + disabled: + if os == "android": bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1877953 diff --git a/testing/web-platform/meta/webdriver/tests/bidi/input/perform_actions/key_events.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/input/perform_actions/key_events.py.ini deleted file mode 100644 index dcd8ba4c43..0000000000 --- a/testing/web-platform/meta/webdriver/tests/bidi/input/perform_actions/key_events.py.ini +++ /dev/null @@ -1,18 +0,0 @@ -[key_events.py] - [test_non_printable_key_sends_events[\\ue00c-ESCAPE\]] - expected: FAIL - - [test_non_printable_key_sends_events[\\ue014-RIGHT\]] - expected: FAIL - - [test_key_printable_sequence[True\]] - expected: FAIL - - [test_key_printable_sequence[False\]] - expected: FAIL - - [test_key_space] - expected: FAIL - - [test_keyup_only_sends_no_events] - expected: FAIL diff --git a/testing/web-platform/meta/webdriver/tests/bidi/input/perform_actions/pointer_mouse_multiclick.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/input/perform_actions/pointer_mouse_multiclick.py.ini new file mode 100644 index 0000000000..975e9253b9 --- /dev/null +++ b/testing/web-platform/meta/webdriver/tests/bidi/input/perform_actions/pointer_mouse_multiclick.py.ini @@ -0,0 +1,32 @@ +[pointer_mouse_multiclick.py] + [test_dblclick_at_coordinates[0-True\]] + expected: + if tsan: [PASS, ERROR] + + [test_dblclick_at_coordinates[0-False\]] + expected: + if tsan: [PASS, ERROR] + + [test_dblclick_at_coordinates[200-True\]] + expected: + if tsan: [PASS, ERROR] + + [test_dblclick_at_coordinates[200-False\]] + expected: + if tsan: [PASS, ERROR] + + [test_dblclick_at_coordinates[650-True\]] + expected: + if tsan: [PASS, ERROR] + + [test_dblclick_at_coordinates[650-False\]] + expected: + if tsan: [PASS, ERROR] + + [test_no_dblclick_when_mouse_moves] + expected: + if tsan: [PASS, ERROR] + + [test_tripleclick_at_coordinates] + expected: + if tsan: [PASS, ERROR] diff --git a/testing/web-platform/meta/webdriver/tests/bidi/network/response_completed/response_completed.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/network/response_completed/response_completed.py.ini new file mode 100644 index 0000000000..49bd9d0c25 --- /dev/null +++ b/testing/web-platform/meta/webdriver/tests/bidi/network/response_completed/response_completed.py.ini @@ -0,0 +1,3 @@ +[response_completed.py] + expected: + if (processor == "x86") and not debug: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/webdriver/tests/bidi/storage/delete_cookies/filter.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/storage/delete_cookies/filter.py.ini new file mode 100644 index 0000000000..40ee05331e --- /dev/null +++ b/testing/web-platform/meta/webdriver/tests/bidi/storage/delete_cookies/filter.py.ini @@ -0,0 +1,3 @@ +[filter.py] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT] diff --git a/testing/web-platform/meta/webdriver/tests/classic/element_clear/clear.py.ini b/testing/web-platform/meta/webdriver/tests/classic/element_clear/clear.py.ini index beec02684f..a4404f0bed 100644 --- a/testing/web-platform/meta/webdriver/tests/classic/element_clear/clear.py.ini +++ b/testing/web-platform/meta/webdriver/tests/classic/element_clear/clear.py.ini @@ -11,7 +11,7 @@ [test_input[url-https://example.com/-\]] expected: - if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, FAIL] + if (os == "win") and debug and (processor == "x86_64"): [PASS, FAIL] [test_input_readonly[tel\]] expected: @@ -20,3 +20,11 @@ [test_input_readonly[text\]] expected: if (processor == "x86") and debug: [PASS, FAIL] + + [test_no_browsing_context] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, ERROR] + + [test_no_such_element_with_shadow_root] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL] diff --git a/testing/web-platform/meta/webdriver/tests/classic/element_click/navigate.py.ini b/testing/web-platform/meta/webdriver/tests/classic/element_click/navigate.py.ini deleted file mode 100644 index 5b1882ba0b..0000000000 --- a/testing/web-platform/meta/webdriver/tests/classic/element_click/navigate.py.ini +++ /dev/null @@ -1,4 +0,0 @@ -[navigate.py] - - [test_link_unload_event] - bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1786639 diff --git a/testing/web-platform/meta/webdriver/tests/classic/element_click/user_prompts.py.ini b/testing/web-platform/meta/webdriver/tests/classic/element_click/user_prompts.py.ini index e8195b6ff4..81663db8f4 100644 --- a/testing/web-platform/meta/webdriver/tests/classic/element_click/user_prompts.py.ini +++ b/testing/web-platform/meta/webdriver/tests/classic/element_click/user_prompts.py.ini @@ -10,3 +10,7 @@ [test_dismiss[capabilities0-prompt-None\]] disabled: if os == "android": bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1762248 + + [test_default[beforeunload-None\]] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL] diff --git a/testing/web-platform/meta/webdriver/tests/classic/execute_async_script/promise.py.ini b/testing/web-platform/meta/webdriver/tests/classic/execute_async_script/promise.py.ini index abce0b314e..18338e74c7 100644 --- a/testing/web-platform/meta/webdriver/tests/classic/execute_async_script/promise.py.ini +++ b/testing/web-platform/meta/webdriver/tests/classic/execute_async_script/promise.py.ini @@ -1,3 +1,7 @@ [promise.py] [test_await_promise_resolve] expected: FAIL + + [test_promise_resolve] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, ERROR] diff --git a/testing/web-platform/meta/webdriver/tests/classic/find_element_from_element/user_prompts.py.ini b/testing/web-platform/meta/webdriver/tests/classic/find_element_from_element/user_prompts.py.ini new file mode 100644 index 0000000000..9b3e1ad584 --- /dev/null +++ b/testing/web-platform/meta/webdriver/tests/classic/find_element_from_element/user_prompts.py.ini @@ -0,0 +1,4 @@ +[user_prompts.py] + [test_dismiss_and_notify[capabilities0-alert-None\]] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL] diff --git a/testing/web-platform/meta/webdriver/tests/classic/find_element_from_shadow_root/find.py.ini b/testing/web-platform/meta/webdriver/tests/classic/find_element_from_shadow_root/find.py.ini index 5c55d20d1d..b0ba613ed0 100644 --- a/testing/web-platform/meta/webdriver/tests/classic/find_element_from_shadow_root/find.py.ini +++ b/testing/web-platform/meta/webdriver/tests/classic/find_element_from_shadow_root/find.py.ini @@ -16,3 +16,11 @@ [test_find_element[closed-xpath-//a\]] bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1822311 expected: FAIL + + [test_find_element_partial_link_text[partial link text-LINK\]] + expected: + if (processor == "x86") and not debug: [PASS, FAIL] + + [test_find_element_partial_link_text[PARTIAL LINK TEXT-LINK\]] + expected: + if (processor == "x86") and not debug: [PASS, FAIL] diff --git a/testing/web-platform/meta/webdriver/tests/classic/get_page_source/user_prompts.py.ini b/testing/web-platform/meta/webdriver/tests/classic/get_page_source/user_prompts.py.ini new file mode 100644 index 0000000000..f850bc9e5f --- /dev/null +++ b/testing/web-platform/meta/webdriver/tests/classic/get_page_source/user_prompts.py.ini @@ -0,0 +1,4 @@ +[user_prompts.py] + [test_accept[capabilities0-alert-None\]] + expected: + if (os == "android") and debug: [PASS, ERROR] diff --git a/testing/web-platform/meta/webdriver/tests/classic/get_title/user_prompts.py.ini b/testing/web-platform/meta/webdriver/tests/classic/get_title/user_prompts.py.ini new file mode 100644 index 0000000000..bb22c692c1 --- /dev/null +++ b/testing/web-platform/meta/webdriver/tests/classic/get_title/user_prompts.py.ini @@ -0,0 +1,3 @@ +[user_prompts.py] + expected: + if (os == "linux") and debug and fission: [OK, CRASH] diff --git a/testing/web-platform/meta/webdriver/tests/classic/new_session/__dir__.ini b/testing/web-platform/meta/webdriver/tests/classic/new_session/__dir__.ini index 449e3bbb19..e91def48b7 100644 --- a/testing/web-platform/meta/webdriver/tests/classic/new_session/__dir__.ini +++ b/testing/web-platform/meta/webdriver/tests/classic/new_session/__dir__.ini @@ -1 +1 @@ -lsan-allowed: [MakeUnique, Malloc, XPCNativeSet::NewInstanceMutate, XPCWrappedNative::GetNewOrUsed, mozilla::extensions::MatchPatternCore::MatchPatternCore, mozilla::extensions::MatchPatternSet::Constructor, mozilla::extensions::MatchPatternSet::GetPatterns, mozilla::extensions::PermittedSchemes, nsLocalFile::Clone, nsStringBuffer::Alloc, nsStringBundleService::insertIntoCache] +lsan-allowed: [Create, CreateChildSHistory, MakeUnique, Malloc, PLDHashTable::MakeEntryHandle, WeakPtr, XPCNativeSet::NewInstanceMutate, XPCWrappedNative::GetNewOrUsed, mozilla::ThrottledEventQueue::Create, mozilla::dom::BrowsingContext::Attach, mozilla::dom::BrowsingContext::CreateDetached, mozilla::dom::CanonicalBrowsingContext::GetSecureBrowserUI, mozilla::extensions::MatchPatternCore::MatchPatternCore, mozilla::extensions::MatchPatternSet::Constructor, mozilla::extensions::MatchPatternSet::GetPatterns, mozilla::extensions::PermittedSchemes, nsLocalFile::Clone, nsStringBuffer::Alloc, nsStringBundleService::insertIntoCache, operator] diff --git a/testing/web-platform/meta/webdriver/tests/classic/perform_actions/key_events.py.ini b/testing/web-platform/meta/webdriver/tests/classic/perform_actions/key_events.py.ini index 68c65444fa..12f1ef5b94 100644 --- a/testing/web-platform/meta/webdriver/tests/classic/perform_actions/key_events.py.ini +++ b/testing/web-platform/meta/webdriver/tests/classic/perform_actions/key_events.py.ini @@ -1,3 +1,6 @@ [key_events.py] expected: if (processor == "x86") and not debug: [OK, TIMEOUT] + [test_special_key_sends_keydown[NUMPAD4-expected37\]] + expected: + if (os == "mac") and not debug: [PASS, ERROR] diff --git a/testing/web-platform/meta/webdriver/tests/classic/perform_actions/user_prompts.py.ini b/testing/web-platform/meta/webdriver/tests/classic/perform_actions/user_prompts.py.ini new file mode 100644 index 0000000000..6d71518f12 --- /dev/null +++ b/testing/web-platform/meta/webdriver/tests/classic/perform_actions/user_prompts.py.ini @@ -0,0 +1,16 @@ +[user_prompts.py] + [test_default[confirm-False\]] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, ERROR] + + [test_default[prompt-None\]] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, ERROR] + + [test_dismissed_beforeunload] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, ERROR] + + [test_ignore[capabilities0-alert\]] + expected: + if (processor == "x86") and not debug: [PASS, ERROR] -- cgit v1.2.3