blob: 2a766234afeb72af9cafe8cf170a7fbf354180bf [file] [log] [blame]
This is a testharness.js-based test.
PASS If constructing entry list flag of form is true, then return
PASS If firing submission events flag of form is true, then return
PASS If form's firing submission events is true, then return; 'invalid' event
PASS If form's firing submission events is true, then return; 'submit' event
PASS firing an event named submit; clicking a submit button
PASS firing an event named submit; form.requestSubmit()
FAIL firing an event named submit; form.requestSubmit(null) promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'requestSubmit' on 'HTMLFormElement': parameter 1 is not of type 'HTMLElement'."
PASS firing an event named submit; form.requestSubmit(submitter)
PASS Cannot navigate (after constructing the entry list)
PASS Submission URL should always have a non-null query part
Harness: the test ran to completion.