Changeset 27433 in webkit
- Timestamp:
- Nov 4, 2007 5:37:59 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r27431 r27433 1 2007-11-04 Sam Weinig <sam@webkit.org> 2 3 Rubber-stamped by Adam Roben. 4 5 Rename SecurityOrigin::allowsAccessFrom to SecurityOrigin::canAccess to 6 clear up ambiguity. 7 8 * bindings/js/kjs_window.cpp: 9 (KJS::Window::isSafeScript): 10 * platform/SecurityOrigin.cpp: 11 (WebCore::SecurityOrigin::canAccess): 12 * platform/SecurityOrigin.h: 13 1 14 2007-11-04 Timothy Hatcher <timothy@apple.com> 2 15 -
trunk/WebCore/bindings/js/kjs_window.cpp
r27413 r27433 934 934 const SecurityOrigin& thisSecurityOrigin = thisDocument->securityOrigin(); 935 935 936 if (actSecurityOrigin. allowsAccessFrom(thisSecurityOrigin))936 if (actSecurityOrigin.canAccess(thisSecurityOrigin)) 937 937 return true; 938 938 -
trunk/WebCore/platform/SecurityOrigin.cpp
r26787 r27433 108 108 } 109 109 110 bool SecurityOrigin:: allowsAccessFrom(const SecurityOrigin& other) const110 bool SecurityOrigin::canAccess(const SecurityOrigin& other) const 111 111 { 112 112 if (m_protocol == "file") -
trunk/WebCore/platform/SecurityOrigin.h
r26787 r27433 44 44 void setDomainFromDOM(const String& newDomain); 45 45 46 bool allowsAccessFrom(const SecurityOrigin&) const;46 bool canAccess(const SecurityOrigin&) const; 47 47 bool isSecureTransitionTo(const KURL&) const; 48 48
Note: See TracChangeset
for help on using the changeset viewer.