servo/components/script/dom/bindings
bors-servo c022262826 Auto merge of #6505 - ttaubert:issue/4666-crypto-getRandomValues, r=Ms2ger
Implement crypto.getRandomValues()

Didn't touch mozjs or rust-mozjs because implementing that in the code generator didn't seem too easy. I'm using the same workaround that the TextDecoder does.

Using the OsRng should be the right choice here? As the OS keeps state for us we wouldn't need to have a global rng instance to keep around.

Fixes #4666.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6505)
<!-- Reviewable:end -->
2015-07-05 22:16:19 -06:00
..
codegen Remove *Cast::from_actual. 2015-07-04 12:55:01 +02:00
callback.rs Refactor #[jstraceable] to #[derive(JSTraceable)] 2015-07-01 18:27:06 -04:00
cell.rs Fix some warnings caused by the SM upgrade 2015-06-19 22:07:08 -04:00
conversions.rs Stop using Vec::from_raw_buf. 2015-06-26 21:20:13 +02:00
error.rs Implement window.crypto.getRandomValues() 2015-07-03 18:34:00 +02:00
global.rs Refactor #[jstraceable] to #[derive(JSTraceable)] 2015-07-01 18:27:06 -04:00
js.rs Refactor #[jstraceable] to #[derive(JSTraceable)] 2015-07-01 18:27:06 -04:00
mod.rs Generate code into OUT_DIR. 2015-06-17 16:18:22 -06:00
num.rs Refactor #[jstraceable] to #[derive(JSTraceable)] 2015-07-01 18:27:06 -04:00
proxyhandler.rs Fix some warnings caused by the SM upgrade 2015-06-19 22:07:08 -04:00
refcounted.rs Fix some warnings caused by the SM upgrade 2015-06-19 22:07:08 -04:00
str.rs Refactor #[jstraceable] to #[derive(JSTraceable)] 2015-07-01 18:27:06 -04:00
structuredclone.rs Upgrade to SM 39 2015-06-19 18:42:48 -04:00
trace.rs Refactor #[jstraceable] to #[derive(JSTraceable)] 2015-07-01 18:27:06 -04:00
utils.rs Auto merge of #6529 - dwins:master, r=Manishearth 2015-07-01 18:27:40 -06:00