Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / crypto / subtle / cryptokey-interface-is-visible.html
blob990f5e7132fb9b1b96257171a6cd226407529456
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>
12 <script>
13 description("The CryptoKey interface should be visible to scripts");
15 jsTestIsAsync = true;
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);
22 </script>
24 </body>
25 </html>