Whilst writing the test for this, I noticed that if you do the following:
- set WebPreferences.canDisplayInsecureContent to false
- load a page over SSL that contains an insecure script and insecure content (at this point, WebView.blockedContent is correct)
- call WebView.setCanTemporarilyDisplayInsecureContent(true) (which causes the page to reload).
At this point, WebView.blockedContent should still have the ContentTypeMixedScript bit set, but it is now clear
Whilst writing the test for this, I noticed that if you do the following:
- set WebPreferences. canDisplayInsec ureContent to false blockedContent is correct) setCanTemporari lyDisplayInsecu reContent( true) (which causes the page to reload).
- load a page over SSL that contains an insecure script and insecure content (at this point, WebView.
- call WebView.
At this point, WebView. blockedContent should still have the ContentTypeMixe dScript bit set, but it is now clear