Changeset 185795 in webkit
- Timestamp:
- Jun 20, 2015, 9:06:23 AM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/WebPageProxy.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r185794 r185795 1 2015-06-20 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 Check for SHA1 certificates ignores subresources 4 https://bugs.webkit.org/show_bug.cgi?id=146159 5 6 Reviewed by Dan Bernstein. 7 8 * UIProcess/WebPageProxy.cpp: 9 (WebKit::WebPageProxy::didCommitLoadForFrame): Call 10 PageLoadState::didDisplayOrRunInsecureContent if a certificate chain contains a non-root 11 SHA1 certificate when the frame is not the main frame. 12 1 13 2015-06-20 Dan Bernstein <mitz@apple.com> 2 14 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r185721 r185795 2942 2942 2943 2943 auto transaction = m_pageLoadState.transaction(); 2944 2945 if (frame->isMainFrame()) {2946 bool hasInsecureCertificateChain = m_treatsSHA1CertificatesAsInsecure && certificateInfo.containsNonRootSHA1SignedCertificate();2947 m_pageLoadState.didCommitLoad(transaction, hasInsecureCertificateChain);2948 }2944 bool markPageInsecure = m_treatsSHA1CertificatesAsInsecure && certificateInfo.containsNonRootSHA1SignedCertificate(); 2945 if (frame->isMainFrame()) 2946 m_pageLoadState.didCommitLoad(transaction, markPageInsecure); 2947 else if (markPageInsecure) 2948 m_pageLoadState.didDisplayOrRunInsecureContent(transaction); 2949 2949 2950 2950 #if USE(APPKIT)
Note:
See TracChangeset
for help on using the changeset viewer.