summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-26 21:53:16 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-26 21:53:16 +0000
commit067ec34d8e2f322813bf1836667c0fdb50f6a0a0 (patch)
treef6337a93f49f55374d851bb6287223686d836de6
parent1c4963245b3b8bf0939c21634857a12d1b7135a9 (diff)
downloadchromium_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.htm2
-rw-r--r--webkit/glue/dom_serializer_unittest.cc4
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="&percnt;&nsup;&supl;&apos;">&percnt;&nsup;&supl;&apos;</BODY></HTML>
+<HTML><BODY title="&percnt;&nsup;&sup1;&apos;">&percnt;&nsup;&sup1;&apos;</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 "&percnt;&nsup;&supl;&apos;".
+ // Unescaped string for "&percnt;&nsup;&sup1;&apos;".
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("&percnt;"));
ASSERT_EQ(std::string::npos, serialized_contents.find("&nsup;"));
- ASSERT_EQ(std::string::npos, serialized_contents.find("&supl;"));
+ ASSERT_EQ(std::string::npos, serialized_contents.find("&sup1;"));
ASSERT_EQ(std::string::npos, serialized_contents.find("&apos;"));
}