diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 21:53:16 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 21:53:16 +0000 |
commit | 067ec34d8e2f322813bf1836667c0fdb50f6a0a0 (patch) | |
tree | f6337a93f49f55374d851bb6287223686d836de6 | |
parent | 1c4963245b3b8bf0939c21634857a12d1b7135a9 (diff) | |
download | chromium_src-067ec34d8e2f322813bf1836667c0fdb50f6a0a0.zip chromium_src-067ec34d8e2f322813bf1836667c0fdb50f6a0a0.tar.gz chromium_src-067ec34d8e2f322813bf1836667c0fdb50f6a0a0.tar.bz2 |
Replaced supl (sup-El) by sup1 (sup-One) in DOMSerializer test because there is no entity named supL.
There is no test case because this is a test fix.
BUG=53148
TEST=none
Review URL: http://codereview.chromium.org/3205010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57593 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/data/dom_serializer/nonstandard_htmlentities.htm | 2 | ||||
-rw-r--r-- | webkit/glue/dom_serializer_unittest.cc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/webkit/data/dom_serializer/nonstandard_htmlentities.htm b/webkit/data/dom_serializer/nonstandard_htmlentities.htm index 824f251..17cd529 100644 --- a/webkit/data/dom_serializer/nonstandard_htmlentities.htm +++ b/webkit/data/dom_serializer/nonstandard_htmlentities.htm @@ -1 +1 @@ -<HTML><BODY title="%⊅&supl;'">%⊅&supl;'</BODY></HTML> +<HTML><BODY title="%⊅¹'">%⊅¹'</BODY></HTML> diff --git a/webkit/glue/dom_serializer_unittest.cc b/webkit/glue/dom_serializer_unittest.cc index ddc3874..68a4189 100644 --- a/webkit/glue/dom_serializer_unittest.cc +++ b/webkit/glue/dom_serializer_unittest.cc @@ -647,7 +647,7 @@ TEST_F(DomSerializerTests, DISABLED_SerializeHTMLDOMWithNonStandardEntities) { WebDocument doc = web_frame->document(); ASSERT_TRUE(doc.isHTMLDocument()); WebElement body_element = doc.body(); - // Unescaped string for "%⊅&supl;'". + // Unescaped string for "%⊅¹'". static const wchar_t parsed_value[] = { '%', 0x2285, 0x00b9, '\'', 0 }; @@ -664,7 +664,7 @@ TEST_F(DomSerializerTests, DISABLED_SerializeHTMLDOMWithNonStandardEntities) { // Confirm that the serialized string has no non-standard HTML entities. ASSERT_EQ(std::string::npos, serialized_contents.find("%")); ASSERT_EQ(std::string::npos, serialized_contents.find("⊅")); - ASSERT_EQ(std::string::npos, serialized_contents.find("&supl;")); + ASSERT_EQ(std::string::npos, serialized_contents.find("¹")); ASSERT_EQ(std::string::npos, serialized_contents.find("'")); } |