blob: d4bcc15014392380a822acf89ae7d1e6c2e128e7 [file] [log] [blame]
This tests that when we are adding text to empty text fields, the accessibility replace with range API functions as expected.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS axContentEditableDiv.replaceTextInRange('Hello', 0, 0) is true
PASS axContentEditableDiv.stringValue is 'AXValue: Hello'
PASS axText.replaceTextInRange('Hello', 0, 0) is true
PASS axText.stringValue is 'AXValue: Hello'
PASS axTextarea.replaceTextInRange('Hello', 0, 0) is true
PASS axTextarea.stringValue is 'AXValue: Hello'
PASS successfullyParsed is true
TEST COMPLETE