Changeset 92883 in webkit


Ignore:
Timestamp:
Aug 11, 2011 3:02:33 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

The PageSerializer should always use absolute URL
https://bugs.webkit.org/show_bug.cgi?id=66006

Patch by Benjamin Poulain <benjamin@webkit.org> on 2011-08-11
Reviewed by Adam Barth.

Page serializer resolves every URL for storing the resources.
The MarkupAccumulator used there should use the same rules in order to
create a valid file.

No new tests because the test infrastructure for this
does not exist with layout tests and the Chromium unit test for
the serializer are disabled.

  • page/PageSerializer.cpp:

(WebCore::SerializerMarkupAccumulator::SerializerMarkupAccumulator):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r92874 r92883  
     12011-08-11  Benjamin Poulain  <benjamin@webkit.org>
     2
     3        The PageSerializer should always use absolute URL
     4        https://bugs.webkit.org/show_bug.cgi?id=66006
     5
     6        Reviewed by Adam Barth.
     7
     8        Page serializer resolves every URL for storing the resources.
     9        The MarkupAccumulator used there should use the same rules in order to
     10        create a valid file.
     11
     12        No new tests because the test infrastructure for this
     13        does not exist with layout tests and the Chromium unit test for
     14        the serializer are disabled.
     15
     16        * page/PageSerializer.cpp:
     17        (WebCore::SerializerMarkupAccumulator::SerializerMarkupAccumulator):
     18
    1192011-08-01  Adrienne Walker  <enne@google.com>
    220
  • trunk/Source/WebCore/page/PageSerializer.cpp

    r92769 r92883  
    107107};
    108108
    109 // FIXME: should that really use ResolveNonLocalURLs?
    110109SerializerMarkupAccumulator::SerializerMarkupAccumulator(PageSerializer* serializer, Document* document, Vector<Node*>* nodes)
    111     : MarkupAccumulator(nodes, ResolveNonLocalURLs)
     110    : MarkupAccumulator(nodes, ResolveAllURLs)
    112111    , m_serializer(serializer)
    113112    , m_document(document)
Note: See TracChangeset for help on using the changeset viewer.