[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

Changeset 33033 in webkit


Ignore:
Timestamp:
May 11, 2008, 1:26:28 PM (17 years ago)
Author:
weinig@apple.com
Message:

2008-05-11 Sam Weinig <sam@webkit.org>

Reviewed by Dan Bernstein.

Add scaffolding for the implementation of Access Control for Cross-site Requests.

  • GNUmakefile.am:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • WebCoreSources.bkl:
  • xml/AccessControlList.cpp: Added. (WebCore::AccessControlList::AccessControlList): (WebCore::AccessControlList::~AccessControlList): (WebCore::AccessControlList::parseAccessControlHeader): (WebCore::AccessControlList::checkOrigin):
  • xml/AccessControlList.h: Added.
  • xml/AccessItem.cpp: Added. (WebCore::AccessItem::AccessItem): (WebCore::AccessItem::parseAccessItem): (WebCore::AccessItem::matches):
  • xml/AccessItem.h: Added.
  • xml/AccessItemRule.cpp: Added. (WebCore::AccessItemRule::AccessItemRule): (WebCore::AccessItemRule::parseAccessItemRule):
  • xml/AccessItemRule.h: Added.
Location:
trunk/WebCore
Files:
6 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r33032 r33033  
     12008-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
    1282008-05-11  Julien Chaffraix  <jchaffraix@webkit.org>
    229
  • trunk/WebCore/GNUmakefile.am

    r32989 r33033  
    992992        WebCore/rendering/RenderWordBreak.cpp \
    993993        WebCore/rendering/RootInlineBox.cpp \
     994        WebCore/xml/AccessControlList.cpp \
     995        WebCore/xml/AccessItem.cpp \
     996        WebCore/xml/AccessItemRule.cpp \
    994997        WebCore/xml/DOMParser.cpp \
    995998        WebCore/xml/XMLHttpRequest.cpp \
  • trunk/WebCore/WebCore.pro

    r32989 r33033  
    928928    rendering/RootInlineBox.cpp \
    929929    rendering/SVGRenderTreeAsText.cpp \
     930    xml/AccessControlList.cpp \
     931    xml/AccessItem.cpp \
     932    xml/AccessItemRule.cpp \
    930933    xml/DOMParser.cpp \
    931934    xml/NativeXPathNSResolver.cpp \
  • trunk/WebCore/WebCore.vcproj/WebCore.vcproj

    r33009 r33033  
    1013010130                        >
    1013110131                        <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
    1013210156                                RelativePath="..\xml\DOMParser.cpp"
    1013310157                                >
  • trunk/WebCore/WebCore.xcodeproj/project.pbxproj

    r32986 r33033  
    35763576                BC348BE90DB80354004ABAB9 /* JSXMLHttpRequestConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC348BE70DB80354004ABAB9 /* JSXMLHttpRequestConstructor.cpp */; };
    35773577                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 */; };
    35783584                BC3C39B60C0D3D8D005F4D7A /* JSMediaList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC3C39B40C0D3D8D005F4D7A /* JSMediaList.cpp */; };
    35793585                BC3C39B70C0D3D8D005F4D7A /* JSMediaList.h in Headers */ = {isa = PBXBuildFile; fileRef = BC3C39B50C0D3D8D005F4D7A /* JSMediaList.h */; };
     
    78797885                BC348BE70DB80354004ABAB9 /* JSXMLHttpRequestConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSXMLHttpRequestConstructor.cpp; sourceTree = "<group>"; };
    78807886                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>"; };
    78817893                BC3C39B40C0D3D8D005F4D7A /* JSMediaList.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSMediaList.cpp; sourceTree = "<group>"; };
    78827894                BC3C39B50C0D3D8D005F4D7A /* JSMediaList.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSMediaList.h; sourceTree = "<group>"; };
     
    1243812450                        isa = PBXGroup;
    1243912451                        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 */,
    1244012458                                1ACE53E10A8D18E70022947D /* DOMParser.cpp */,
    1244112459                                1ACE53E20A8D18E70022947D /* DOMParser.h */,
     
    1502115039                                2999869E0DD0DEEA00F8D261 /* AccessibilityListBoxOption.h in Headers */,
    1502215040                                299986A00DD0DEEA00F8D261 /* AccessibilityListBox.h in Headers */,
     15041                                BC34C33B0DD607DE00090123 /* AccessControlList.h in Headers */,
     15042                                BC34C33D0DD607DE00090123 /* AccessItem.h in Headers */,
     15043                                BC34C33F0DD607DE00090123 /* AccessItemRule.h in Headers */,
    1502315044                        );
    1502415045                        runOnlyForDeploymentPostprocessing = 0;
     
    1672816749                                2999869F0DD0DEEA00F8D261 /* AccessibilityListBoxOption.cpp in Sources */,
    1672916750                                299986A10DD0DEEA00F8D261 /* AccessibilityListBox.cpp in Sources */,
     16751                                BC34C33A0DD607DE00090123 /* AccessControlList.cpp in Sources */,
     16752                                BC34C33C0DD607DE00090123 /* AccessItem.cpp in Sources */,
     16753                                BC34C33E0DD607DE00090123 /* AccessItemRule.cpp in Sources */,
    1673016754                        );
    1673116755                        runOnlyForDeploymentPostprocessing = 0;
  • trunk/WebCore/WebCoreSources.bkl

    r32941 r33033  
    836836
    837837    <set append="1" var="WEBCORE_SOURCES_XML">
     838        xml/AccessControlList.cpp
     839        xml/AccessItem.cpp
     840        xml/AccessItemRule.cpp
    838841        xml/DOMParser.cpp
    839842        xml/NativeXPathNSResolver.cpp
Note: See TracChangeset for help on using the changeset viewer.