Bug 123462 - Beef up CryptoKey
Summary: Beef up CryptoKey
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks: 122679
  Show dependency treegraph
 
Reported: 2013-10-29 13:37 PDT by Alexey Proskuryakov
Modified: 2013-10-29 16:31 PDT (History)
4 users (show)

See Also:


Attachments
proposed patch (26.85 KB, patch)
2013-10-29 13:47 PDT, Alexey Proskuryakov
no flags Details | Formatted Diff | Diff
with appropriate style fixes (24.81 KB, patch)
2013-10-29 13:52 PDT, Alexey Proskuryakov
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2013-10-29 13:37:24 PDT
A bit of glue code to add here...
Comment 1 Alexey Proskuryakov 2013-10-29 13:47:19 PDT
Created attachment 215417 [details]
proposed patch
Comment 2 WebKit Commit Bot 2013-10-29 13:50:08 PDT
Attachment 215417 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/WebCore.xcodeproj/project.pbxproj', u'Source/WebCore/crypto/CryptoAlgorithmIdentifier.h', u'Source/WebCore/crypto/CryptoKey.cpp', u'Source/WebCore/crypto/CryptoKey.h', u'Source/WebCore/crypto/CryptoKey.idl', u'Source/WebCore/crypto/CryptoKeyFormat.h', u'Source/WebCore/crypto/CryptoKeyType.h', u'Source/WebCore/crypto/CryptoKeyUsage.h']" exit_code: 1
Source/WebCore/crypto/CryptoKey.h:42:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
Source/WebCore/crypto/CryptoKeyFormat.h:33:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
Source/WebCore/crypto/CryptoKeyUsage.h:34:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Source/WebCore/crypto/CryptoKeyUsage.h:35:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Source/WebCore/crypto/CryptoKeyUsage.h:36:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Source/WebCore/crypto/CryptoKeyUsage.h:37:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Source/WebCore/crypto/CryptoKeyUsage.h:38:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Source/WebCore/crypto/CryptoKeyUsage.h:39:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Source/WebCore/crypto/CryptoKeyUsage.h:40:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Source/WebCore/crypto/CryptoKeyUsage.h:41:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Source/WebCore/crypto/CryptoKeyType.h:33:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
Source/WebCore/crypto/CryptoAlgorithmIdentifier.h:33:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
Total errors found: 12 in 9 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Alexey Proskuryakov 2013-10-29 13:52:23 PDT
Created attachment 215420 [details]
with appropriate style fixes

Also, don't add JSDOMPromise to project yet, it's not in this patch.
Comment 4 WebKit Commit Bot 2013-10-29 13:53:26 PDT
Attachment 215420 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/WebCore.xcodeproj/project.pbxproj', u'Source/WebCore/crypto/CryptoAlgorithmIdentifier.h', u'Source/WebCore/crypto/CryptoKey.cpp', u'Source/WebCore/crypto/CryptoKey.h', u'Source/WebCore/crypto/CryptoKey.idl', u'Source/WebCore/crypto/CryptoKeyFormat.h', u'Source/WebCore/crypto/CryptoKeyType.h', u'Source/WebCore/crypto/CryptoKeyUsage.h']" exit_code: 1
Source/WebCore/crypto/CryptoKey.h:42:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
Source/WebCore/crypto/CryptoKeyFormat.h:33:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
Source/WebCore/crypto/CryptoKeyType.h:33:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
Source/WebCore/crypto/CryptoAlgorithmIdentifier.h:33:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
Total errors found: 4 in 9 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Alexey Proskuryakov 2013-10-29 16:11:22 PDT
Committed <http://trac.webkit.org/r158236>.
Comment 6 Alexey Proskuryakov 2013-10-29 16:31:39 PDT
And a build fix in <http://trac.webkit.org/r158239>