Bug 179486

Summary: ServiceWorker ResourceResponse should not assert in platformCertificateInfo()
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebCore Misc.Assignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, cdumez, commit-queue, sam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description youenn fablet 2017-11-09 09:13:43 PST
ServiceWorker ResourceResponse should not assert in platformCertificateInfo()
Comment 1 youenn fablet 2017-11-09 09:16:02 PST
Created attachment 326455 [details]
Patch
Comment 2 Sam Weinig 2017-11-09 11:07:14 PST
Comment on attachment 326455 [details]
Patch

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

> Source/WebCore/ChangeLog:10
> +        In that case, platformCertificateInfo should return std::nullopt.

platformCertificateInfo doesn't return an optional, so I don't think this makes sense. It just returns a default constructed CertificateInfo.
Comment 3 youenn fablet 2017-11-09 11:48:02 PST
Created attachment 326473 [details]
Patch
Comment 4 WebKit Commit Bot 2017-11-09 12:58:19 PST
Comment on attachment 326473 [details]
Patch

Clearing flags on attachment: 326473

Committed r224644: <https://trac.webkit.org/changeset/224644>
Comment 5 WebKit Commit Bot 2017-11-09 12:58:20 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2017-11-15 09:39:22 PST
<rdar://problem/35562166>