Test.Reporter Class
An object capable of sending test results to a server.
Constructor
Methods
addField
(
-
name -
value
Adds a field to the form that submits the results.
Parameters:
-
nameStringThe name of the field.
-
valueAnyThe value of the field.
clearFields
()
Removes all previous defined fields.
destroy
()
Cleans up the memory associated with the TestReporter, removing DOM elements that were created.
report
(
-
results
Sends the report to the server.
Parameters:
-
resultsObjectThe results object created by TestRunner.
Properties
_form
HTMLFormElement
private
The form element used to submit the results.
_iframe
HTMLIFrameElement
private
Iframe used as a target for form submission.
