Changeset 33033 in webkit
- Timestamp:
- May 11, 2008, 1:26:28 PM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 6 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r33032 r33033 1 2008-05-11 Sam Weinig <sam@webkit.org> 2 3 Reviewed by Dan Bernstein. 4 5 Add scaffolding for the implementation of Access Control for Cross-site Requests. 6 7 * GNUmakefile.am: 8 * WebCore.pro: 9 * WebCore.vcproj/WebCore.vcproj: 10 * WebCore.xcodeproj/project.pbxproj: 11 * WebCoreSources.bkl: 12 * xml/AccessControlList.cpp: Added. 13 (WebCore::AccessControlList::AccessControlList): 14 (WebCore::AccessControlList::~AccessControlList): 15 (WebCore::AccessControlList::parseAccessControlHeader): 16 (WebCore::AccessControlList::checkOrigin): 17 * xml/AccessControlList.h: Added. 18 * xml/AccessItem.cpp: Added. 19 (WebCore::AccessItem::AccessItem): 20 (WebCore::AccessItem::parseAccessItem): 21 (WebCore::AccessItem::matches): 22 * xml/AccessItem.h: Added. 23 * xml/AccessItemRule.cpp: Added. 24 (WebCore::AccessItemRule::AccessItemRule): 25 (WebCore::AccessItemRule::parseAccessItemRule): 26 * xml/AccessItemRule.h: Added. 27 1 28 2008-05-11 Julien Chaffraix <jchaffraix@webkit.org> 2 29 -
trunk/WebCore/GNUmakefile.am
r32989 r33033 992 992 WebCore/rendering/RenderWordBreak.cpp \ 993 993 WebCore/rendering/RootInlineBox.cpp \ 994 WebCore/xml/AccessControlList.cpp \ 995 WebCore/xml/AccessItem.cpp \ 996 WebCore/xml/AccessItemRule.cpp \ 994 997 WebCore/xml/DOMParser.cpp \ 995 998 WebCore/xml/XMLHttpRequest.cpp \ -
trunk/WebCore/WebCore.pro
r32989 r33033 928 928 rendering/RootInlineBox.cpp \ 929 929 rendering/SVGRenderTreeAsText.cpp \ 930 xml/AccessControlList.cpp \ 931 xml/AccessItem.cpp \ 932 xml/AccessItemRule.cpp \ 930 933 xml/DOMParser.cpp \ 931 934 xml/NativeXPathNSResolver.cpp \ -
trunk/WebCore/WebCore.vcproj/WebCore.vcproj
r33009 r33033 10130 10130 > 10131 10131 <File 10132 RelativePath="..\xml\AccessControlList.cpp" 10133 > 10134 </File> 10135 <File 10136 RelativePath="..\xml\AccessControlList.h" 10137 > 10138 </File> 10139 <File 10140 RelativePath="..\xml\AccessItem.cpp" 10141 > 10142 </File> 10143 <File 10144 RelativePath="..\xml\AccessItem.h" 10145 > 10146 </File> 10147 <File 10148 RelativePath="..\xml\AccessItemRule.cpp" 10149 > 10150 </File> 10151 <File 10152 RelativePath="..\xml\AccessItemRule.h" 10153 > 10154 </File> 10155 <File 10132 10156 RelativePath="..\xml\DOMParser.cpp" 10133 10157 > -
trunk/WebCore/WebCore.xcodeproj/project.pbxproj
r32986 r33033 3576 3576 BC348BE90DB80354004ABAB9 /* JSXMLHttpRequestConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC348BE70DB80354004ABAB9 /* JSXMLHttpRequestConstructor.cpp */; }; 3577 3577 BC348BEA0DB80354004ABAB9 /* JSXMLHttpRequestConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = BC348BE80DB80354004ABAB9 /* JSXMLHttpRequestConstructor.h */; }; 3578 BC34C33A0DD607DE00090123 /* AccessControlList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC34C3340DD607DE00090123 /* AccessControlList.cpp */; }; 3579 BC34C33B0DD607DE00090123 /* AccessControlList.h in Headers */ = {isa = PBXBuildFile; fileRef = BC34C3350DD607DE00090123 /* AccessControlList.h */; }; 3580 BC34C33C0DD607DE00090123 /* AccessItem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC34C3360DD607DE00090123 /* AccessItem.cpp */; }; 3581 BC34C33D0DD607DE00090123 /* AccessItem.h in Headers */ = {isa = PBXBuildFile; fileRef = BC34C3370DD607DE00090123 /* AccessItem.h */; }; 3582 BC34C33E0DD607DE00090123 /* AccessItemRule.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC34C3380DD607DE00090123 /* AccessItemRule.cpp */; }; 3583 BC34C33F0DD607DE00090123 /* AccessItemRule.h in Headers */ = {isa = PBXBuildFile; fileRef = BC34C3390DD607DE00090123 /* AccessItemRule.h */; }; 3578 3584 BC3C39B60C0D3D8D005F4D7A /* JSMediaList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC3C39B40C0D3D8D005F4D7A /* JSMediaList.cpp */; }; 3579 3585 BC3C39B70C0D3D8D005F4D7A /* JSMediaList.h in Headers */ = {isa = PBXBuildFile; fileRef = BC3C39B50C0D3D8D005F4D7A /* JSMediaList.h */; }; … … 7879 7885 BC348BE70DB80354004ABAB9 /* JSXMLHttpRequestConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSXMLHttpRequestConstructor.cpp; sourceTree = "<group>"; }; 7880 7886 BC348BE80DB80354004ABAB9 /* JSXMLHttpRequestConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSXMLHttpRequestConstructor.h; sourceTree = "<group>"; }; 7887 BC34C3340DD607DE00090123 /* AccessControlList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AccessControlList.cpp; sourceTree = "<group>"; }; 7888 BC34C3350DD607DE00090123 /* AccessControlList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessControlList.h; sourceTree = "<group>"; }; 7889 BC34C3360DD607DE00090123 /* AccessItem.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AccessItem.cpp; sourceTree = "<group>"; }; 7890 BC34C3370DD607DE00090123 /* AccessItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessItem.h; sourceTree = "<group>"; }; 7891 BC34C3380DD607DE00090123 /* AccessItemRule.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AccessItemRule.cpp; sourceTree = "<group>"; }; 7892 BC34C3390DD607DE00090123 /* AccessItemRule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessItemRule.h; sourceTree = "<group>"; }; 7881 7893 BC3C39B40C0D3D8D005F4D7A /* JSMediaList.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSMediaList.cpp; sourceTree = "<group>"; }; 7882 7894 BC3C39B50C0D3D8D005F4D7A /* JSMediaList.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSMediaList.h; sourceTree = "<group>"; }; … … 12438 12450 isa = PBXGroup; 12439 12451 children = ( 12452 BC34C3340DD607DE00090123 /* AccessControlList.cpp */, 12453 BC34C3350DD607DE00090123 /* AccessControlList.h */, 12454 BC34C3360DD607DE00090123 /* AccessItem.cpp */, 12455 BC34C3370DD607DE00090123 /* AccessItem.h */, 12456 BC34C3380DD607DE00090123 /* AccessItemRule.cpp */, 12457 BC34C3390DD607DE00090123 /* AccessItemRule.h */, 12440 12458 1ACE53E10A8D18E70022947D /* DOMParser.cpp */, 12441 12459 1ACE53E20A8D18E70022947D /* DOMParser.h */, … … 15021 15039 2999869E0DD0DEEA00F8D261 /* AccessibilityListBoxOption.h in Headers */, 15022 15040 299986A00DD0DEEA00F8D261 /* AccessibilityListBox.h in Headers */, 15041 BC34C33B0DD607DE00090123 /* AccessControlList.h in Headers */, 15042 BC34C33D0DD607DE00090123 /* AccessItem.h in Headers */, 15043 BC34C33F0DD607DE00090123 /* AccessItemRule.h in Headers */, 15023 15044 ); 15024 15045 runOnlyForDeploymentPostprocessing = 0; … … 16728 16749 2999869F0DD0DEEA00F8D261 /* AccessibilityListBoxOption.cpp in Sources */, 16729 16750 299986A10DD0DEEA00F8D261 /* AccessibilityListBox.cpp in Sources */, 16751 BC34C33A0DD607DE00090123 /* AccessControlList.cpp in Sources */, 16752 BC34C33C0DD607DE00090123 /* AccessItem.cpp in Sources */, 16753 BC34C33E0DD607DE00090123 /* AccessItemRule.cpp in Sources */, 16730 16754 ); 16731 16755 runOnlyForDeploymentPostprocessing = 0; -
trunk/WebCore/WebCoreSources.bkl
r32941 r33033 836 836 837 837 <set append="1" var="WEBCORE_SOURCES_XML"> 838 xml/AccessControlList.cpp 839 xml/AccessItem.cpp 840 xml/AccessItemRule.cpp 838 841 xml/DOMParser.cpp 839 842 xml/NativeXPathNSResolver.cpp
Note:
See TracChangeset
for help on using the changeset viewer.