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() { |