RESOLVED FIXED 201177
Use WebPageProxy callbacks in case of authentication challenge received from Service Worker
https://bugs.webkit.org/show_bug.cgi?id=201177
Summary Use WebPageProxy callbacks in case of authentication challenge received from ...
youenn fablet
Reported 2019-08-27 03:12:07 PDT
Use WebPageProxy callbacks in case of authentication challenge received from Service Worker
Attachments
Patch (32.84 KB, patch)
2019-08-27 06:46 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2019-08-27 06:46:39 PDT
Alex Christensen
Comment 2 2019-08-29 07:28:54 PDT
Comment on attachment 377338 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=377338&action=review > Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp:325 > + store->client().didReceiveAuthenticationChallenge(WTFMove(authenticationChallenge)); I think we could remove this now. Is it still important to allow invalid TLS certs if there's no visible web page with the same origin? I think we could just add a requirement that if you want to use untrusted certs you have to have an open view.
youenn fablet
Comment 3 2019-08-29 08:01:56 PDT
(In reply to Alex Christensen from comment #2) > Comment on attachment 377338 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=377338&action=review > > > Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp:325 > > + store->client().didReceiveAuthenticationChallenge(WTFMove(authenticationChallenge)); > > I think we could remove this now. Is it still important to allow invalid > TLS certs if there's no visible web page with the same origin? I think we > could just add a requirement that if you want to use untrusted certs you > have to have an open view. Well, if the web page is not visible, user trust will never proceed although it would if the load was done for the web page. This is in particular the case if user trust was already granted by the application in the past and the web page proxy callback will not trigger any new prompt.
WebKit Commit Bot
Comment 4 2019-08-29 09:19:27 PDT
Comment on attachment 377338 [details] Patch Clearing flags on attachment: 377338 Committed r249277: <https://trac.webkit.org/changeset/249277>
WebKit Commit Bot
Comment 5 2019-08-29 09:19:28 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2019-08-29 09:20:20 PDT
Alex Christensen
Comment 7 2019-10-28 13:27:59 PDT
Comment on attachment 377338 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=377338&action=review > Source/WebKit/NetworkProcess/NetworkResourceLoadParameters.cpp:89 > + if (sourceOrigin) > + encoder << *topOrigin; :( I'm fixing this.
Note You need to log in before you can comment on or make changes to this bug.