[webkit-dev] Testing XHR

Ojan Vafai ojan at chromium.org
Mon Sep 20 22:19:48 PDT 2010


On Tue, Sep 21, 2010 at 2:55 PM, Maciej Stachowiak <mjs at apple.com> wrote:

> On Sep 20, 2010, at 9:34 PM, Luke Macpherson wrote:
>
> > WebKit (or at least Chrome) is currently failing a bunch opera's tests
> > located at: http://tc.labs.opera.com/apis/XMLHttpRequest/
> >
> > It seems that it would be a good idea for us to make use of these
> > tests in WebKit, so I was thinking of importing them into the
> > codebase. This raises the question:
> > Should we import the tests one at a time as we fix the bugs, or should
> > we import the whole suite?
> > The tests look like they will fit into the existing LayoutTests
> > infrastructure pretty easily, but if we import the whole lot it would
> > be good to figure out if it is possible to keep our copy in sync with
> > Opera's, possibly along the lines of
> > WebKitTools/Scripts/update-webgl-conformance-tests .
> >
> > Should they end up in a subdirectory of LayoutTests/http/tests? (They
> > require php scripts on the server).
>
> It would be a good idea to drop in the test suite wholesale. On the other
> hand, it's likely that most of this will turn into the official W3C test
> suite for the XMLHttpRequest spec. So we should either wait a bit, or be
> vigilant to avoid adding the same tests twice when we drop in the official
> test suite.
>
> One possibility would be to make this a subdirectory of
> http/tests/xmlhttprequest.
>

How about we create http/tests/xmlhttprequest/w3c-experimental or something
like that? That can tide us over until the official version comes out, at
which point, we can delete the w3c-experimental directory and just add a w3c
directory.

It would be nice if we could start fixing these things before they become
part of the official test suite as a way of evaluating whether there are
issues with the spec and/or test suite.

Also, it seems to me like to does make sense to add an
update-experimental-w3c-xhr-tests script or something until there is an
official version.

Ojan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100921/8f655f25/attachment.html>


More information about the webkit-dev mailing list