getFormElements

Returns a list of all form elements in the document.

Note: this call may block for a while and should not be invoked on the main thread.