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

Unified Diff: LayoutTests/crypto/subtle/cryptokey-interface-is-visible.html

Issue 845633002: Remove NoInterfaceObject attribute from CryptoKey. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Expose to Workers Created 5 years, 11 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
« no previous file with comments | « no previous file | LayoutTests/crypto/subtle/cryptokey-interface-is-visible-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/subtle/cryptokey-interface-is-visible.html
diff --git a/LayoutTests/crypto/subtle/cryptokey-interface-is-visible.html b/LayoutTests/crypto/subtle/cryptokey-interface-is-visible.html
new file mode 100644
index 0000000000000000000000000000000000000000..990f5e7132fb9b1b96257171a6cd226407529456
--- /dev/null
+++ b/LayoutTests/crypto/subtle/cryptokey-interface-is-visible.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../../resources/js-test.js"></script>
+<script src="resources/common.js"></script>
+<script src="resources/keys.js"></script>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+
+<script>
+description("The CryptoKey interface should be visible to scripts");
+
+jsTestIsAsync = true;
+
+crypto.subtle.importKey('raw', new Uint8Array(16), "AES-CBC", true, ['encrypt']).then(function(result) {
+ key = result;
+ shouldBeTrue("key instanceof CryptoKey", true);
+}).then(finishJSTest, failAndFinishJSTest);
+
+</script>
+
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/crypto/subtle/cryptokey-interface-is-visible-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698