[Webkit-unassigned] [Bug 174787] Icon loader error on startup
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 25 10:47:58 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=174787
--- Comment #12 from Brady Eidson <beidson at apple.com> ---
(In reply to Carlos Garcia Campos from comment #8)
> (In reply to Brady Eidson from comment #7)
> > Comment on attachment 316361 [details]
> > Patch
> >
> > View in context:
> > https://bugs.webkit.org/attachment.cgi?id=316361&action=review
> >
> > > Source/WebCore/loader/DocumentLoader.cpp:1617
> > > + if (!m_frame->isMainFrame())
> > > + return;
> >
> > This check is good.
> >
> > > Source/WebCore/loader/DocumentLoader.cpp:1620
> > > + if (document->url().isEmpty() || document->url().isBlankURL())
> > > + return;
> >
> > This check is good.
> >
> > > Source/WebCore/loader/DocumentLoader.cpp:1627
> > > + if (iconURL.protocolIsInHTTPFamily())
> >
> > This will break an API test.
> >
> > I know this check was in IconController before, but the new client interface
> > is more permissive. If you don't want a non-http default favicon please make
> > the check in your client (e.g. your API-layer icon database)
>
> Ok, but note that LinkIconCollector also checks the url is HTTP, so this is
> inconsistent.
Bummer - No API test coverage for that yet.
That will likely be changing soon, then.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170725/43b43d36/attachment.html>
More information about the webkit-unassigned
mailing list