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

Unified Diff: LayoutTests/crypto/wrapKey-lacks-usage.html

Issue 243853004: [webcrypto] Reject failed operations with a DOMException rather than null. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compile warning Created 6 years, 8 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/wrapKey-lacks-usage.html
diff --git a/LayoutTests/crypto/wrapKey-lacks-usage.html b/LayoutTests/crypto/wrapKey-lacks-usage.html
index 09a35aa251cc4883964190f708cc576c31c28c0d..dc269b2704addee0e053aaf7ba8e91191e6fd13d 100644
--- a/LayoutTests/crypto/wrapKey-lacks-usage.html
+++ b/LayoutTests/crypto/wrapKey-lacks-usage.html
@@ -40,8 +40,7 @@ importWrappingKey().then(function(result) {
return crypto.subtle.wrapKey('raw', key, wrappingKey, wrapAlgorithm);
}).then(failAndFinishJSTest, function(result) {
- error = result;
- shouldBeNull("error");
+ logError(result);
}).then(finishJSTest, failAndFinishJSTest);
</script>
« no previous file with comments | « LayoutTests/crypto/wrapKey-badParameters-expected.txt ('k') | LayoutTests/crypto/wrapKey-lacks-usage-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698