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..30635da6e089b2c71310e65f134ca5440c052be3 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,7 +104,9 @@ docElem = doc.documentElement; |
newDoc = domImpl.createDocument(rootNS,rootName,nullDocType); |
encodingName = newDoc.inputEncoding; |
- assertNull("documentgetinputencoding02",encodingName); |
+ assertEquals("documentgetinputencoding02", "utf-8", encodingName); |
philipj_slow
2015/06/23 08:32:57
I think that this should simply be |assertEquals("
Habib Virji
2015/06/23 13:58:09
Done.
|
+ assertEquals("documentgetinputencoding02", "utf8", encodingName); |
+ assertEquals("documentgetinputencoding02", "unicode-1-1-utf-8", encodingName); |
} |