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

Unified Diff: third_party/WebKit/Source/modules/crypto/CryptoKey.idl

Issue 2380383003: Use sequence<T> instead of T[] where possible and document exceptions (Closed)
Patch Set: address feedback Created 4 years, 2 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: third_party/WebKit/Source/modules/crypto/CryptoKey.idl
diff --git a/third_party/WebKit/Source/modules/crypto/CryptoKey.idl b/third_party/WebKit/Source/modules/crypto/CryptoKey.idl
index 9cd28dd316d7f2ef13a42228011893a4771b1a8c..bce2c9110d96f4bd23999e1a33c838cfe7de1eaf 100644
--- a/third_party/WebKit/Source/modules/crypto/CryptoKey.idl
+++ b/third_party/WebKit/Source/modules/crypto/CryptoKey.idl
@@ -28,11 +28,14 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://w3c.github.io/webcrypto/Overview.html#cryptokey-interface
+
[
Exposed=(Window,Worker)
] interface CryptoKey {
readonly attribute DOMString type;
readonly attribute boolean extractable;
[CallWith=ScriptState] readonly attribute object algorithm;
+ // TODO(jyasskin): |usages| should be of type object.
readonly attribute DOMString[] usages;
};

Powered by Google App Engine
This is Rietveld 408576698