2010-06-25 Jay Civelli <jcivelli@chromium.org>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 26 Jun 2010 06:02:27 +0000 (06:02 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 26 Jun 2010 06:02:27 +0000 (06:02 +0000)
commitc51dd48afb414bd2fec1ec832d1c59077894cd46
tree162439616c4f7b6471aad3e350495b83513e9104
parent3c7a43f74bc2770ae0e0f3da23085ee24c644a8d
2010-06-25  Jay Civelli  <jcivelli@chromium.org>

        Reviewed by Darin Fisher.

        [chromium] Made WebFrame not report the text from hidden frames.
        (some pages contain hidden frames with garbage text that
        should not be indexed or used to detect the page's language).
        https://bugs.webkit.org/show_bug.cgi?id=39456

        * DEPS:
        * WebKit.gyp:
        * src/WebFrameImpl.cpp:
        (WebKit::frameContentAsPlainText):
        * tests/RunAllTests.cpp:
        (main):
        * tests/WebFrameTest.cpp: Added.
        * tests/data: Added.
        * tests/data/iframes_test.html: Added.
        * tests/data/invisible_iframe.html: Added.
        * tests/data/visible_iframe.html: Added.
        * tests/data/zero_sized_iframe.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/chromium/ChangeLog
WebKit/chromium/WebKit.gyp
WebKit/chromium/src/WebFrameImpl.cpp
WebKit/chromium/tests/RunAllTests.cpp
WebKit/chromium/tests/WebFrameTest.cpp [new file with mode: 0644]
WebKit/chromium/tests/data/iframes_test.html [new file with mode: 0644]
WebKit/chromium/tests/data/invisible_iframe.html [new file with mode: 0644]
WebKit/chromium/tests/data/visible_iframe.html [new file with mode: 0644]
WebKit/chromium/tests/data/zero_sized_iframe.html [new file with mode: 0644]