blob: 812bc9a5a270e40b51b73e737927ed86a9daaf1e [file] [log] [blame]
This test checks the implementation of getting the document.title attribute.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Test with no title set
PASS document.title is ""
Test with empty title
PASS document.title is ""
Test with only whitespace
PASS document.title is ""
Test with no whitespace
PASS document.title is "nowhitespacetitle"
Test with whitespace
PASS document.title is "one space"
Test with various whitespace lengths and fields
PASS document.title is "lots of whitespace and newlines"
Test with various length strings
PASS successfullyParsed is true
TEST COMPLETE