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(); |