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

Issue 243433006: [webcrypto] Set the error type for failures. (Closed)

Created:
6 years, 8 months ago by eroman
Modified:
6 years, 7 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, darin-cc_chromium.org, jam
Visibility:
Public.

Description

[webcrypto] Set the error type for failures. This corresponds with the WebCrypto spec update: https://dvcs.w3.org/hg/webcrypto-api/rev/64993be45f9f And is a dependency for the Blink change: https://codereview.chromium.org/243853004/ BUG=245025 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266620

Patch Set 1 : #

Total comments: 23

Patch Set 2 : Address comments #

Total comments: 8

Patch Set 3 : address sleevi comments #

Patch Set 4 : Rebase #

Patch Set 5 : rebase #

Total comments: 6

Patch Set 6 : Address comments #

Patch Set 7 : Rebase and try to fix android build... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1086 lines, -864 lines) Patch
M content/child/webcrypto/jwk.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/child/webcrypto/platform_crypto_nss.cc View 1 2 29 chunks +48 lines, -40 lines 0 comments Download
M content/child/webcrypto/platform_crypto_openssl.cc View 8 chunks +10 lines, -10 lines 0 comments Download
M content/child/webcrypto/shared_crypto.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M content/child/webcrypto/shared_crypto_unittest.cc View 1 2 3 4 5 6 93 chunks +874 lines, -736 lines 0 comments Download
M content/child/webcrypto/status.h View 1 4 chunks +39 lines, -10 lines 0 comments Download
M content/child/webcrypto/status.cc View 1 2 3 1 chunk +99 lines, -60 lines 0 comments Download
M content/child/webcrypto/webcrypto_impl.cc View 1 1 chunk +10 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
eroman
6 years, 8 months ago (2014-04-19 02:51:28 UTC) #1
Ryan Sleevi
https://codereview.chromium.org/243433006/diff/20001/content/child/webcrypto/jwk.cc File content/child/webcrypto/jwk.cc (right): https://codereview.chromium.org/243433006/diff/20001/content/child/webcrypto/jwk.cc#newcode797 content/child/webcrypto/jwk.cc:797: Status status = Status::OperationError(); What part of the spec ...
6 years, 8 months ago (2014-04-22 23:45:49 UTC) #2
eroman
https://codereview.chromium.org/243433006/diff/20001/content/child/webcrypto/jwk.cc File content/child/webcrypto/jwk.cc (right): https://codereview.chromium.org/243433006/diff/20001/content/child/webcrypto/jwk.cc#newcode797 content/child/webcrypto/jwk.cc:797: Status status = Status::OperationError(); On 2014/04/22 23:45:50, Ryan Sleevi ...
6 years, 8 months ago (2014-04-23 00:11:30 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/243433006/diff/20001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/243433006/diff/20001/content/child/webcrypto/platform_crypto_nss.cc#newcode884 content/child/webcrypto/platform_crypto_nss.cc:884: SECKEY_EncodeDERSubjectPublicKeyInfo(key->key())); On 2014/04/23 00:11:30, eroman wrote: > On 2014/04/22 ...
6 years, 8 months ago (2014-04-23 00:17:56 UTC) #4
eroman
https://codereview.chromium.org/243433006/diff/20001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/243433006/diff/20001/content/child/webcrypto/platform_crypto_nss.cc#newcode884 content/child/webcrypto/platform_crypto_nss.cc:884: SECKEY_EncodeDERSubjectPublicKeyInfo(key->key())); On 2014/04/23 00:17:56, Ryan Sleevi wrote: > On ...
6 years, 8 months ago (2014-04-23 00:36:14 UTC) #5
eroman
Uploaded patchset with fixes
6 years, 8 months ago (2014-04-23 03:16:01 UTC) #6
Ryan Sleevi
https://codereview.chromium.org/243433006/diff/40001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/243433006/diff/40001/content/child/webcrypto/platform_crypto_nss.cc#newcode933 content/child/webcrypto/platform_crypto_nss.cc:933: // technically none of the subsequent errors are spec ...
6 years, 8 months ago (2014-04-24 01:17:01 UTC) #7
eroman
https://codereview.chromium.org/243433006/diff/40001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/243433006/diff/40001/content/child/webcrypto/platform_crypto_nss.cc#newcode933 content/child/webcrypto/platform_crypto_nss.cc:933: // technically none of the subsequent errors are spec ...
6 years, 8 months ago (2014-04-24 02:34:36 UTC) #8
Ryan Sleevi
LGTM mod nit. https://codereview.chromium.org/243433006/diff/120001/content/child/webcrypto/shared_crypto_unittest.cc File content/child/webcrypto/shared_crypto_unittest.cc (right): https://codereview.chromium.org/243433006/diff/120001/content/child/webcrypto/shared_crypto_unittest.cc#newcode303 content/child/webcrypto/shared_crypto_unittest.cc:303: }; I for one welcome my ...
6 years, 8 months ago (2014-04-25 23:08:52 UTC) #9
eroman
https://codereview.chromium.org/243433006/diff/120001/content/child/webcrypto/shared_crypto_unittest.cc File content/child/webcrypto/shared_crypto_unittest.cc (right): https://codereview.chromium.org/243433006/diff/120001/content/child/webcrypto/shared_crypto_unittest.cc#newcode303 content/child/webcrypto/shared_crypto_unittest.cc:303: }; On 2014/04/25 23:08:52, Ryan Sleevi wrote: > I ...
6 years, 8 months ago (2014-04-25 23:40:31 UTC) #10
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 8 months ago (2014-04-25 23:40:36 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/243433006/140001
6 years, 8 months ago (2014-04-25 23:47:07 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-26 02:49:31 UTC) #13
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=175860
6 years, 8 months ago (2014-04-26 02:49:32 UTC) #14
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 8 months ago (2014-04-26 05:35:58 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/243433006/160001
6 years, 8 months ago (2014-04-26 05:37:53 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-26 06:21:57 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 8 months ago (2014-04-26 06:21:57 UTC) #18
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 7 months ago (2014-04-28 16:38:45 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/243433006/160001
6 years, 7 months ago (2014-04-28 16:39:49 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 16:40:54 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on android_dbg_triggered_tests
6 years, 7 months ago (2014-04-28 16:40:55 UTC) #22
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 7 months ago (2014-04-28 18:27:02 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/243433006/160001
6 years, 7 months ago (2014-04-28 18:28:02 UTC) #24
commit-bot: I haz the power
6 years, 7 months ago (2014-04-28 19:10:36 UTC) #25
Message was sent while issue was closed.
Change committed as 266620

Powered by Google App Engine
This is Rietveld 408576698