[widgets] WARP test bugs

# hg (download, files)
Tests that the UA processes an access element with a valid origin. To pass, the access list must contain a single entry where the scheme is "http", the host is "w3.org", the port is "80", and subdomains is "false".

The origin contains a trailing slash, which is treated as path information and hence the origin is treated as being invalid:

  <access origin="http://w3.org/"/>

# la (download, files)
Tests that the UA processes access elements using the ToASCII algorithm. To pass, the access list must contain one entry where the scheme is "http", the host is "xn--xkry9kk1bz66a.cn", the port is "80", and subdomains is "true".


 Unless I'm missing something here there are actually two valid access elements in the widget, not one:

  <access origin="http://हिन्दी.idn.icann.org"/>
  <access origin="http://उदाहरण.परीक्ष" subdomains="true"/>
# ma (download, files)
Tests that the UA processes multiple access elements. To pass, the access list must contain two entries; one where the scheme is "http", the host is "w3.org", the port is "80", and subdomains is "true", one where the scheme is "http", the host is "pass", the port is null, and subdomains is "false". The order of the entries is not important.


The second element contains "ietf.org" not "pass".

Received on Wednesday, 1 December 2010 12:59:32 UTC