[Webkit-unassigned] [Bug 73176] Add 'isProtocolHandlerRegistered' and 'unregisterProtocolHandler'.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 7 16:30:25 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=73176





--- Comment #13 from Dongwoo Joshua Im <dw.im at samsung.com>  2011-12-07 16:30:24 PST ---
(In reply to comment #12)
> (From update of attachment 117856 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=117856&action=review
> 
> >>> Source/WebCore/page/Navigator.cpp:299
> >>> +    String baseURL = document->baseURL().baseAsString();
> >> 
> >> Why the base URL?
> > 
> > The baseURL might be needed at browser side.
> > The "registerProtocolHandler" also pass the baseURL as one of the parameters.
> 
> Needed for what?

Regarding the Chromium port implementation,
they use the baseURL to resolve the URL.

You can find the source code in RenderView::registerProtocolHandler function, 
in render_view.cc file in the Chromium source code.

IMHO, this kind of check is also needed for these two new APIs.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list