[Webkit-unassigned] [Bug 73638] [EFL] Implement 'registerProtocolHandler' function
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 21 19:13:36 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=73638
--- Comment #43 from Raphael Kubo da Costa (rakuco) <rakuco at webkit.org> 2012-05-21 19:12:39 PST ---
(From update of attachment 143166)
View in context: https://bugs.webkit.org/attachment.cgi?id=143166&action=review
> Source/WebKit/efl/ewk/ewk_view.h:320
> + const char *base_url; /**< Reference to the resolved url if the url is relative url. (eg. "https://www.currenthost.com/") */
> + const char *url; /**< Reference to the url which will handle the given protocol. (eg. "https://www.example.com/?uri=%s") */
One last thing regarding these two comments: I don't think base_url has anything to do with relative URLs, and url itself may not be a full URL.
Using the example from <http://www.w3.org/TR/html5/system-state-and-capabilities.html#custom-handlers>, if a user visits http://www.example.com/foo/bar.html and this page calls navigator.registerProtocolHandler('application/x-soup', 'soup?url=%s', 'SoupWeb'):
- base_url will be "http://www.example.com/"
- url will be "soup?url=%s"
--
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