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

Unified Diff: LayoutTests/crypto/wrapKey-unextractable.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-unextractable.html
diff --git a/LayoutTests/crypto/wrapKey-unextractable.html b/LayoutTests/crypto/wrapKey-unextractable.html
index 562a8900c11ea6bb34a8c9c9977bf1600da1f224..5f2de06e2462acb98f2c132f91850c3feb31e766 100644
--- a/LayoutTests/crypto/wrapKey-unextractable.html
+++ b/LayoutTests/crypto/wrapKey-unextractable.html
@@ -42,8 +42,7 @@ importWrappingKey().then(function(result) {
wrapAlgorithm = {name: 'aes-cbc', iv: new Uint8Array(16)};
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-lacks-usage-expected.txt ('k') | LayoutTests/crypto/wrapKey-unextractable-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698