|
[webcrypto] Don't throw any extra WebIDL exceptions from WebCrypto methods.
The editors draft of WebIDL says that methods which return a Promise should not throw exceptions for such failures, but rather reject the promise with the error.
This behavior is not implemented by the Blink generator yet, so this changelist doesn't completely fix the issue.
However, it does remove some of the synchronous exceptions.
BUG= 357723, 245025
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171238
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+202 lines, -139 lines) |
Patch |
|
M |
LayoutTests/crypto/digest-failures.html
|
View
|
|
1 chunk |
+20 lines, -7 lines |
0 comments
|
Download
|
|
M |
LayoutTests/crypto/digest-failures-expected.txt
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
LayoutTests/crypto/exportKey-badParameters.html
|
View
|
|
2 chunks |
+15 lines, -5 lines |
0 comments
|
Download
|
|
M |
LayoutTests/crypto/exportKey-badParameters-expected.txt
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
LayoutTests/crypto/importKey-badParameters.html
|
View
|
|
1 chunk |
+17 lines, -6 lines |
0 comments
|
Download
|
|
D |
LayoutTests/crypto/importKey-badParameters-expected.txt
|
View
|
1
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
LayoutTests/crypto/sign-verify-badParameters.html
|
View
|
|
1 chunk |
+16 lines, -3 lines |
0 comments
|
Download
|
|
M |
LayoutTests/crypto/sign-verify-badParameters-expected.txt
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
LayoutTests/crypto/unwrapKey-badParameters.html
|
View
|
|
1 chunk |
+12 lines, -3 lines |
0 comments
|
Download
|
|
M |
LayoutTests/crypto/unwrapKey-badParameters-expected.txt
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
LayoutTests/crypto/wrapKey-badParameters.html
|
View
|
|
1 chunk |
+12 lines, -3 lines |
0 comments
|
Download
|
|
M |
LayoutTests/crypto/wrapKey-badParameters-expected.txt
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/modules/crypto/SubtleCrypto.h
|
View
|
|
2 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
|
M |
Source/modules/crypto/SubtleCrypto.cpp
|
View
|
1
2
|
9 chunks |
+56 lines, -74 lines |
0 comments
|
Download
|
|
M |
Source/modules/crypto/SubtleCrypto.idl
|
View
|
|
1 chunk |
+10 lines, -10 lines |
0 comments
|
Download
|
Total messages: 17 (0 generated)
|