WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
216585
Move TLS certificate bypass SPI from WebProcessPool to WebsiteDataStore
https://bugs.webkit.org/show_bug.cgi?id=216585
Summary
Move TLS certificate bypass SPI from WebProcessPool to WebsiteDataStore
Alex Christensen
Reported
2020-09-15 14:39:17 PDT
Move TLS certificate bypass SPI from WebProcessPool to WebsiteDataStore
Attachments
Patch
(12.71 KB, patch)
2020-09-15 14:45 PDT
,
Alex Christensen
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch
(12.95 KB, patch)
2020-09-15 14:57 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(12.94 KB, patch)
2020-09-15 15:10 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(12.96 KB, patch)
2020-09-15 17:28 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(13.10 KB, patch)
2020-09-16 09:28 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Alex Christensen
Comment 1
2020-09-15 14:45:19 PDT
Created
attachment 408865
[details]
Patch
Geoffrey Garen
Comment 2
2020-09-15 14:46:06 PDT
Comment on
attachment 408865
[details]
Patch r=me
Alex Christensen
Comment 3
2020-09-15 14:57:14 PDT
Created
attachment 408866
[details]
Patch
EWS Watchlist
Comment 4
2020-09-15 14:57:52 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See
https://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Alex Christensen
Comment 5
2020-09-15 15:10:09 PDT
Created
attachment 408867
[details]
Patch
Alex Christensen
Comment 6
2020-09-15 16:54:26 PDT
Comment on
attachment 408867
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=408867&action=review
> Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm:636 > +- (void)_allowTLSCertificate:(NSArray *)certificateChain forHost:(NSString *)host
I'm going to call this _allowCertificateChain:forHost: because a certificate is one element of the array.
Alex Christensen
Comment 7
2020-09-15 16:58:34 PDT
Comment on
attachment 408867
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=408867&action=review
>> Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm:636 >> +- (void)_allowTLSCertificate:(NSArray *)certificateChain forHost:(NSString *)host > > I'm going to call this _allowCertificateChain:forHost: because a certificate is one element of the array.
_allowTLSCertificateChain
Alex Christensen
Comment 8
2020-09-15 17:28:10 PDT
Created
attachment 408880
[details]
Patch
Carlos Garcia Campos
Comment 9
2020-09-16 05:29:09 PDT
Comment on
attachment 408880
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=408880&action=review
> Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp:1628 > - context->priv->processPool->allowSpecificHTTPSCertificateForHost(webCertificateInfo.ptr(), String::fromUTF8(host)); > + WebsiteDataStore::defaultDataStore()->allowSpecificHTTPSCertificateForHost(webCertificateInfo.ptr(), String::fromUTF8(host));
This should be: auto& websiteDataStore = webkitWebsiteDataManagerGetDataStore(context->priv->websiteDataManager.get()); websiteDataStore.allowSpecificHTTPSCertificateForHost(webCertificateInfo.ptr(), String::fromUTF8(host)); The GLib API doesn't use the default data store.
Alex Christensen
Comment 10
2020-09-16 09:28:52 PDT
Created
attachment 408927
[details]
Patch
EWS
Comment 11
2020-09-16 11:21:10 PDT
Committed
r267155
: <
https://trac.webkit.org/changeset/267155
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 408927
[details]
.
Radar WebKit Bug Importer
Comment 12
2020-09-16 11:22:15 PDT
<
rdar://problem/69001622
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug