[widgets] Widget API Test Suite Updated, was Re: ACTION-585: After TWI test suite updated, send an annoucement to public-webapps (Web Applications Working Group)

The Widgets test suite has been updated. We have removed tests for 
openURL, as it was dropped from the Widget Interface spec.

For 9 assertions there are now 50 tests, with 100% coverage of the spec 
(including an exhaustive run through the WebIDL).

http://dev.w3.org/2006/waf/widgets-api/test-suite/

Key change has been the addition of the following 33 tests, which 
replace some broken old test:

http://dev.w3.org/2006/waf/widgets-api/Overview.html#ta-za

The following tests were removed from the test suite (test-suite.xml):

<test id="al" for="ta-ab" src="test-cases/ta-ab/al/al.wgt">
Test that the user agent does not navigate to relative references when 
one is used as an argument for openURL()
To pass, the widget must not navigate to 'fail.html'
</test>

<test id="am" for="ta-ax" src="test-cases/ta-ax/am/am.wgt">
Test that the user agent does not navigate to a URI when one is used as 
an argument for openURL().
To pass, the widget must not navigate the widget's top level browsing 
context (Window) to 
'http://a7asdd8adfs6123dsaf0ads87fads4fa312asdf089132893412.w3.org/'
</test>

<test id="an" for="ta-bb" src="test-cases/ta-bb/an/an.wgt">
Test that the user agent ignores random bogus URIs sent as an argument 
to openURL().
To pass, the user agent must ignore the bogus IRI and continue executing 
the script as normal.
</test>

<test id="aq" for="ta-bb" src="test-cases/ta-bb/aq/aq.wgt">
Test that the user agent handles URIs sent as an argument to openURL().
To pass, the user agent must retrieve the resource
at 
'http://dev.w3.org/2006/waf/widgets-api/test-suite/test-cases/ta-bb/aq/pass.html' 

and continue executing the script as normal.
</test>

-- 
Marcos Caceres
Opera Software

Received on Saturday, 2 October 2010 13:59:40 UTC