diff options
author | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-27 17:29:28 +0000 |
---|---|---|
committer | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-27 17:29:28 +0000 |
commit | d85e3d7c92725b011e1489cb3e052b6014819b83 (patch) | |
tree | 17f1031dd164cb2fa14ac7ee39c92abbbe64559b /webkit/tools/webcore_unit_tests | |
parent | d20f591608e3e504f43e44772e903179482dca6c (diff) | |
download | chromium_src-d85e3d7c92725b011e1489cb3e052b6014819b83.zip chromium_src-d85e3d7c92725b011e1489cb3e052b6014819b83.tar.gz chromium_src-d85e3d7c92725b011e1489cb3e052b6014819b83.tar.bz2 |
Fix test to account for the fact that %00 is now unescaped
by decodeURLEscapeSequences.
See: https://bugs.webkit.org/show_bug.cgi?id=28767
TBR=darin (his original patch: http://codereview.chromium.org/174614)
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/173578
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24619 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/webcore_unit_tests')
-rw-r--r-- | webkit/tools/webcore_unit_tests/GKURL_unittest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/webcore_unit_tests/GKURL_unittest.cpp b/webkit/tools/webcore_unit_tests/GKURL_unittest.cpp index 40bf57a..c5d3845 100644 --- a/webkit/tools/webcore_unit_tests/GKURL_unittest.cpp +++ b/webkit/tools/webcore_unit_tests/GKURL_unittest.cpp @@ -299,9 +299,9 @@ TEST(GKURL, Decode) { EXPECT_STREQ(decode_cases[i].output, str.utf8().data()); } - // Our decode should not decode %00 + // Our decode should decode %00 WebCore::String zero = WebCore::decodeURLEscapeSequences("%00"); - EXPECT_STREQ("%00", zero.utf8().data()); + EXPECT_STRNE("%00", zero.utf8().data()); // Test the error behavior for invalid UTF-8 (we differ from WebKit here). WebCore::String invalid = WebCore::decodeURLEscapeSequences( |