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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/crypto/subtle/cryptokey-interface-is-visible-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 <script src="resources/common.js"></script>
6 <script src="resources/keys.js"></script>
7 </head>
8 <body>
9 <p id="description"></p>
10 <div id="console"></div>
11
12 <script>
13 description("The CryptoKey interface should be visible to scripts");
14
15 jsTestIsAsync = true;
16
17 crypto.subtle.importKey('raw', new Uint8Array(16), "AES-CBC", true, ['encrypt']) .then(function(result) {
18 key = result;
19 shouldBeTrue("key instanceof CryptoKey", true);
20 }).then(finishJSTest, failAndFinishJSTest);
21
22 </script>
23
24 </body>
25 </html>
OLDNEW
« 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