Closed Bug 1668603 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 25932 - Change the WebDriver client to provide a known type for window/new

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox83 fixed)

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 25932 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/25932
Details from upstream follow.

b'Sam Sneddon <gsnedders@apple.com>' wrote:

Change the WebDriver client to provide a known type for window/new

See also: https://github.com/w3c/webdriver/issues/1551. At the moment
the spec implies that any type is allowed, but implementations largely
enforce restrictions similar to elsewhere in the spec. Notably, Safari
returns error with error code invalid argument when the type is null.

This ensures the default is something that's well-defined, and allows
for potential edge-cases such as null to be tested separately. Tests for
these edge-cases should be written after the spec issue is resolved.

Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/90351347f724 [wpt PR 25932] - Change the WebDriver client to provide a known type for window/new, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.