2010-08-17 Jay Civelli <jcivelli@chromium.org>
authorjcivelli@chromium.org <jcivelli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Aug 2010 17:45:48 +0000 (17:45 +0000)
committerjcivelli@chromium.org <jcivelli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Aug 2010 17:45:48 +0000 (17:45 +0000)
commit84bc4a55ca40a0f42b3077a0b9b2a06b9e242eb0
tree3284dfc995a2ccbbe87cb1c3e70bc9e35ee9b624
parentd0cffde25146fd8b89bcd9dfb0d7c9dafcd3a058
2010-08-17  Jay Civelli  <jcivelli@chromium.org>

        Reviewed by Darin Fisher.

        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

        * WebKit.gyp:
        * public/WebCString.h:
        (WebKit::operator<):
        * public/WebURL.h:
        (WebKit::operator<):
        * src/WebCString.cpp:
        (WebKit::WebCString::compare):
        * src/WebFrameImpl.cpp:
        (WebKit::frameContentAsPlainText):
        * tests/RunAllTests.cpp:
        (main):
        * tests/WebFrameTest.cpp: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65516 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]