RfR: CORS tests - deadline 6 December

Previous Topic Next Topic
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view

RfR: CORS tests - deadline 6 December

Odin Hørthe Omdal
This is a request for review of Cross Origin Resource Sharing tests.


Since there's server side components, you'd like to check out the code:


I've done a testsuite run on Presto (Opera), WebKit (Chrome), Gecko
(Firefox) and Trident (IE) on a server where everything works correctly.


(Needs javascript right now, but I can compile a flat version later)

The w3c-test.org server seems to be doing some nasty things (like eating
the OPTIONS header) right now, therefore the testsuite will fail more than
it should there.

You can run the tests with fewer failures here:


NOTE: 4 of the basic tests will fail, because I'm too lazy to even try
       setting up SSL on my server. But those 4 should work on w3c-test.org

For people that don't like clicking links on the dangerous intarwebs, I can
include the most interesting numbers here:

     Opera:   92%
     Chrome:  90%
     Firefox: 81%
     IE:      76%

So quite okay all-around!

Only a very few select tests has no passes in any engine. I have read and
re-read the spec, and asked annevk and abarth about that, and as far as I
can see, the tests should follow the spec.

If you have any comments, please send them by Thursday, 2012-12-06 (~3
weeks from now, and my birthday!)

If you review any set of the tests and find no issues, please state that
as a reply to this RfR (so we can get a sense of whether or not anyone
reviewed the tests).

In the absence of any comments, these tests will be considered Approved.

Odin Hørthe Omdal (Velmont/odinho) · Core, Opera Software, http://opera.com

Reply | Threaded
Open this post in threaded view

Re: RfR: CORS tests - deadline 6 December

Karl Dubost-5

Le 22 nov. 2012 à 02:04, Odin Hørthe Omdal a écrit :
>  http://test.s0.no/w3c-tests/webappsec/tests/cors/submitted/opera/staging/testrunner.html

using this above.

>    Opera:   92%
>    Chrome:  90%
>    Firefox: 81%
>    IE:      76%

Safari Version 6.0.2 (7536.26.17)
Application ran for 159 seconds.
Score 55.30%
Pass 146
Fail 118

# Tests fail:
basic.html: 1-2,5-6
credentials-flag.htm: 10-15
preflight-cache.htm: 4-5
redirect-origin.htm: 2-5, 7, 12, 15-43
remote-origin.htm: 13-45
request-headers.htm: 4
simple-requests.htm: 3, 6, 9, 24
status-async.htm: 1, 5-18
status-preflight.htm: 1-16
status.htm: 4

As a note I do not have the same score than yours for Opera.

Application ran for 86 seconds.
Opera 12.11 Rev 1661 Mac OS X 10.7.5
Score: 76.12%
Pass: 102
Fail: 32

Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software