[webkit-qt] Adding a "view source" API for WebView [feedback needed!]

Tor Arne Vestbø tor.arne.vestbo at nokia.com
Thu May 10 07:08:15 PDT 2012


On 10.05.12 15:48, Jesus Sanchez-Palencia wrote:
> Yes, ok, but then the url scheme logic wouldn't sit only on the
> WebProcess as Tor Arne suggested. Plus, imagine that we decide to
> support this through the "view-source:" url way and keep all the logic
> on the WebProcess. If the API user doesn't do anything else he would
> only get support for well-formed URLs. For the other use case
> (view-source:www.foo.com <http://www.foo.com>) he would need url
> sanitizing code from himself... On the very least this would need to be
> well documented.

This is the case for regular urls as well, you can't set webView.url = 
"google.com".

Tor Arne


More information about the webkit-qt mailing list