Home | History | Annotate | Download | only in HTMLAnchorElement
      1 Test setting the href attribute of an HTMLAnchorElement to a URL with leading and trailing whitespace.
      2 
      3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
      4 
      5 
      6 Set href that starts with a space
      7 PASS a.hostname is 'www.mydomain.com'
      8 Set href that starts with a newline
      9 PASS a.hostname is 'www.mydomain.com'
     10 Set href that starts with a tab
     11 PASS a.hostname is 'www.mydomain.com'
     12 Set href that starts with a carriage return
     13 PASS a.hostname is 'www.mydomain.com'
     14 Set href that starts with a combination of newlines, spaces and tabs
     15 PASS a.hostname is 'www.mydomain.com'
     16 Set href that ends with a space
     17 PASS a.hostname is 'www.mydomain.com'
     18 Set href that ends with a newline
     19 PASS a.hostname is 'www.mydomain.com'
     20 Set href that ends with a tab
     21 PASS a.hostname is 'www.mydomain.com'
     22 Set href that ends with a carriage return
     23 PASS a.hostname is 'www.mydomain.com'
     24 Set href that ends with a combination of newlines, spaces and tabs
     25 PASS a.hostname is 'www.mydomain.com'
     26 Set href that starts and ends with a combination of newlines, spaces and tabs
     27 PASS a.hostname is 'www.mydomain.com'
     28 PASS successfullyParsed is true
     29 
     30 TEST COMPLETE
     31 
     32