W3C home > Mailing lists > Public > public-webappsec@w3.org > June 2014

Re: [webappsec] Help build the CSP test suite at Test the Web Forward Portland, August 3

From: Odin Hørthe Omdal <odinho@opera.com>
Date: Wed, 04 Jun 2014 21:24:23 +0200
Message-Id: <1401909863.10533.125217805.41B72791@webmail.messagingengine.com>
To: public-webappsec@w3.org
On Wed, Jun 4, 2014, at 20:46, Brad Hill wrote:
> Ian Melvin and I are hosting a Test the Web Forward event on August 3rd
> in Portland, the Sunday following the CascadiaJS conference.


> http://testthewebforward.org/events/2014/portland.html

But you say PHP there?

It would be very sad to create new tests using PHP, when we haven't even
ported the ones that exist to the new simpler and more powerful wptserve
(Python based).

Actually we have exactly zero CSP tests in web platform tests atm.  That
really is too bad.  We should at least have a folder with one test that
is well-written and with a good python-script that can return what you
specify from the http-file.  Not unlike how the CORS tests are done.

Actually, I think that many CSP tests can be done without any code at
all, most are just setting headers and can do the test itself in
Javascript. The headers can be set using a simple
`<yourfilename>.headers` or `__dir__.headers` file [0].


We currently have 5 outstanding reviews for CSP:


They all need a lot of fixups to fit well in the wptserve-world. If you
want, I can try to do the simplest test I can see there,
https://critic.hoppipolla.co.uk/r/123, so that we have a start.

Polishing up, -- logging what has been tested/not tested, porting these
tests to wptserve is very clear steps, and fits very well into Test the
Web Forward. Often people have problems knowing what to do. Also, once
someone knows what is tested, -- other, new tests can be written.

But it'd be very sad if we were to create even more backlog for
ourselves by not doing them directly as they should be in WPT from the

HTTPS stuff is missing from the simple wptserve setup though, you'd
still need to set up a server et al. for that. :/

  Odin Hørthe Omdal
Received on Wednesday, 4 June 2014 19:25:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:39 UTC