Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2350)

Unified Diff: Source/modules/crypto/WorkerContextCrypto.idl

Issue 16820007: Expose crypto.getRandomValues() to workers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/crypto/WorkerContextCrypto.idl
diff --git a/Source/core/inspector/InspectorOverlayHost.idl b/Source/modules/crypto/WorkerContextCrypto.idl
similarity index 93%
copy from Source/core/inspector/InspectorOverlayHost.idl
copy to Source/modules/crypto/WorkerContextCrypto.idl
index 2f1978e4e1f4aee160ec91e972d07b57db755d79..83b298c7bf7e7eb1b08ffb87a8e2add252644bd2 100644
--- a/Source/core/inspector/InspectorOverlayHost.idl
+++ b/Source/modules/crypto/WorkerContextCrypto.idl
@@ -28,9 +28,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- NoInterfaceObject
-] interface InspectorOverlayHost {
- void resume();
- void stepOver();
+partial interface WorkerContext {
+ [EnabledAtRuntime=Crypto] readonly attribute WorkerCrypto crypto;
};

Powered by Google App Engine
This is Rietveld 408576698