Closed Bug 1600078 Opened 5 years ago Closed 4 years ago

Move test_alert_unsupported_operation out of WPT

Categories

(Testing :: geckodriver, task, P1)

Version 3
task

Tracking

(firefox73 fixed)

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: ato, Assigned: ato)

References

Details

Attachments

(2 files)

The test_alert_unsupported_operation test in testing/web-platform/tests/webdriver/tests/send_alert_text/send.py is Firefox-specific because basic auth prompts are not part of HTML’s definition of user prompts.

We should move the test to testing/web-platform/mozilla/ so that we can continue testing this Gecko-specific behaviour.

Priority: -- → P3
Assignee: nobody → ato
Status: NEW → ASSIGNED
Priority: P3 → P1

Basic auth dialogues are not included in HTML's definition of
'user prompts': those are limited to the 'simple dialogues' such
as window.alert(), window.prompt() et al. and the print dialogue.

Since we don't want to regress this behaviour in geckodriver, this
patch removes test_alert_unsupported_operation from WPT and makes
it Mozilla-specific.

The patch doesn't remove the basic auth framework code from WPT
because it's assumed we will need that in WPT in the very near future.

Thanks-to: Carlos Garcia Campos <cgarcia@igalia.com>

test_alert_unsupported_operation relied on the user prompt handler
in the subsequent test to close the basic auth dialogue, which only
incidentally worked because the next WebDriver command was one that
invoked it.

We should dismiss the dialogue and return control to the user when
Marionette encounters an unsupported dialogue type.

Pushed by atolfsen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c449c7ab372d
webdriver: make test_alert_unsupported_operation Gecko specific; r=webdriver-reviewers,jgraham
https://hg.mozilla.org/integration/autoland/rev/3c08edf74d03
marionette: dismiss unsupported dialogues r=marionette-reviewers,whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/20594 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
Regressions: 1601097
Regressions: 1601098
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: