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

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

Issue 18475002: WebCrypto: Add framework for AlgorithmIdentifier normalization. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/Algorithm.idl
diff --git a/Source/core/dom/Promise.idl b/Source/modules/crypto/Algorithm.idl
similarity index 93%
copy from Source/core/dom/Promise.idl
copy to Source/modules/crypto/Algorithm.idl
index 893b8eefcf88606ebbdc2d59962a106e074795a6..9af27a181e83f19bcc7861b3290b364d6953da99 100644
--- a/Source/core/dom/Promise.idl
+++ b/Source/modules/crypto/Algorithm.idl
@@ -29,7 +29,8 @@
*/
[
- CustomConstructor(any init),
- EnabledAtRuntime=promise
-] interface Promise {
+ NoInterfaceObject,
+ CustomToV8
+] interface Algorithm {
+ readonly attribute DOMString name;
};

Powered by Google App Engine
This is Rietveld 408576698