Changeset 34513 in webkit


Ignore:
Timestamp:
Jun 12, 2008 3:40:37 AM (16 years ago)
Author:
abarth@webkit.org
Message:

WebCore:

2008-06-12 Adam Barth <abarth@webkit.org>

Rubberstamped by Maciej.

Roll 34504 back in.

Test: http/tests/xmlhttprequest/access-control-basic-allow-access-control-origin-header-data-url.html

  • platform/SecurityOrigin.cpp: (WebCore::SecurityOrigin::toString):

LayoutTests:

2008-06-12 Adam Barth <abarth@webkit.org>

Rubberstamped by Maciej.

Add the data url test back and set more agressive Cache-Control headers.

  • http/tests/xmlhttprequest/access-control-basic-allow-access-control-origin-header-data-url-expected.txt: Copied from LayoutTests/http/tests/xmlhttprequest/access-control-basic-allow-access-control-origin-header-data-url-expected.txt.
  • http/tests/xmlhttprequest/access-control-basic-allow-access-control-origin-header-data-url.html: Copied from LayoutTests/http/tests/xmlhttprequest/access-control-basic-allow-access-control-origin-header-data-url.html.
  • http/tests/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi:
Location:
trunk
Files:
4 edited
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r34510 r34513  
     12008-06-12  Adam Barth  <abarth@webkit.org>
     2
     3        Rubberstamped by Maciej.
     4
     5        Add the data url test back and set more agressive Cache-Control headers.
     6
     7        * http/tests/xmlhttprequest/access-control-basic-allow-access-control-origin-header-data-url-expected.txt: Copied from LayoutTests/http/tests/xmlhttprequest/access-control-basic-allow-access-control-origin-header-data-url-expected.txt.
     8        * http/tests/xmlhttprequest/access-control-basic-allow-access-control-origin-header-data-url.html: Copied from LayoutTests/http/tests/xmlhttprequest/access-control-basic-allow-access-control-origin-header-data-url.html.
     9        * http/tests/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi:
     10
    1112008-06-12  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
    212
  • trunk/LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi

    r34509 r34513  
    33
    44print "Content-Type: text/plain\n";
    5 print "Cache-Control: no-cache\n";
     5print "Cache-Control: no-cache, no-store\n";
    66print "Access-Control: allow <*>\n\n";
    77
  • trunk/WebCore/ChangeLog

    r34507 r34513  
     12008-06-12  Adam Barth  <abarth@webkit.org>
     2
     3        Rubberstamped by Maciej.
     4
     5        Roll 34504 back in.
     6
     7        Test: http/tests/xmlhttprequest/access-control-basic-allow-access-control-origin-header-data-url.html
     8
     9        * platform/SecurityOrigin.cpp:
     10        (WebCore::SecurityOrigin::toString):
     11
    1122008-06-11  Dan Bernstein  <mitz@apple.com>
    213
  • trunk/WebCore/platform/SecurityOrigin.cpp

    r34511 r34513  
    169169        return String();
    170170
     171    if (m_noAccess)
     172        return String();
     173
    171174    if (m_protocol == "file")
    172175        return String("file://");
Note: See TracChangeset for help on using the changeset viewer.