Source code
Revision control
Copy as Markdown
Other Tools
[executeTool-respondWith.https.html]
[executeTool resolves with respondWith() value when preventDefault() is called]
expected: FAIL
[executeTool rejects when preventDefault() is called without respondWith()]
expected: FAIL
[respondWith() throws InvalidStateError if preventDefault() was not called, and form navigates]
expected: FAIL
[respondWith() throws InvalidStateError and agentInvoked is false when submit is not agent-invoked]
expected: FAIL
[Calling respondWith() after submit event dispatch throws InvalidStateError]
expected: FAIL
[executeTool resolves successfully with respondWith() value even if a navigation is initiated]
expected: FAIL