Closed Bug 1691566 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 27523 - Test form payloads with empty <input type=file> controls

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

b'Andreu Botella <abb@randomunok.com>' wrote:

Test form payloads with empty <input type=file> controls

The representation of empty <input type=file> controls in the form's entry list was already tested in #10865, but as shown by Safari's behavior, this wasn't enough to test the right behavior in the form payloads for the different enctypes.

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 4 subtests

Status Summary

Firefox

OK : 1
PASS: 3
FAIL: 1

Chrome

OK : 1
PASS: 4

Safari

OK : 1
PASS: 1
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/semantics/forms/form-submission-0/form-data-set-empty-file.window.html
Empty <input type=file> is still added to the form's entry list: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/19d0a5b0da2d [wpt PR 27523] - Test form payloads with empty <input type=file> controls, a=testonly https://hg.mozilla.org/integration/autoland/rev/30de18156545 [wpt PR 27523] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6ae1550b534d [wpt PR 27523] - Test form payloads with empty <input type=file> controls, a=testonly https://hg.mozilla.org/integration/autoland/rev/1d44c87e8986 [wpt PR 27523] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.