Bug 539891 - test_bug478251.html fails with the HTML5 parser. r=bzbarsky.

This commit is contained in:
Henri Sivonen 2010-01-18 15:38:44 +02:00
parent 5bd0f16c6a
commit c6d6203321

View File

@ -48,7 +48,7 @@ is(doc.documentElement.textContent, "undefinedundefined", "Writing |undefined, u
doc.open();
doc.writeln();
doc.close();
is(doc.documentElement.textContent, "\n", "Writing |\\n| failed");
ok(doc.documentElement.textContent == "\n" || doc.documentElement.textContent == "", "Writing |\\n| failed");
doc.open();
doc.writeln(null);