Re: [WebCryptoAPI-tests][test-infra] Import a Mozilla Crypto API test. (#1490)

Thanks for the reply!

As for D-H: I picked one test at random to start with; I've got [one for RSA-OAEP](https://github.com/Ms2ger/web-platform-tests/compare/crypto-2) waiting.

The policy here requires absolute paths, if only because moving tests around would be too painful otherwise. The [included server](http://wptserve.readthedocs.org/en/latest/) makes it quite simple to run them like this, though.

I have no opinion on `test-vectors.js`; this is simply what the Mozilla tests do right now. As for `util.js`, at least the `memcmp` function should end up in `testharness.js` at some point, but I didn't want to spend time on that before being sure it'd be used. `hex2abv` is used in `test-vectors.js`, so I guess we'd need to keep that, depending on what we do with it. The rest of the file can certainly go.

I have no opinions on the actual contents of the tests; I'm mainly doing this in case Servo ever ends up implementing the API, and because it'd be one fewer one-off testing framework for Gecko.

Thanks again, and looking forward to hearing from y'all.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/1490#issuecomment-68340490

Received on Tuesday, 30 December 2014 09:05:29 UTC