This is a testharness.js-based test.
[FAIL] insertParagraph in empty <div style="white-space:pre-wrap"> after <body> should split the <div>
assert_in_array: The <div> should be split value "<head><title>iframe</title></head><body><br><div><br></div></body><div style=\\"white-space:pre-wrap\\"></div>" not in array ["<head><title>iframe</title></head><body><br></body><div style=\\"white-space:pre-wrap\\">\\n</div><div style=\\"white-space:pre-wrap\\">\\n</div>", "<head><title>iframe</title></head><body><br></body><div style=\\"white-space:pre-wrap\\"><br></div><div style=\\"white-space:pre-wrap\\"><br></div>"]
[FAIL] insertParagraph in empty <div style="white-space:pre-wrap"> before <body> should split the <div>
assert_in_array: The <div> should be split value "<head><title>iframe</title></head><div style=\\"white-space:pre-wrap\\"></div><body><br><div><br></div></body>" not in array ["<head><title>iframe</title></head><div style=\\"white-space:pre-wrap\\">\\n</div><div style=\\"white-space:pre-wrap\\">\\n</div><body><br></body>", "<head><title>iframe</title></head><div style=\\"white-space:pre-wrap\\"><br></div><div style=\\"white-space:pre-wrap\\"><br></div><body><br></body>"]
[FAIL] insertParagraph in <div style="white-space:pre-wrap"> (containing text) before <body> should split the <div>
assert_in_array: The <div> should be split value "<head><title>iframe</title></head><div style=\\"white-space:pre-wrap\\">abcd</div><body><br></body>" not in array ["<head><title>iframe</title></head><div style=\\"white-space:pre-wrap\\">ab</div><div style=\\"white-space:pre-wrap\\">cd</div><body><br></body>", "<head><title>iframe</title></head><div style=\\"white-space:pre-wrap\\">ab<br></div><div style=\\"white-space:pre-wrap\\">cd</div><body><br></body>", "<head><title>iframe</title></head><div style=\\"white-space:pre-wrap\\">ab</div><div style=\\"white-space:pre-wrap\\">cd<br></div><body><br></body>", "<head><title>iframe</title></head><div style=\\"white-space:pre-wrap\\">ab<br></div><div style=\\"white-space:pre-wrap\\">cd<br></div><body><br></body>"]
[FAIL] insertParagraph in empty <div style="white-space:pre-wrap"> before <head> should split the <div>
assert_in_array: The <div> should be split value "<div style=\\"white-space:pre-wrap\\"></div><head><title>iframe</title></head><body><br><div><br></div></body>" not in array ["<div style=\\"white-space:pre-wrap\\">\\n</div><div style=\\"white-space:pre-wrap\\">\\n</div><head><title>iframe</title></head><body><br></body>", "<div style=\\"white-space:pre-wrap\\"><br></div><div style=\\"white-space:pre-wrap\\"><br></div><head><title>iframe</title></head><body><br></body>"]
Harness: the test ran to completion.