Changeset 54786 in webkit


Ignore:
Timestamp:
Feb 15, 2010 12:35:55 PM (14 years ago)
Author:
kov@webkit.org
Message:

2010-02-15 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Xan Lopez.

[GTK] Crashes when going back to a page that has data: URIs, with page cache enabled
https://bugs.webkit.org/show_bug.cgi?id=34944

Set the URL in the newly created response, when parsing data:
URIs.

Test: fast/harness/page-cache-crash-on-data-urls.html

  • platform/network/soup/ResourceHandleSoup.cpp: (WebCore::parseDataUrl):
Location:
trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r54784 r54786  
     12010-02-15  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
     2
     3        Reviewed by Xan Lopez.
     4
     5        [GTK] Crashes when going back to a page that has data: URIs, with page cache enabled
     6        https://bugs.webkit.org/show_bug.cgi?id=34944
     7
     8        * fast/harness/page-cache-crash-on-data-urls-expected.txt: Added.
     9        * fast/harness/page-cache-crash-on-data-urls.html: Added.
     10        * fast/harness/resources/cached-page-with-data-urls.html: Added.
     11
    1122010-02-15  Dan Bernstein  <mitz@apple.com>
    213
  • trunk/WebCore/ChangeLog

    r54784 r54786  
     12010-02-15  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
     2
     3        Reviewed by Xan Lopez.
     4
     5        [GTK] Crashes when going back to a page that has data: URIs, with page cache enabled
     6        https://bugs.webkit.org/show_bug.cgi?id=34944
     7
     8        Set the URL in the newly created response, when parsing data:
     9        URIs.
     10
     11        Test: fast/harness/page-cache-crash-on-data-urls.html
     12
     13        * platform/network/soup/ResourceHandleSoup.cpp:
     14        (WebCore::parseDataUrl):
     15
    1162010-02-15  Dan Bernstein  <mitz@apple.com>
    217
  • trunk/WebCore/platform/network/soup/ResourceHandleSoup.cpp

    r54375 r54786  
    381381
    382382    ResourceResponse response;
     383    response.setURL(handle->request().url());
    383384    response.setMimeType(mimeType);
    384385
Note: See TracChangeset for help on using the changeset viewer.