2010-08-23 Jay Civelli <jcivelli@chromium.org>
authorjcivelli@chromium.org <jcivelli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Aug 2010 03:43:08 +0000 (03:43 +0000)
committerjcivelli@chromium.org <jcivelli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Aug 2010 03:43:08 +0000 (03:43 +0000)
commit33c419f4a0efc8c342d89e07def42969b0112620
tree07d7d49b85fd84e8826b64d6a5eaca603116243c
parentadf44ad20e1822c6c417e982aa3bcccb62294981
2010-08-23  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@65860 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]