blob: 5702de3c8fdc3c844eb455bfa9c5471e4435b3ed [file] [log] [blame]
Test setting the href attribute of a URL object to a URL with leading and trailing whitespace.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Set href that starts with a space
PASS a.hostname is 'www.mydomain.com'
Set href that starts with a newline
PASS a.hostname is 'www.mydomain.com'
Set href that starts with a tab
PASS a.hostname is 'www.mydomain.com'
Set href that starts with a carriage return
PASS a.hostname is 'www.mydomain.com'
Set href that starts with a combination of newlines, spaces and tabs
PASS a.hostname is 'www.mydomain.com'
Set href that ends with a space
PASS a.hostname is 'www.mydomain.com'
Set href that ends with a newline
PASS a.hostname is 'www.mydomain.com'
Set href that ends with a tab
PASS a.hostname is 'www.mydomain.com'
Set href that ends with a carriage return
PASS a.hostname is 'www.mydomain.com'
Set href that ends with a combination of newlines, spaces and tabs
PASS a.hostname is 'www.mydomain.com'
Set href that starts and ends with a combination of newlines, spaces and tabs
PASS a.hostname is 'www.mydomain.com'
PASS successfullyParsed is true
TEST COMPLETE