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 --- .../webdriver/tests/classic/element_clear/clear.py.ini | 10 +++++++++- .../tests/classic/element_click/navigate.py.ini | 4 ---- .../tests/classic/element_click/user_prompts.py.ini | 4 ++++ .../tests/classic/execute_async_script/promise.py.ini | 4 ++++ .../find_element_from_element/user_prompts.py.ini | 4 ++++ .../classic/find_element_from_shadow_root/find.py.ini | 8 ++++++++ .../tests/classic/get_page_source/user_prompts.py.ini | 4 ++++ .../tests/classic/get_title/user_prompts.py.ini | 3 +++ .../meta/webdriver/tests/classic/new_session/__dir__.ini | 2 +- .../tests/classic/perform_actions/key_events.py.ini | 3 +++ .../tests/classic/perform_actions/user_prompts.py.ini | 16 ++++++++++++++++ 11 files changed, 56 insertions(+), 6 deletions(-) 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/tests/classic') 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