[wpt-sync] Sync PR 37895 - WIP: Add FormData.constructor submitter tests
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
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
Assignee | ||
Updated•2 years ago
|
Comment 1•2 years ago
|
||
Note that this has not been accepted yet, this is just a POC
Context: https://github.com/whatwg/xhr/pull/366
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
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
)
- FormData construction should throw a TypeError if a non-null submitter is not a submit button:
Comment 4•2 years ago
|
||
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.
Comment 6•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fecb4a90a600
https://hg.mozilla.org/mozilla-central/rev/3b3cd899fddd
Description
•