This is a testharness.js-based test. [FAIL] execCommand("insertText", false, " ") when {}
assert_in_array: value " " not in array ["
", " "] [FAIL] Typing " " when {}
assert_in_array: value " " not in array ["
", " "] [FAIL] execCommand("insertText", false, " ") when A[]B assert_in_array: value "A B" not in array ["A  B", "A  B"] [FAIL] Typing " " when A[]B assert_in_array: value "A B" not in array ["A  B", "A  B"] [FAIL] execCommand("insertText", false, " ") when

A[]B

assert_in_array: value "

A B

" not in array ["

A  B

", "

A  B

"] [FAIL] Typing " " when

A[]B

assert_in_array: value "

A B

" not in array ["

A  B

", "

A  B

"] [FAIL] execCommand("insertText", false, " ") when

A[]B

assert_in_array: value "

A B

" not in array ["

A  B

", "

A  B

"] [FAIL] Typing " " when

A[]B

assert_in_array: value "

A B

" not in array ["

A  B

", "

A  B

"] [FAIL] execCommand("insertText", false, "a") when

[AB]

and execCommand("insertParagraph") assert_equals: expected "


a

" but got "


a

" [FAIL] Typing "a" when

[AB]

and execCommand("insertParagraph") assert_equals: expected "


a

" but got "


a

" [FAIL] execCommand("insertText", false, "a") when

[]AB

and execCommand("insertLineBreak") assert_equals: expected "


aAB

" but got "

\\naAB

" [FAIL] Typing "a" when

[]AB

and execCommand("insertLineBreak") assert_equals: expected "


aAB

" but got "

\\naAB

" [FAIL] execCommand("insertText", false, "a") when

A[]B

and execCommand("insertLineBreak") assert_equals: expected "

A
aB

" but got "

A\\naB

" [FAIL] Typing "a" when

A[]B

and execCommand("insertLineBreak") assert_equals: expected "

A
aB

" but got "

A\\naB

" [FAIL] execCommand("insertText", false, "a") when

AB[]

and execCommand("insertLineBreak") assert_equals: expected "

AB
a

" but got "

AB\\na

" [FAIL] Typing "a" when

AB[]

and execCommand("insertLineBreak") assert_equals: expected "

AB
a

" but got "

AB\\na

" [FAIL] execCommand("insertText", false, "a") when

[AB]

and execCommand("insertLineBreak") assert_equals: expected "


a

" but got "

\\na

" [FAIL] Typing "a" when

[AB]

and execCommand("insertLineBreak") assert_equals: expected "


a

" but got "

\\na

" [FAIL] execCommand("insertText", false, "a") when

[AB]

and execCommand("delete") assert_equals: expected "

a

" but got "

a

" [FAIL] Typing "a" when

[AB]

and execCommand("delete") assert_equals: expected "

a

" but got "

a

" [FAIL] execCommand("insertText", false, "a") when

A[]

B

and execCommand("delete") and move caret to the following paragraph temporarily assert_equals: expected "

a

B

" but got "

a

B

" [FAIL] Typing "a" when

A[]

B

and execCommand("delete") and move caret to the following paragraph temporarily assert_equals: expected "

a

B

" but got "

a

B

" [FAIL] execCommand("insertText", false, "a") when

[]A

B

and execCommand("forwardDelete") and move caret to the following paragraph temporarily assert_equals: expected "

a

B

" but got "

a

B

" [FAIL] Typing "a" when

[]A

B

and execCommand("forwardDelete") and move caret to the following paragraph temporarily assert_equals: expected "

a

B

" but got "

a

B

" [FAIL] execCommand("insertText", false, "a") when

[A]

B

and execCommand("delete") and move caret to the following paragraph temporarily assert_equals: expected "

a

B

" but got "

a

B

" [FAIL] Typing "a" when

[A]

B

and execCommand("delete") and move caret to the following paragraph temporarily assert_equals: expected "

a

B

" but got "

a

B

" Harness: the test ran to completion.