Log error when authentication challenge is blocked due to an insecure request.
Created attachment 332819 [details] Patch and layout tests
Created attachment 333019 [details] Patch and layout tests Updated patch so that we do not emit a message if the authentication challenge was blocked by the embedding client.
Created attachment 333184 [details] Patch and layout tests Updated patch to make the tests more robust to prevent flakiness caused by the preload scanner.
Comment on attachment 333184 [details] Patch and layout tests View in context: https://bugs.webkit.org/attachment.cgi?id=333184&action=review > LayoutTests/http/tests/security/mixedContent/insecure-download-redirects-to-basic-auth-secure-download.https-expected.txt:2 > +CONSOLE MESSAGE: Blocked https://localhost:8443/security/mixedContent/resources/subresource/protected-pdf.php from asking for credentials because navigated from a secure page or went through an insecure redirect. The phrasing of this message seems off. Perhaps something like "Blocked <url> from asking for credentials because it was navigated to from a secure page or went through an insecure redirect."
(In reply to Andy Estes from comment #4) > Comment on attachment 333184 [details] > Patch and layout tests > > View in context: > https://bugs.webkit.org/attachment.cgi?id=333184&action=review > > > LayoutTests/http/tests/security/mixedContent/insecure-download-redirects-to-basic-auth-secure-download.https-expected.txt:2 > > +CONSOLE MESSAGE: Blocked https://localhost:8443/security/mixedContent/resources/subresource/protected-pdf.php from asking for credentials because navigated from a secure page or went through an insecure redirect. > > The phrasing of this message seems off. Perhaps something like "Blocked > <url> from asking for credentials because it was navigated to from a secure > page or went through an insecure redirect." Will fix before landing.
Committed r228231: <https://trac.webkit.org/changeset/228231>
<rdar://problem/37319486>