Handle KVO updating of the "hasOnlySecureContent" before a page results in an HTTP...
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 May 2017 19:27:06 +0000 (19:27 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 May 2017 19:27:06 +0000 (19:27 +0000)
commit861aac60574b0ade2f817ed546d399d5b99a9760
tree6c81d51a6631ed2e61957ff2e1bc077ac737dbf4
parentfdcfce77c926ebbf97c413e2e782c4a332edeeab
Handle KVO updating of the "hasOnlySecureContent" before a page results in an HTTP auth challenge.
https://bugs.webkit.org/show_bug.cgi?id=171607

Reviewed by Andy Estes.

To test this fix we'd need the combination of an HTTPD inside API tests, so no test for now.

* UIProcess/PageLoadState.cpp:
(WebKit::PageLoadState::hasOnlySecureContent): If the state is provisional, check the provisional URL instead.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@216132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/PageLoadState.cpp