Skip to content
  • jcivelli@chromium.org's avatar
    2011-03-23 Jay Civelli <jcivelli@chromium.org> · 2de77018
    jcivelli@chromium.org authored
            Reviewed by David Levin.
    
            Relanding:
            Moving the method that is used to retrieve all the resources in
            a page from the Chromium code (dom_operations.cc) to WebKit.
            https://bugs.webkit.org/show_bug.cgi?id=55859
    
            * WebKit.gyp:
            * public/WebPageSerializer.h:
            * public/WebURL.h:
            (WebKit::operator==):
            (WebKit::operator!=):
            * public/WebVector.h:
            (WebKit::WebVector::contains):
            * src/WebDataSourceImpl.cpp:
            (WebKit::WebDataSourceImpl::WebDataSourceImpl):
            * src/WebPageSerializer.cpp:
            (WebCore::getSubResourceURLFromElement):
            (WebCore::retrieveResourcesForElement):
            (WebCore::retrieveResourcesForFrame):
            (WebKit::WebPageSerializer::retrieveAllResources):
            * tests/WebFrameTest.cpp:
            * tests/WebPageSerializerTest.cpp: Added.
            * tests/data/pageserialization/awesome.png: Added.
            * tests/data/pageserialization/embed_iframe.html: Added.
            * tests/data/pageserialization/object_iframe.html: Added.
            * tests/data/pageserialization/simple_iframe.html: Added.
            * tests/data/pageserialization/simple_page.html: Added.
            * tests/data/pageserialization/top_frame.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    2de77018