servo/components/script
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
..
dom Auto merge of #6505 - ttaubert:issue/4666-crypto-getRandomValues, r=Ms2ger 2015-07-05 22:16:19 -06:00
parse Update to zero-copy* HTML parsing 2015-06-25 20:40:38 -07:00
build.rs
Cargo.toml Implement window.crypto.getRandomValues() 2015-07-03 18:34:00 +02:00
clipboard_provider.rs Audit and reduce unstable usage in script 2015-06-10 01:20:06 +05:30
cors.rs Reduce max line length from 150 to 120 characters 2015-05-24 00:01:49 -04:00
devtools.rs Upgrade to SM 39 2015-06-19 18:42:48 -04:00
document_loader.rs Refactor #[jstraceable] to #[derive(JSTraceable)] 2015-07-01 18:27:06 -04:00
horribly_inefficient_timers.rs Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. 2015-05-05 10:07:34 -04:00
layout_interface.rs Use euclid from crates.io 2015-06-19 00:04:24 +02:00
lib.rs Implement window.crypto.getRandomValues() 2015-07-03 18:34:00 +02:00
makefile.cargo Don't generate pyc files. 2015-06-17 18:43:08 -06:00
network_listener.rs Create easy common interface for off-thread network listeners, and remove the CORS-specific reimplementation of async networking. 2015-04-16 11:46:41 -04:00
page.rs Refactor #[jstraceable] to #[derive(JSTraceable)] 2015-07-01 18:27:06 -04:00
script_task.rs Refactor #[jstraceable] to #[derive(JSTraceable)] 2015-07-01 18:27:06 -04:00
textinput.rs Refactor #[jstraceable] to #[derive(JSTraceable)] 2015-07-01 18:27:06 -04:00
timers.rs Refactor #[jstraceable] to #[derive(JSTraceable)] 2015-07-01 18:27:06 -04:00
webdriver_handlers.rs Upgrade to SM 39 2015-06-19 18:42:48 -04:00