• Jocelyn Turcotte's avatar
    Add HTTP and proxy authentication signals directly to QWebEnginePage · 970ccc7f
    Jocelyn Turcotte authored
    
    This allows handling calls that would be signaled by QNetworkAccessManager
    in QtWebKit.
    This pulls QtNetwork as a dependency of the QtWebEngineWidgets module
    to be able to use QAuthenticator, but isn't required otherwise.
    
    Only the request URL is available in the case of HTTP authentication
    (no access to HTTP request headers that the QNetworkReply would allow)
    and only the proxy host name in the case case of proxy authentication.
    
    This keeps the API synchronous the same way, as QtWebKit did, in
    favor of source compatibility at the cost of requiring a modal
    dialog, even though the implementation doesn't require it.
    
    Change-Id: I9e021def38e6107c9e66d2de8f86bd0328d543df
    Reviewed-by: default avatarMichael Bruning <michael.bruning@digia.com>
    970ccc7f