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

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 as per philipj suggestions 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') | no next file with comments »
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..841526f354c45ddf9d304317d220c14d42f301f5 100644
--- a/LayoutTests/dom/xhtml/level3/core/documentgetinputencoding02.js
+++ b/LayoutTests/dom/xhtml/level3/core/documentgetinputencoding02.js
@@ -95,7 +95,7 @@ function documentgetinputencoding02() {
}
doc = load(docRef, "doc", "barfoo");
domImpl = doc.implementation;
-docElem = doc.documentElement;
+ docElem = doc.documentElement;
rootNS = docElem.namespaceURI;
@@ -104,8 +104,7 @@ docElem = doc.documentElement;
newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
encodingName = newDoc.inputEncoding;
- assertNull("documentgetinputencoding02",encodingName);
-
+ assertEquals("documentgetinputencoding02", "UTF-8", encodingName);
}
function runTest() {
« no previous file with comments | « no previous file | LayoutTests/fast/dom/document-attribute-js-null.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698