LayoutTests:
authorddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Feb 2007 03:43:40 +0000 (03:43 +0000)
committerddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Feb 2007 03:43:40 +0000 (03:43 +0000)
commit8c23db3c83bc2bccee7204f9032efacd4b36b13d
tree19d30f94fb904231a33122f46083bbb7c5eadbd7
parent90bfa8e94bd14179a36a38a180229b4166ba51e4
LayoutTests:

        Reviewed by Darin.

        http://bugs.webkit.org/show_bug.cgi?id=7266
        Webarchive format saves duplicate WebSubresources to .webarchive file

        * webarchive/test-duplicate-resources-expected.txt: Duplicate resources removed.
        * webarchive/test-frameset-expected.txt: Ditto.

WebKit:

        Reviewed by Darin.

        http://bugs.webkit.org/show_bug.cgi?id=7266
        Webarchive format saves duplicate WebSubresources to .webarchive file

        Tests: webarchive/test-duplicate-resources.html
               webarchive/test-frameset.html

        * WebView/WebArchiver.mm:
        (+[WebArchiver _archiveWithMarkupString:fromFrame:nodes:]): Use an NSMutableSet to prevent
        duplicate subresources from being added to the webarchive.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/webarchive/test-duplicate-resources-expected.txt
LayoutTests/webarchive/test-frameset-expected.txt
WebKit/ChangeLog
WebKit/WebView/WebArchiver.mm