Changeset 100181 in webkit
- Timestamp:
- Nov 14, 2011, 12:56:15 PM (15 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
dom/SecurityContext.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r100180 r100181 1 2011-11-14 Adam Barth <abarth@webkit.org> 2 3 SecurityContext::isSecureTransitionTo should not refer to empty security origins 4 https://bugs.webkit.org/show_bug.cgi?id=72277 5 6 Reviewed by Eric Seidel. 7 8 Now that we're tracking the "failed to initialized SecurityOrigin" 9 state explicitly, we should use that to determine whether we can make a 10 secure transition. 11 12 * dom/SecurityContext.cpp: 13 (WebCore::SecurityContext::isSecureTransitionTo): 14 1 15 2011-11-14 Vincent Scheib <scheib@chromium.org> 2 16 -
trunk/Source/WebCore/dom/SecurityContext.cpp
r100117 r100181 57 57 bool SecurityContext::isSecureTransitionTo(const KURL& url) const 58 58 { 59 // This origin represents a new window created by the application. 60 if (securityOrigin()->isEmpty()) 59 // If we haven't initialized our security origin by now, this is probably 60 // a new window created via the API (i.e., that lacks an origin and lacks 61 // a place to inherit the origin from). 62 if (!haveInitializedSecurityOrigin()) 61 63 return true; 62 64
Note:
See TracChangeset
for help on using the changeset viewer.