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/unwrapKey-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/unwrapKey-lacks-usage.html
diff --git a/LayoutTests/crypto/unwrapKey-lacks-usage.html b/LayoutTests/crypto/unwrapKey-lacks-usage.html
index b79b80cc192b16bd4ab6613b3f745f8ada481152..034b95cbbe6c2819746a4520d7b52fb700948d0e 100644
--- a/LayoutTests/crypto/unwrapKey-lacks-usage.html
+++ b/LayoutTests/crypto/unwrapKey-lacks-usage.html
@@ -32,8 +32,7 @@ importUnwrappingKey().then(function(result) {
return crypto.subtle.unwrapKey('raw', wrappedKey, unwrappingKey, unwrapAlgorithm, unwrappedKeyAlgorithm, extractable, keyUsages);
}).then(failAndFinishJSTest, function(result) {
- error = result;
- shouldBeNull("error");
+ logError(result);
}).then(finishJSTest, failAndFinishJSTest);
</script>
« no previous file with comments | « LayoutTests/crypto/unwrapKey-badParameters-expected.txt ('k') | LayoutTests/crypto/unwrapKey-lacks-usage-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698