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

Unified Diff: LayoutTests/crypto/exportKey.html

Issue 209853010: [ABANDONED] Enable V8 Promises (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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: LayoutTests/crypto/exportKey.html
diff --git a/LayoutTests/crypto/exportKey.html b/LayoutTests/crypto/exportKey.html
index 6032f586994939e1236dcaf7ebad07886755f7c2..b0fbb7228b0d16bf10b90da402ad4ccd23091aee 100644
--- a/LayoutTests/crypto/exportKey.html
+++ b/LayoutTests/crypto/exportKey.html
@@ -14,7 +14,7 @@ description("Tests cypto.subtle.exportKey.");
jsTestIsAsync = true;
-addTask(importTestKeys().then(function(result) {
+importTestKeys().then(function(result) {
keys = result;
// Invalid export formats.
@@ -36,7 +36,7 @@ addTask(importTestKeys().then(function(result) {
return crypto.subtle.exportKey('spki', keys.rsaSsaSha1Public);
}).then(function(result) {
bytesShouldMatchHexString("Key bytes", kKeyData.rsa1.spki, result);
-}));
+});
completeTestWhenAllTasksDone();

Powered by Google App Engine
This is Rietveld 408576698