blob: 42b1d07801d7b77421ef138936249d8a1c09e1f0 [file] [edit]
This tests that the replace with range API functions as expected.
PASS: contenteditable.replaceTextInRange("Blurb", 5, 5) === true
PASS: contenteditable.stringValue === 'AXValue: HelloBlurb'
PASS: contenteditable.replaceTextInRange("Blorg", 5, 5) === true
PASS: contenteditable.stringValue === 'AXValue: HelloBlorg'
PASS: text.replaceTextInRange("blurb", 6, 5) === true
PASS: text.stringValue === 'AXValue: Hello blurb'
PASS: textarea.replaceTextInRange("blurb", 6, 5) === true
PASS: textarea.stringValue === 'AXValue: Hello blurb'
PASS successfullyParsed is true
TEST COMPLETE