Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Unified Diff: LayoutTests/dom/xhtml/level3/core/documentgetinputencoding02.js

Issue 1180793002: Document attribute charset and its aliases to return UTF-8 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated expectation file with UTF-8 Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/document-attribute-js-null.html » ('j') | Source/core/dom/Document.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/dom/xhtml/level3/core/documentgetinputencoding02.js
diff --git a/LayoutTests/dom/xhtml/level3/core/documentgetinputencoding02.js b/LayoutTests/dom/xhtml/level3/core/documentgetinputencoding02.js
index 7e31b6af714b86b4b975608ba6f2d6e32ba02f92..bcd46020b0fe653da02505ed1731ebf7e445532e 100644
--- a/LayoutTests/dom/xhtml/level3/core/documentgetinputencoding02.js
+++ b/LayoutTests/dom/xhtml/level3/core/documentgetinputencoding02.js
@@ -104,7 +104,7 @@ docElem = doc.documentElement;
newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
encodingName = newDoc.inputEncoding;
- assertNull("documentgetinputencoding02",encodingName);
+ assertEquals("documentgetinputencoding02", "UTF-8".toLowerCase(), encodingName.toLowerCase());
philipj_slow 2015/06/15 15:31:38 Why not compare the encodings case-sensitively?
Habib Virji 2015/06/15 16:14:55 Saw this practice in other encoding file in test d
}
« no previous file with comments | « no previous file | LayoutTests/fast/dom/document-attribute-js-null.html » ('j') | Source/core/dom/Document.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698