Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Issue 2627723005: Remove support for custom NSURLProtocol. (Closed)

Created:
3 years, 11 months ago by sdefresne
Modified:
3 years, 11 months ago
CC:
chromium-reviews, marq+watch_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove support for custom NSURLProtocol. WKWebView does not support custom NSURLProtocol (see discussion in https://bugs.webkit.org/show_bug.cgi?id=138169). Remove the interception code as it is never called. BUG=665036, 585700

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -43 lines) Patch
M ios/chrome/app/main_controller.mm View 5 chunks +1 line, -9 lines 0 comments Download
M ios/chrome/app/startup/network_stack_setup.h View 1 chunk +2 lines, -8 lines 0 comments Download
M ios/chrome/app/startup/network_stack_setup.mm View 1 chunk +4 lines, -24 lines 0 comments Download
M ios/web/shell/view_controller.mm View 2 chunks +0 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 9 (4 generated)
sdefresne
I chose not to remove the class implementing the functionality in order to reduce the ...
3 years, 11 months ago (2017-01-12 17:19:11 UTC) #4
Eugene But (OOO till 7-30)
This is still used by UIWebView and Chrome may still be using UIWebView for SignIn. ...
3 years, 11 months ago (2017-01-12 17:24:09 UTC) #6
sdefresne
On 2017/01/12 17:24:09, Eugene But wrote: > This is still used by UIWebView and Chrome ...
3 years, 11 months ago (2017-01-12 17:31:41 UTC) #7
Eugene But (OOO till 7-30)
Thanks for checking. lgtm, but could you please wait for Benoit's response.
3 years, 11 months ago (2017-01-12 17:40:23 UTC) #8
bzanotti
3 years, 11 months ago (2017-01-12 17:56:40 UTC) #9
Message was sent while issue was closed.
On 2017/01/12 17:31:41, sdefresne wrote:
> On 2017/01/12 17:24:09, Eugene But wrote:
> > This is still used by UIWebView and Chrome may still be using UIWebView for
> > SignIn. Benoit, do you think this change is harmless to SignIn?
> 
> AFAIK, SignIn now uses SFSafariViewController and no longer UIWebView.
> 
> I've tested and I'm able to sign-in in Chrome with this CL applied and I've
> confirmed that I'm logged in the content area. Is there anything else that
could
> be broken?

Not LGTM.

SignIn is still using UIWebView (on a basic Chromium build, you need to tap the
experimental setting "Disable SafariVCSignIn"). We still need custom support of
NSURLProtocol for this.

Powered by Google App Engine
This is Rietveld 408576698