Closed Bug 1809762 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 37895 - WIP: Add FormData.constructor submitter tests

Categories

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

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 obsolete file)

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

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

Jon Jensen <jonj@netflix.com> wrote:

WIP: Add FormData.constructor submitter tests

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

Note that this has not been accepted yet, this is just a POC
Context: https://github.com/whatwg/xhr/pull/366

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests and 7 subtests

Status Summary

Firefox

OK : 1
PASS: 2
FAIL: 5

Chrome

OK : 1
PASS: 2
FAIL: 5

Safari

OK : 1
PASS: 2
FAIL: 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /xhr/formdata/constructor-submitter.html [wpt.fyi]
    • FormData construction should throw a TypeError if a non-null submitter is not a submit button: FAIL (Chrome: FAIL, Safari: FAIL)
    • FormData construction should throw a 'NotFoundError' DOMException if a non-null submitter is not owned by the form: FAIL (Chrome: FAIL, Safari: FAIL)
    • The constructed FormData object should contain an in-tree-order entry for a named submit button submitter: FAIL (Chrome: FAIL, Safari: FAIL)
    • The constructed FormData object should contain in-tree-order entries for an activated Image Button submitter: FAIL (Chrome: FAIL, Safari: FAIL)
    • The constructed FormData object should contain in-tree-order entries for an unactivated Image Button submitter: FAIL (Chrome: FAIL, Safari: FAIL)

Comment on attachment 9313613 [details]
WIP: Bug 1809762 - WIP: Add optional submitter argument to FormData constructor

Revision D167576 was moved to bug 1812696. Setting attachment 9313613 [details] to obsolete.

Attachment #9313613 - Attachment is obsolete: true
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fecb4a90a600 [wpt PR 37895] - Add FormData.constructor submitter tests, a=testonly https://hg.mozilla.org/integration/autoland/rev/3b3cd899fddd [wpt PR 37895] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: