WebCore:
authordimich@chromium.org <dimich@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Feb 2009 00:21:21 +0000 (00:21 +0000)
committerdimich@chromium.org <dimich@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Feb 2009 00:21:21 +0000 (00:21 +0000)
commit02d30fae1ad391d0ca55986d42139f288c9e3b21
tree7f4b6cb572cb07577f837b8aabc76164f510dbfb
parentb7456fc8d5d2dd971bfdf87ef21d877a511a6da6
WebCore:
2009-02-17  Peter Abrahamsen  <rainhead@gmail.com>

        Reviewed by Sam Weinig.

        https://bugs.webkit.org/show_bug.cgi?id=23958
        <rdar://problem/6587815>

        Updated XMLHttpRequest with new header names from the latest Access
        Control draft: http://www.w3.org/TR/access-control/
        - Access-Control-Origin becomes Access-Control-Allow-Origin
        - Access-Control-Credentials becomes Access-Control-Allow-Credentials

        * xml/XMLHttpRequest.cpp:
        (WebCore::XMLHttpRequest::accessControlCheck):

LayoutTests:
2009-02-17  Peter Abrahamsen  <rainhead@gmail.com>

        Reviewed by Sam Weinig.

        https://bugs.webkit.org/show_bug.cgi?id=23958
        <rdar://problem/6587815>

        Updated XMLHttpRequests tests to match the newest Access Control draft.

        * http/tests/security/originHeader/resources/print-origin.cgi:
        * http/tests/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi:
        * http/tests/xmlhttprequest/resources/access-control-basic-allow-print-headers.cgi:
        * http/tests/xmlhttprequest/resources/access-control-basic-allow-star.cgi:
        * http/tests/xmlhttprequest/resources/access-control-basic-allow.cgi:
        * http/tests/xmlhttprequest/resources/access-control-basic-get-fail-non-simple.cgi:
        * http/tests/xmlhttprequest/resources/access-control-basic-non-get-allow.cgi:
        * http/tests/xmlhttprequest/resources/access-control-basic-preflight-cache-invalidation.php:
        * http/tests/xmlhttprequest/resources/access-control-basic-preflight-cache-timeout.php:
        * http/tests/xmlhttprequest/resources/access-control-basic-preflight-cache.php:
        * http/tests/xmlhttprequest/resources/access-control-basic-whitelist-response-headers.cgi:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41046 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
LayoutTests/ChangeLog
LayoutTests/http/tests/security/originHeader/resources/print-origin.cgi
LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi
LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-allow-print-headers.cgi
LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-allow-star.cgi
LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-allow.cgi
LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-get-fail-non-simple.cgi
LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-non-get-allow.cgi
LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-preflight-cache-invalidation.php
LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-preflight-cache-timeout.php
LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-preflight-cache.php
LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-whitelist-response-headers.cgi
WebCore/ChangeLog
WebCore/xml/XMLHttpRequest.cpp