Add tests for empty doc, and get doc length in EditorTestSelection.

git-svn-id: svn://10.0.0.236/trunk@46443 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sfraser%netscape.com 1999-09-08 23:27:22 +00:00
parent 69fd2bf6be
commit 3ecbeb8efc

View File

@ -1025,7 +1025,18 @@ function EditorTestSelection()
dump("====== Selection as HTML ======================\n");
output = editorShell.GetContentsAs("text/html", 1);
dump(output + "\n\n");
dump("====== Length and status =====================\n");
output = "Document is ";
if (editorShell.documentIsEmpty)
output += "empty\n";
else
output += "not empty\n";
output += "Document length is " + editorShell.documentLength + " characters";
dump(output + "\n\n");
}
function EditorTestTableLayout()