Bug 175619

Summary: [WebCrypto] Push WorkQueue dispatches for EC algorithms into shared code
Product: WebKit Reporter: Zan Dobersek <zan>
Component: New BugsAssignee: Zan Dobersek <zan>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, jiewen_tan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
WIP patch
none
Patch
none
Patch
none
Patch
none
Patch for landing none

Description Zan Dobersek 2017-08-15 21:56:20 PDT
SSIA.
Comment 1 Zan Dobersek 2017-08-15 22:02:51 PDT
Created attachment 318228 [details]
WIP patch
Comment 2 Build Bot 2017-08-15 22:05:24 PDT
Attachment 318228 [details] did not pass style-queue:


ERROR: Source/WebCore/ChangeLog:8:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 1 in 10 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Zan Dobersek 2017-08-17 23:44:32 PDT
Created attachment 318479 [details]
Patch

Ready for review.
Comment 4 Zan Dobersek 2017-08-21 04:13:30 PDT
Created attachment 318624 [details]
Patch
Comment 5 Zan Dobersek 2017-08-25 01:00:10 PDT
Created attachment 319069 [details]
Patch
Comment 6 Jiewen Tan 2017-08-28 11:43:37 PDT
Comment on attachment 319069 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=319069&action=review

Looks good to me. r=me. Good job.

> Source/WebCore/crypto/algorithms/CryptoAlgorithmECDH.cpp:117
> +    context.ref();

It maybe better to add a comment here to state that this is the only special case that we have this unifiedCallback. Therefore, we cannot utilize the dispatchOperation infrastructure, and it is not necessary to make one for it.
Comment 7 Zan Dobersek 2017-08-29 01:06:52 PDT
Created attachment 319249 [details]
Patch for landing
Comment 8 Zan Dobersek 2017-08-29 04:29:59 PDT
Comment on attachment 319249 [details]
Patch for landing

Clearing flags on attachment: 319249

Committed r221293: <http://trac.webkit.org/changeset/221293>
Comment 9 Zan Dobersek 2017-08-29 04:30:03 PDT
All reviewed patches have been landed.  Closing bug.
Comment 10 Radar WebKit Bug Importer 2017-08-29 04:30:36 PDT
<rdar://problem/34130591>