W3C home > Mailing lists > Public > public-webcrypto@w3.org > January 2016

Re: [W3C Web Crypto WG] how to progress ?

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Fri, 22 Jan 2016 13:26:02 -0500
To: Mark Watson <watsonm@netflix.com>
Cc: "public-webcrypto@w3.org" <public-webcrypto@w3.org>
Message-ID: <56A2743A.4090504@mit.edu>
On 1/22/16 11:51 AM, Mark Watson wrote:
> ​No idea. Point me at web-platform-tests 101 and I'll tell you :-)​

http://testthewebforward.org/docs/ is sort of a place to start, kinda.

But in terms of evaluating what you can do with them, the upshot is that 
you have a web server running on a localhost port, you have HTML, JS, 
etc on that server.  You use 
http://testthewebforward.org/docs/testharness-library.html to write the 
actual tests.

There are some tests for getRandomValues at 
https://github.com/w3c/web-platform-tests/tree/master/WebCryptoAPI that 
you can examine if that helps.

You can also run the tests directly on the web at 
https://w3c-test.org/WebCryptoAPI/test_getRandomValues.html (or the same 
with http:// if desired).

One benefit of using web platform tests for this is that I know for a 
fact that both Chrome and Firefox are running them in continuous 
integration, with periodic syncs from the upstream repo, and I belive 
Microsoft is as well (e.g. they have a fork of that repo at 

Another benefit is that it should be pretty easy to use the existing 
automation bits it has to generate reports on which browsers pass which 

A third benefit is that anyone can contribute tests and all that.  ;)

Received on Friday, 22 January 2016 18:26:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:03 UTC