<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[195497] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/195497">195497</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2016-01-22 17:10:42 -0800 (Fri, 22 Jan 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>document.charset should be an alias for document.characterSet
https://bugs.webkit.org/show_bug.cgi?id=153367

Reviewed by Ryosuke Niwa.

LayoutTests/imported/w3c:

Rebaseline existing W3C tests now that more checks are passing.

* web-platform-tests/dom/interfaces-expected.txt:
* web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt:
* web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument-expected.txt:
* web-platform-tests/dom/nodes/Document-constructor-expected.txt:
* web-platform-tests/dom/nodes/Node-properties-expected.txt:
* web-platform-tests/html/dom/interfaces-expected.txt:

Source/WebCore:

document.charset should be an alias for document.characterSet:
- https://dom.spec.whatwg.org/#dom-document-charset

It should also be read-only.

Chrome matches the specification.

No new tests, already covered by existing tests.

* dom/Document.h:
* dom/Document.idl:

LayoutTests:

Drop outdated tests.

* fast/dom/Document/document-charset-expected.txt:
* fast/dom/document-attribute-js-null-expected.txt:
* fast/dom/document-attribute-js-null.html:
* fast/encoding/css-charset-default-expected.txt:
* fast/encoding/css-charset-default.xhtml:
* fast/encoding/external-script-charset.js: Removed.
* fast/encoding/external-script-charset.xhtml: Removed.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsfastdomDocumentdocumentcharsetexpectedtxt">trunk/LayoutTests/fast/dom/Document/document-charset-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomdocumentattributejsnullexpectedtxt">trunk/LayoutTests/fast/dom/document-attribute-js-null-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomdocumentattributejsnullhtml">trunk/LayoutTests/fast/dom/document-attribute-js-null.html</a></li>
<li><a href="#trunkLayoutTestsfastencodingcsscharsetdefaultexpectedtxt">trunk/LayoutTests/fast/encoding/css-charset-default-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastencodingcsscharsetdefaultxhtml">trunk/LayoutTests/fast/encoding/css-charset-default.xhtml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cChangeLog">trunk/LayoutTests/imported/w3c/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdominterfacesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDOMImplementationcreateDocumentexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDOMImplementationcreateHTMLDocumentexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentconstructorexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-constructor-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodepropertiesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-properties-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldominterfacesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoredomDocumenth">trunk/Source/WebCore/dom/Document.h</a></li>
<li><a href="#trunkSourceWebCoredomDocumentidl">trunk/Source/WebCore/dom/Document.idl</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsfastencodingexternalscriptcharsetjs">trunk/LayoutTests/fast/encoding/external-script-charset.js</a></li>
<li><a href="#trunkLayoutTestsfastencodingexternalscriptcharsetxhtml">trunk/LayoutTests/fast/encoding/external-script-charset.xhtml</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/LayoutTests/ChangeLog        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -1,5 +1,22 @@
</span><span class="cx"> 2016-01-22  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        document.charset should be an alias for document.characterSet
+        https://bugs.webkit.org/show_bug.cgi?id=153367
+
+        Reviewed by Ryosuke Niwa.
+
+        Drop outdated tests.
+
+        * fast/dom/Document/document-charset-expected.txt:
+        * fast/dom/document-attribute-js-null-expected.txt:
+        * fast/dom/document-attribute-js-null.html:
+        * fast/encoding/css-charset-default-expected.txt:
+        * fast/encoding/css-charset-default.xhtml:
+        * fast/encoding/external-script-charset.js: Removed.
+        * fast/encoding/external-script-charset.xhtml: Removed.
+
+2016-01-22  Chris Dumez  &lt;cdumez@apple.com&gt;
+
</ins><span class="cx">         Document.open / Document.write should be prevented while the document is being unloaded
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=153255
</span><span class="cx">         &lt;rdar://problem/22741293&gt;
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomDocumentdocumentcharsetexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/Document/document-charset-expected.txt (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/Document/document-charset-expected.txt        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/LayoutTests/fast/dom/Document/document-charset-expected.txt        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -10,20 +10,20 @@
</span><span class="cx"> 
</span><span class="cx"> Setting charset to UTF-8...
</span><span class="cx"> 
</span><del>- document.charset: UTF-8
</del><ins>+ document.charset: KOI8-R
</ins><span class="cx"> 
</span><span class="cx">  document.defaultCharset: defined
</span><span class="cx"> 
</span><del>- document.characterSet: UTF-8
</del><ins>+ document.characterSet: KOI8-R
</ins><span class="cx"> 
</span><del>- document.inputEncoding: UTF-8
</del><ins>+ document.inputEncoding: KOI8-R
</ins><span class="cx"> 
</span><span class="cx"> Setting characterSet to KOI8-R (expected to fail, matching Firefox)...
</span><span class="cx"> 
</span><del>- document.charset: UTF-8
</del><ins>+ document.charset: KOI8-R
</ins><span class="cx"> 
</span><span class="cx">  document.defaultCharset: defined
</span><span class="cx"> 
</span><del>- document.characterSet: UTF-8
</del><ins>+ document.characterSet: KOI8-R
</ins><span class="cx"> 
</span><del>- document.inputEncoding: UTF-8
</del><ins>+ document.inputEncoding: KOI8-R
</ins></span></pre></div>
<a id="trunkLayoutTestsfastdomdocumentattributejsnullexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/document-attribute-js-null-expected.txt (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/document-attribute-js-null-expected.txt        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/LayoutTests/fast/dom/document-attribute-js-null-expected.txt        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -1,7 +1,6 @@
</span><span class="cx"> This test setting various attributes of documents to JavaScript null.
</span><span class="cx"> 
</span><span class="cx"> TEST SUCCEEDED: Got the expected exception (9). [tested Document.xmlVersion]
</span><del>-TEST SUCCEEDED: The value was undefined. [tested Document.charset]
</del><span class="cx"> TEST SUCCEEDED: The value was null. [tested Document.selectedStylesheetSet]
</span><span class="cx"> 
</span><span class="cx"> TEST SUCCEEDED: The value was the empty string. [tested HTMLDocument.title]
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomdocumentattributejsnullhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/document-attribute-js-null.html (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/document-attribute-js-null.html        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/LayoutTests/fast/dom/document-attribute-js-null.html        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -65,7 +65,6 @@
</span><span class="cx">                     docToUse: xmlDoc,
</span><span class="cx">                     attributes: [
</span><span class="cx">                         {name: 'xmlVersion', expectedExceptionCode: 9},
</span><del>-                        {name: 'charset', expectedNull: undefined},
</del><span class="cx">                         {name: 'selectedStylesheetSet', expectedNull: null}
</span><span class="cx">                     ]
</span><span class="cx">                 },
</span></span></pre></div>
<a id="trunkLayoutTestsfastencodingcsscharsetdefaultexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/encoding/css-charset-default-expected.txt (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/encoding/css-charset-default-expected.txt        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/LayoutTests/fast/encoding/css-charset-default-expected.txt        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -7,5 +7,3 @@
</span><span class="cx"> Stylesheet 3 (inherit referring stylesheet charset): SUССЕSS
</span><span class="cx"> 
</span><span class="cx"> Stylesheet 4 (inherit referring inline stylesheet charset): SUССЕSS
</span><del>-
-Stylesheet 5 (inherit document charset using link after document.charset was set): SUССЕSS
</del></span></pre></div>
<a id="trunkLayoutTestsfastencodingcsscharsetdefaultxhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/encoding/css-charset-default.xhtml (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/encoding/css-charset-default.xhtml        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/LayoutTests/fast/encoding/css-charset-default.xhtml        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -10,8 +10,6 @@
</span><span class="cx">     &lt;style type=&quot;text/css&quot;&gt;
</span><span class="cx">         @import &quot;css-charset-inherit-iso-8859-5.css?4&quot;;
</span><span class="cx">     &lt;/style&gt;
</span><del>-    &lt;script&gt;document.charset = &quot;koi8-r&quot;;&lt;/script&gt;
-    &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;css-charset-inherit-koi-8.css?2&quot;/&gt;
</del><span class="cx"> &lt;/head&gt;
</span><span class="cx"> &lt;body onload=&quot;test()&quot;&gt;
</span><span class="cx"> &lt;p&gt;Test for &lt;a href=&quot;http://bugs.webkit.org/show_bug.cgi?id=11011&quot;&gt;bug 11011&lt;/a&gt;:
</span><span class="lines">@@ -21,7 +19,6 @@
</span><span class="cx"> &lt;p id=&quot;res2&quot;&gt;Stylesheet 2 (inherit document charset using link): &lt;/p&gt;
</span><span class="cx"> &lt;p id=&quot;res3&quot;&gt;Stylesheet 3 (inherit referring stylesheet charset): &lt;/p&gt;
</span><span class="cx"> &lt;p id=&quot;res4&quot;&gt;Stylesheet 4 (inherit referring inline stylesheet charset): &lt;/p&gt;
</span><del>-&lt;p id=&quot;res5&quot;&gt;Stylesheet 5 (inherit document charset using link after document.charset was set): &lt;/p&gt;
</del><span class="cx"> 
</span><span class="cx"> &lt;script type=&quot;text/javascript&quot;&gt;
</span><span class="cx"> if (window.testRunner)
</span><span class="lines">@@ -36,8 +33,6 @@
</span><span class="cx">     document.getElementById(&quot;res3&quot;).innerHTML += document.styleSheets[2].cssRules[1].styleSheet.cssRules[0].style.content;
</span><span class="cx"> 
</span><span class="cx">     document.getElementById(&quot;res4&quot;).innerHTML += document.styleSheets[3].cssRules[0].styleSheet.cssRules[0].style.content;
</span><del>-
-    document.getElementById(&quot;res5&quot;).innerHTML += document.styleSheets[4].cssRules[0].style.content;
</del><span class="cx">   } catch (ex) {
</span><span class="cx">     alert(ex.toString());
</span><span class="cx">   }
</span></span></pre></div>
<a id="trunkLayoutTestsfastencodingexternalscriptcharsetjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/encoding/external-script-charset.js (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/encoding/external-script-charset.js        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/LayoutTests/fast/encoding/external-script-charset.js        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-if (window.testRunner)
-    testRunner.dumpAsText();
-
-document.getElementById(&quot;result1&quot;).innerHTML += (&quot;Я&quot; == &quot;\u042F&quot;) ? &quot;PASS&quot; : &quot;FAIL&quot;;
</del></span></pre></div>
<a id="trunkLayoutTestsfastencodingexternalscriptcharsetxhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/encoding/external-script-charset.xhtml (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/encoding/external-script-charset.xhtml        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/LayoutTests/fast/encoding/external-script-charset.xhtml        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;ru&quot; dir=&quot;ltr&quot;&gt;
-&lt;body&gt;
-    &lt;p&gt;Test that external scripts in XHTML documents inherit document charset.&lt;/p&gt;
-    &lt;p id=&quot;result1&quot;&gt;Javascript 1 (original document charset): &lt;/p&gt;
-    &lt;p id=&quot;result2&quot;&gt;Javascript 2 (after document.charset was set): &lt;/p&gt;
-    &lt;script type=&quot;text/javascript&quot; src=&quot;external-script-charset.js&quot;&gt;&lt;/script&gt;
-    &lt;script&gt;document.charset = &quot;koi8-r&quot;;&lt;/script&gt;
-    &lt;script type=&quot;text/javascript&quot; src=&quot;external-script-charset-koi-8.js&quot;&gt;&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/LayoutTests/imported/w3c/ChangeLog        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -1,5 +1,21 @@
</span><span class="cx"> 2016-01-22  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        document.charset should be an alias for document.characterSet
+        https://bugs.webkit.org/show_bug.cgi?id=153367
+
+        Reviewed by Ryosuke Niwa.
+
+        Rebaseline existing W3C tests now that more checks are passing.
+
+        * web-platform-tests/dom/interfaces-expected.txt:
+        * web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt:
+        * web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument-expected.txt:
+        * web-platform-tests/dom/nodes/Document-constructor-expected.txt:
+        * web-platform-tests/dom/nodes/Node-properties-expected.txt:
+        * web-platform-tests/html/dom/interfaces-expected.txt:
+
+2016-01-22  Chris Dumez  &lt;cdumez@apple.com&gt;
+
</ins><span class="cx">         DOMImplementation.createHTMLDocument(&quot;&quot;) should append an empty Text Node to the title Element
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=153374
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdominterfacesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -486,7 +486,7 @@
</span><span class="cx"> PASS Document interface: xmlDoc must inherit property &quot;origin&quot; with the proper type (3) 
</span><span class="cx"> PASS Document interface: xmlDoc must inherit property &quot;compatMode&quot; with the proper type (4) 
</span><span class="cx"> PASS Document interface: xmlDoc must inherit property &quot;characterSet&quot; with the proper type (5) 
</span><del>-FAIL Document interface: xmlDoc must inherit property &quot;charset&quot; with the proper type (6) assert_equals: expected &quot;string&quot; but got &quot;undefined&quot;
</del><ins>+PASS Document interface: xmlDoc must inherit property &quot;charset&quot; with the proper type (6) 
</ins><span class="cx"> PASS Document interface: xmlDoc must inherit property &quot;inputEncoding&quot; with the proper type (7) 
</span><span class="cx"> PASS Document interface: xmlDoc must inherit property &quot;contentType&quot; with the proper type (8) 
</span><span class="cx"> PASS Document interface: xmlDoc must inherit property &quot;doctype&quot; with the proper type (9) 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDOMImplementationcreateDocumentexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -2,17 +2,17 @@
</span><span class="cx"> PASS DOMImplementation.createDocument(namespace, qualifiedName, doctype) 
</span><span class="cx"> PASS createDocument test 0: null,undefined,null,null 
</span><span class="cx"> PASS createDocument test 0: metadata for null,undefined,null 
</span><del>-FAIL createDocument test 0: characterSet aliases for null,undefined,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 0: characterSet aliases for null,undefined,null 
</ins><span class="cx"> PASS createDocument test 1: null,&quot;foo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 1: metadata for null,&quot;foo&quot;,null 
</span><del>-FAIL createDocument test 1: characterSet aliases for null,&quot;foo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 1: characterSet aliases for null,&quot;foo&quot;,null 
</ins><span class="cx"> PASS createDocument test 2: null,&quot;1foo&quot;,null,&quot;INVALID_CHARACTER_ERR&quot; 
</span><span class="cx"> PASS createDocument test 3: null,&quot;f1oo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 3: metadata for null,&quot;f1oo&quot;,null 
</span><del>-FAIL createDocument test 3: characterSet aliases for null,&quot;f1oo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 3: characterSet aliases for null,&quot;f1oo&quot;,null 
</ins><span class="cx"> PASS createDocument test 4: null,&quot;foo1&quot;,null,null 
</span><span class="cx"> PASS createDocument test 4: metadata for null,&quot;foo1&quot;,null 
</span><del>-FAIL createDocument test 4: characterSet aliases for null,&quot;foo1&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 4: characterSet aliases for null,&quot;foo1&quot;,null 
</ins><span class="cx"> PASS createDocument test 5: null,&quot;1foo&quot;,null,&quot;INVALID_CHARACTER_ERR&quot; 
</span><span class="cx"> PASS createDocument test 6: null,&quot;̀foo&quot;,null,&quot;INVALID_CHARACTER_ERR&quot; 
</span><span class="cx"> PASS createDocument test 7: null,&quot;}foo&quot;,null,&quot;INVALID_CHARACTER_ERR&quot; 
</span><span class="lines">@@ -32,11 +32,11 @@
</span><span class="cx"> PASS createDocument test 21: null,&quot;:&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 22: null,&quot;xml&quot;,null,null 
</span><span class="cx"> PASS createDocument test 22: metadata for null,&quot;xml&quot;,null 
</span><del>-FAIL createDocument test 22: characterSet aliases for null,&quot;xml&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 22: characterSet aliases for null,&quot;xml&quot;,null 
</ins><span class="cx"> PASS createDocument test 23: null,&quot;xmlns&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 24: null,&quot;xmlfoo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 24: metadata for null,&quot;xmlfoo&quot;,null 
</span><del>-FAIL createDocument test 24: characterSet aliases for null,&quot;xmlfoo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 24: characterSet aliases for null,&quot;xmlfoo&quot;,null 
</ins><span class="cx"> PASS createDocument test 25: null,&quot;xml:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 26: null,&quot;xmlns:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 27: null,&quot;xmlfoo:bar&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="lines">@@ -46,96 +46,96 @@
</span><span class="cx"> PASS createDocument test 31: &quot;&quot;,&quot;foo:&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 32: undefined,undefined,null,null 
</span><span class="cx"> PASS createDocument test 32: metadata for undefined,undefined,null 
</span><del>-FAIL createDocument test 32: characterSet aliases for undefined,undefined,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 32: characterSet aliases for undefined,undefined,null 
</ins><span class="cx"> PASS createDocument test 33: undefined,&quot;foo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 33: metadata for undefined,&quot;foo&quot;,null 
</span><del>-FAIL createDocument test 33: characterSet aliases for undefined,&quot;foo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 33: characterSet aliases for undefined,&quot;foo&quot;,null 
</ins><span class="cx"> PASS createDocument test 34: undefined,&quot;1foo&quot;,null,&quot;INVALID_CHARACTER_ERR&quot; 
</span><span class="cx"> PASS createDocument test 35: undefined,&quot;f1oo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 35: metadata for undefined,&quot;f1oo&quot;,null 
</span><del>-FAIL createDocument test 35: characterSet aliases for undefined,&quot;f1oo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 35: characterSet aliases for undefined,&quot;f1oo&quot;,null 
</ins><span class="cx"> PASS createDocument test 36: undefined,&quot;foo1&quot;,null,null 
</span><span class="cx"> PASS createDocument test 36: metadata for undefined,&quot;foo1&quot;,null 
</span><del>-FAIL createDocument test 36: characterSet aliases for undefined,&quot;foo1&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 36: characterSet aliases for undefined,&quot;foo1&quot;,null 
</ins><span class="cx"> PASS createDocument test 37: undefined,&quot;:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 38: undefined,&quot;f:oo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 39: undefined,&quot;foo:&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 40: undefined,&quot;xml&quot;,null,null 
</span><span class="cx"> PASS createDocument test 40: metadata for undefined,&quot;xml&quot;,null 
</span><del>-FAIL createDocument test 40: characterSet aliases for undefined,&quot;xml&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 40: characterSet aliases for undefined,&quot;xml&quot;,null 
</ins><span class="cx"> PASS createDocument test 41: undefined,&quot;xmlns&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 42: undefined,&quot;xmlfoo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 42: metadata for undefined,&quot;xmlfoo&quot;,null 
</span><del>-FAIL createDocument test 42: characterSet aliases for undefined,&quot;xmlfoo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 42: characterSet aliases for undefined,&quot;xmlfoo&quot;,null 
</ins><span class="cx"> PASS createDocument test 43: undefined,&quot;xml:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 44: undefined,&quot;xmlns:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 45: undefined,&quot;xmlfoo:bar&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 46: &quot;http://example.com/&quot;,&quot;foo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 46: metadata for &quot;http://example.com/&quot;,&quot;foo&quot;,null 
</span><del>-FAIL createDocument test 46: characterSet aliases for &quot;http://example.com/&quot;,&quot;foo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 46: characterSet aliases for &quot;http://example.com/&quot;,&quot;foo&quot;,null 
</ins><span class="cx"> PASS createDocument test 47: &quot;http://example.com/&quot;,&quot;1foo&quot;,null,&quot;INVALID_CHARACTER_ERR&quot; 
</span><span class="cx"> PASS createDocument test 48: &quot;http://example.com/&quot;,&quot;f1oo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 48: metadata for &quot;http://example.com/&quot;,&quot;f1oo&quot;,null 
</span><del>-FAIL createDocument test 48: characterSet aliases for &quot;http://example.com/&quot;,&quot;f1oo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 48: characterSet aliases for &quot;http://example.com/&quot;,&quot;f1oo&quot;,null 
</ins><span class="cx"> PASS createDocument test 49: &quot;http://example.com/&quot;,&quot;foo1&quot;,null,null 
</span><span class="cx"> PASS createDocument test 49: metadata for &quot;http://example.com/&quot;,&quot;foo1&quot;,null 
</span><del>-FAIL createDocument test 49: characterSet aliases for &quot;http://example.com/&quot;,&quot;foo1&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 49: characterSet aliases for &quot;http://example.com/&quot;,&quot;foo1&quot;,null 
</ins><span class="cx"> PASS createDocument test 50: &quot;http://example.com/&quot;,&quot;:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 51: &quot;http://example.com/&quot;,&quot;f:oo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 51: metadata for &quot;http://example.com/&quot;,&quot;f:oo&quot;,null 
</span><del>-FAIL createDocument test 51: characterSet aliases for &quot;http://example.com/&quot;,&quot;f:oo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 51: characterSet aliases for &quot;http://example.com/&quot;,&quot;f:oo&quot;,null 
</ins><span class="cx"> PASS createDocument test 52: &quot;http://example.com/&quot;,&quot;foo:&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 53: &quot;http://example.com/&quot;,&quot;_:_&quot;,null,null 
</span><span class="cx"> PASS createDocument test 53: metadata for &quot;http://example.com/&quot;,&quot;_:_&quot;,null 
</span><del>-FAIL createDocument test 53: characterSet aliases for &quot;http://example.com/&quot;,&quot;_:_&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 53: characterSet aliases for &quot;http://example.com/&quot;,&quot;_:_&quot;,null 
</ins><span class="cx"> PASS createDocument test 54: &quot;http://example.com/&quot;,&quot;_:h0&quot;,null,null 
</span><span class="cx"> PASS createDocument test 54: metadata for &quot;http://example.com/&quot;,&quot;_:h0&quot;,null 
</span><del>-FAIL createDocument test 54: characterSet aliases for &quot;http://example.com/&quot;,&quot;_:h0&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 54: characterSet aliases for &quot;http://example.com/&quot;,&quot;_:h0&quot;,null 
</ins><span class="cx"> PASS createDocument test 55: &quot;http://example.com/&quot;,&quot;_:test&quot;,null,null 
</span><span class="cx"> PASS createDocument test 55: metadata for &quot;http://example.com/&quot;,&quot;_:test&quot;,null 
</span><del>-FAIL createDocument test 55: characterSet aliases for &quot;http://example.com/&quot;,&quot;_:test&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 55: characterSet aliases for &quot;http://example.com/&quot;,&quot;_:test&quot;,null 
</ins><span class="cx"> PASS createDocument test 56: &quot;http://example.com/&quot;,&quot;l_:_&quot;,null,null 
</span><span class="cx"> PASS createDocument test 56: metadata for &quot;http://example.com/&quot;,&quot;l_:_&quot;,null 
</span><del>-FAIL createDocument test 56: characterSet aliases for &quot;http://example.com/&quot;,&quot;l_:_&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 56: characterSet aliases for &quot;http://example.com/&quot;,&quot;l_:_&quot;,null 
</ins><span class="cx"> PASS createDocument test 57: &quot;http://example.com/&quot;,&quot;ns:_0&quot;,null,null 
</span><span class="cx"> PASS createDocument test 57: metadata for &quot;http://example.com/&quot;,&quot;ns:_0&quot;,null 
</span><del>-FAIL createDocument test 57: characterSet aliases for &quot;http://example.com/&quot;,&quot;ns:_0&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 57: characterSet aliases for &quot;http://example.com/&quot;,&quot;ns:_0&quot;,null 
</ins><span class="cx"> PASS createDocument test 58: &quot;http://example.com/&quot;,&quot;ns:a0&quot;,null,null 
</span><span class="cx"> PASS createDocument test 58: metadata for &quot;http://example.com/&quot;,&quot;ns:a0&quot;,null 
</span><del>-FAIL createDocument test 58: characterSet aliases for &quot;http://example.com/&quot;,&quot;ns:a0&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 58: characterSet aliases for &quot;http://example.com/&quot;,&quot;ns:a0&quot;,null 
</ins><span class="cx"> PASS createDocument test 59: &quot;http://example.com/&quot;,&quot;ns0:test&quot;,null,null 
</span><span class="cx"> PASS createDocument test 59: metadata for &quot;http://example.com/&quot;,&quot;ns0:test&quot;,null 
</span><del>-FAIL createDocument test 59: characterSet aliases for &quot;http://example.com/&quot;,&quot;ns0:test&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 59: characterSet aliases for &quot;http://example.com/&quot;,&quot;ns0:test&quot;,null 
</ins><span class="cx"> PASS createDocument test 60: &quot;http://example.com/&quot;,&quot;a.b:c&quot;,null,null 
</span><span class="cx"> PASS createDocument test 60: metadata for &quot;http://example.com/&quot;,&quot;a.b:c&quot;,null 
</span><del>-FAIL createDocument test 60: characterSet aliases for &quot;http://example.com/&quot;,&quot;a.b:c&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 60: characterSet aliases for &quot;http://example.com/&quot;,&quot;a.b:c&quot;,null 
</ins><span class="cx"> PASS createDocument test 61: &quot;http://example.com/&quot;,&quot;a-b:c&quot;,null,null 
</span><span class="cx"> PASS createDocument test 61: metadata for &quot;http://example.com/&quot;,&quot;a-b:c&quot;,null 
</span><del>-FAIL createDocument test 61: characterSet aliases for &quot;http://example.com/&quot;,&quot;a-b:c&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 61: characterSet aliases for &quot;http://example.com/&quot;,&quot;a-b:c&quot;,null 
</ins><span class="cx"> PASS createDocument test 62: &quot;http://example.com/&quot;,&quot;a-b:c&quot;,null,null 
</span><span class="cx"> PASS createDocument test 62: metadata for &quot;http://example.com/&quot;,&quot;a-b:c&quot;,null 
</span><del>-FAIL createDocument test 62: characterSet aliases for &quot;http://example.com/&quot;,&quot;a-b:c&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 62: characterSet aliases for &quot;http://example.com/&quot;,&quot;a-b:c&quot;,null 
</ins><span class="cx"> PASS createDocument test 63: &quot;http://example.com/&quot;,&quot;xml&quot;,null,null 
</span><span class="cx"> PASS createDocument test 63: metadata for &quot;http://example.com/&quot;,&quot;xml&quot;,null 
</span><del>-FAIL createDocument test 63: characterSet aliases for &quot;http://example.com/&quot;,&quot;xml&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 63: characterSet aliases for &quot;http://example.com/&quot;,&quot;xml&quot;,null 
</ins><span class="cx"> PASS createDocument test 64: &quot;http://example.com/&quot;,&quot;xmlns&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 65: &quot;http://example.com/&quot;,&quot;XMLNS&quot;,null,null 
</span><span class="cx"> PASS createDocument test 65: metadata for &quot;http://example.com/&quot;,&quot;XMLNS&quot;,null 
</span><del>-FAIL createDocument test 65: characterSet aliases for &quot;http://example.com/&quot;,&quot;XMLNS&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 65: characterSet aliases for &quot;http://example.com/&quot;,&quot;XMLNS&quot;,null 
</ins><span class="cx"> PASS createDocument test 66: &quot;http://example.com/&quot;,&quot;xmlfoo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 66: metadata for &quot;http://example.com/&quot;,&quot;xmlfoo&quot;,null 
</span><del>-FAIL createDocument test 66: characterSet aliases for &quot;http://example.com/&quot;,&quot;xmlfoo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 66: characterSet aliases for &quot;http://example.com/&quot;,&quot;xmlfoo&quot;,null 
</ins><span class="cx"> PASS createDocument test 67: &quot;http://example.com/&quot;,&quot;xml:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 68: &quot;http://example.com/&quot;,&quot;XML:foo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 68: metadata for &quot;http://example.com/&quot;,&quot;XML:foo&quot;,null 
</span><del>-FAIL createDocument test 68: characterSet aliases for &quot;http://example.com/&quot;,&quot;XML:foo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 68: characterSet aliases for &quot;http://example.com/&quot;,&quot;XML:foo&quot;,null 
</ins><span class="cx"> PASS createDocument test 69: &quot;http://example.com/&quot;,&quot;xmlns:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 70: &quot;http://example.com/&quot;,&quot;XMLNS:foo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 70: metadata for &quot;http://example.com/&quot;,&quot;XMLNS:foo&quot;,null 
</span><del>-FAIL createDocument test 70: characterSet aliases for &quot;http://example.com/&quot;,&quot;XMLNS:foo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 70: characterSet aliases for &quot;http://example.com/&quot;,&quot;XMLNS:foo&quot;,null 
</ins><span class="cx"> PASS createDocument test 71: &quot;http://example.com/&quot;,&quot;xmlfoo:bar&quot;,null,null 
</span><span class="cx"> PASS createDocument test 71: metadata for &quot;http://example.com/&quot;,&quot;xmlfoo:bar&quot;,null 
</span><del>-FAIL createDocument test 71: characterSet aliases for &quot;http://example.com/&quot;,&quot;xmlfoo:bar&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 71: characterSet aliases for &quot;http://example.com/&quot;,&quot;xmlfoo:bar&quot;,null 
</ins><span class="cx"> PASS createDocument test 72: &quot;http://example.com/&quot;,&quot;prefix::local&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 73: &quot;http://example.com/&quot;,&quot;namespaceURI:{&quot;,null,&quot;INVALID_CHARACTER_ERR&quot; 
</span><span class="cx"> PASS createDocument test 74: &quot;http://example.com/&quot;,&quot;namespaceURI:}&quot;,null,&quot;INVALID_CHARACTER_ERR&quot; 
</span><span class="lines">@@ -166,60 +166,60 @@
</span><span class="cx"> PASS createDocument test 99: &quot;http://example.com/&quot;,&quot;namespaceURI:\&quot;&quot;,null,&quot;INVALID_CHARACTER_ERR&quot; 
</span><span class="cx"> PASS createDocument test 100: &quot;/&quot;,&quot;foo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 100: metadata for &quot;/&quot;,&quot;foo&quot;,null 
</span><del>-FAIL createDocument test 100: characterSet aliases for &quot;/&quot;,&quot;foo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 100: characterSet aliases for &quot;/&quot;,&quot;foo&quot;,null 
</ins><span class="cx"> PASS createDocument test 101: &quot;/&quot;,&quot;1foo&quot;,null,&quot;INVALID_CHARACTER_ERR&quot; 
</span><span class="cx"> PASS createDocument test 102: &quot;/&quot;,&quot;f1oo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 102: metadata for &quot;/&quot;,&quot;f1oo&quot;,null 
</span><del>-FAIL createDocument test 102: characterSet aliases for &quot;/&quot;,&quot;f1oo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 102: characterSet aliases for &quot;/&quot;,&quot;f1oo&quot;,null 
</ins><span class="cx"> PASS createDocument test 103: &quot;/&quot;,&quot;foo1&quot;,null,null 
</span><span class="cx"> PASS createDocument test 103: metadata for &quot;/&quot;,&quot;foo1&quot;,null 
</span><del>-FAIL createDocument test 103: characterSet aliases for &quot;/&quot;,&quot;foo1&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 103: characterSet aliases for &quot;/&quot;,&quot;foo1&quot;,null 
</ins><span class="cx"> PASS createDocument test 104: &quot;/&quot;,&quot;:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 105: &quot;/&quot;,&quot;f:oo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 105: metadata for &quot;/&quot;,&quot;f:oo&quot;,null 
</span><del>-FAIL createDocument test 105: characterSet aliases for &quot;/&quot;,&quot;f:oo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 105: characterSet aliases for &quot;/&quot;,&quot;f:oo&quot;,null 
</ins><span class="cx"> PASS createDocument test 106: &quot;/&quot;,&quot;foo:&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 107: &quot;/&quot;,&quot;xml&quot;,null,null 
</span><span class="cx"> PASS createDocument test 107: metadata for &quot;/&quot;,&quot;xml&quot;,null 
</span><del>-FAIL createDocument test 107: characterSet aliases for &quot;/&quot;,&quot;xml&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 107: characterSet aliases for &quot;/&quot;,&quot;xml&quot;,null 
</ins><span class="cx"> PASS createDocument test 108: &quot;/&quot;,&quot;xmlns&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 109: &quot;/&quot;,&quot;xmlfoo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 109: metadata for &quot;/&quot;,&quot;xmlfoo&quot;,null 
</span><del>-FAIL createDocument test 109: characterSet aliases for &quot;/&quot;,&quot;xmlfoo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 109: characterSet aliases for &quot;/&quot;,&quot;xmlfoo&quot;,null 
</ins><span class="cx"> PASS createDocument test 110: &quot;/&quot;,&quot;xml:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 111: &quot;/&quot;,&quot;xmlns:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 112: &quot;/&quot;,&quot;xmlfoo:bar&quot;,null,null 
</span><span class="cx"> PASS createDocument test 112: metadata for &quot;/&quot;,&quot;xmlfoo:bar&quot;,null 
</span><del>-FAIL createDocument test 112: characterSet aliases for &quot;/&quot;,&quot;xmlfoo:bar&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 112: characterSet aliases for &quot;/&quot;,&quot;xmlfoo:bar&quot;,null 
</ins><span class="cx"> PASS createDocument test 113: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;foo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 113: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;foo&quot;,null 
</span><del>-FAIL createDocument test 113: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;foo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 113: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;foo&quot;,null 
</ins><span class="cx"> PASS createDocument test 114: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;1foo&quot;,null,&quot;INVALID_CHARACTER_ERR&quot; 
</span><span class="cx"> PASS createDocument test 115: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;f1oo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 115: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;f1oo&quot;,null 
</span><del>-FAIL createDocument test 115: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;f1oo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 115: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;f1oo&quot;,null 
</ins><span class="cx"> PASS createDocument test 116: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;foo1&quot;,null,null 
</span><span class="cx"> PASS createDocument test 116: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;foo1&quot;,null 
</span><del>-FAIL createDocument test 116: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;foo1&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 116: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;foo1&quot;,null 
</ins><span class="cx"> PASS createDocument test 117: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 118: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;f:oo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 118: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;f:oo&quot;,null 
</span><del>-FAIL createDocument test 118: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;f:oo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 118: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;f:oo&quot;,null 
</ins><span class="cx"> PASS createDocument test 119: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;foo:&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 120: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml&quot;,null,null 
</span><span class="cx"> PASS createDocument test 120: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml&quot;,null 
</span><del>-FAIL createDocument test 120: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 120: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml&quot;,null 
</ins><span class="cx"> PASS createDocument test 121: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xmlns&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 122: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xmlfoo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 122: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xmlfoo&quot;,null 
</span><del>-FAIL createDocument test 122: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xmlfoo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 122: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xmlfoo&quot;,null 
</ins><span class="cx"> PASS createDocument test 123: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml:foo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 123: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml:foo&quot;,null 
</span><del>-FAIL createDocument test 123: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml:foo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 123: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml:foo&quot;,null 
</ins><span class="cx"> PASS createDocument test 124: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xmlns:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 125: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xmlfoo:bar&quot;,null,null 
</span><span class="cx"> PASS createDocument test 125: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xmlfoo:bar&quot;,null 
</span><del>-FAIL createDocument test 125: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xmlfoo:bar&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 125: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xmlfoo:bar&quot;,null 
</ins><span class="cx"> PASS createDocument test 126: &quot;http://www.w3.org/XML/1998/namespaces&quot;,&quot;xml:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 127: &quot;http://www.w3.org/xml/1998/namespace&quot;,&quot;xml:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 128: &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="lines">@@ -232,109 +232,109 @@
</span><span class="cx"> PASS createDocument test 135: &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;xml&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 136: &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;xmlns&quot;,null,null 
</span><span class="cx"> PASS createDocument test 136: metadata for &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;xmlns&quot;,null 
</span><del>-FAIL createDocument test 136: characterSet aliases for &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;xmlns&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 136: characterSet aliases for &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;xmlns&quot;,null 
</ins><span class="cx"> PASS createDocument test 137: &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;xmlfoo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 138: &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;xml:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 139: &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;xmlns:foo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 139: metadata for &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;xmlns:foo&quot;,null 
</span><del>-FAIL createDocument test 139: characterSet aliases for &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;xmlns:foo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 139: characterSet aliases for &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;xmlns:foo&quot;,null 
</ins><span class="cx"> PASS createDocument test 140: &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;xmlfoo:bar&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 141: &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;foo:xmlns&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 142: &quot;foo:&quot;,&quot;foo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 142: metadata for &quot;foo:&quot;,&quot;foo&quot;,null 
</span><del>-FAIL createDocument test 142: characterSet aliases for &quot;foo:&quot;,&quot;foo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 142: characterSet aliases for &quot;foo:&quot;,&quot;foo&quot;,null 
</ins><span class="cx"> PASS createDocument test 143: &quot;foo:&quot;,&quot;1foo&quot;,null,&quot;INVALID_CHARACTER_ERR&quot; 
</span><span class="cx"> PASS createDocument test 144: &quot;foo:&quot;,&quot;f1oo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 144: metadata for &quot;foo:&quot;,&quot;f1oo&quot;,null 
</span><del>-FAIL createDocument test 144: characterSet aliases for &quot;foo:&quot;,&quot;f1oo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 144: characterSet aliases for &quot;foo:&quot;,&quot;f1oo&quot;,null 
</ins><span class="cx"> PASS createDocument test 145: &quot;foo:&quot;,&quot;foo1&quot;,null,null 
</span><span class="cx"> PASS createDocument test 145: metadata for &quot;foo:&quot;,&quot;foo1&quot;,null 
</span><del>-FAIL createDocument test 145: characterSet aliases for &quot;foo:&quot;,&quot;foo1&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 145: characterSet aliases for &quot;foo:&quot;,&quot;foo1&quot;,null 
</ins><span class="cx"> PASS createDocument test 146: &quot;foo:&quot;,&quot;:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 147: &quot;foo:&quot;,&quot;f:oo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 147: metadata for &quot;foo:&quot;,&quot;f:oo&quot;,null 
</span><del>-FAIL createDocument test 147: characterSet aliases for &quot;foo:&quot;,&quot;f:oo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 147: characterSet aliases for &quot;foo:&quot;,&quot;f:oo&quot;,null 
</ins><span class="cx"> PASS createDocument test 148: &quot;foo:&quot;,&quot;foo:&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 149: &quot;foo:&quot;,&quot;xml&quot;,null,null 
</span><span class="cx"> PASS createDocument test 149: metadata for &quot;foo:&quot;,&quot;xml&quot;,null 
</span><del>-FAIL createDocument test 149: characterSet aliases for &quot;foo:&quot;,&quot;xml&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 149: characterSet aliases for &quot;foo:&quot;,&quot;xml&quot;,null 
</ins><span class="cx"> PASS createDocument test 150: &quot;foo:&quot;,&quot;xmlns&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 151: &quot;foo:&quot;,&quot;xmlfoo&quot;,null,null 
</span><span class="cx"> PASS createDocument test 151: metadata for &quot;foo:&quot;,&quot;xmlfoo&quot;,null 
</span><del>-FAIL createDocument test 151: characterSet aliases for &quot;foo:&quot;,&quot;xmlfoo&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 151: characterSet aliases for &quot;foo:&quot;,&quot;xmlfoo&quot;,null 
</ins><span class="cx"> PASS createDocument test 152: &quot;foo:&quot;,&quot;xml:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 153: &quot;foo:&quot;,&quot;xmlns:foo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</span><span class="cx"> PASS createDocument test 154: &quot;foo:&quot;,&quot;xmlfoo:bar&quot;,null,null 
</span><span class="cx"> PASS createDocument test 154: metadata for &quot;foo:&quot;,&quot;xmlfoo:bar&quot;,null 
</span><del>-FAIL createDocument test 154: characterSet aliases for &quot;foo:&quot;,&quot;xmlfoo:bar&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 154: characterSet aliases for &quot;foo:&quot;,&quot;xmlfoo:bar&quot;,null 
</ins><span class="cx"> FAIL createDocument test 155: null,null,false,object &quot;TypeError&quot; assert_throws: function &quot;function () { document.implementation.createDocument(name...&quot; did not throw
</span><span class="cx"> PASS createDocument test 156: null,null,null,null 
</span><span class="cx"> PASS createDocument test 156: metadata for null,null,null 
</span><del>-FAIL createDocument test 156: characterSet aliases for null,null,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 156: characterSet aliases for null,null,null 
</ins><span class="cx"> PASS createDocument test 157: null,&quot;&quot;,null,null 
</span><span class="cx"> PASS createDocument test 157: metadata for null,&quot;&quot;,null 
</span><del>-FAIL createDocument test 157: characterSet aliases for null,&quot;&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 157: characterSet aliases for null,&quot;&quot;,null 
</ins><span class="cx"> PASS createDocument test 158: undefined,null,undefined,null 
</span><span class="cx"> PASS createDocument test 158: metadata for undefined,null,undefined 
</span><del>-FAIL createDocument test 158: characterSet aliases for undefined,null,undefined assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 158: characterSet aliases for undefined,null,undefined 
</ins><span class="cx"> PASS createDocument test 159: undefined,undefined,undefined,null 
</span><span class="cx"> PASS createDocument test 159: metadata for undefined,undefined,undefined 
</span><del>-FAIL createDocument test 159: characterSet aliases for undefined,undefined,undefined assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 159: characterSet aliases for undefined,undefined,undefined 
</ins><span class="cx"> PASS createDocument test 160: undefined,&quot;&quot;,undefined,null 
</span><span class="cx"> PASS createDocument test 160: metadata for undefined,&quot;&quot;,undefined 
</span><del>-FAIL createDocument test 160: characterSet aliases for undefined,&quot;&quot;,undefined assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 160: characterSet aliases for undefined,&quot;&quot;,undefined 
</ins><span class="cx"> PASS createDocument test 161: &quot;http://example.com/&quot;,null,null,null 
</span><span class="cx"> PASS createDocument test 161: metadata for &quot;http://example.com/&quot;,null,null 
</span><del>-FAIL createDocument test 161: characterSet aliases for &quot;http://example.com/&quot;,null,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 161: characterSet aliases for &quot;http://example.com/&quot;,null,null 
</ins><span class="cx"> PASS createDocument test 162: &quot;http://example.com/&quot;,&quot;&quot;,null,null 
</span><span class="cx"> PASS createDocument test 162: metadata for &quot;http://example.com/&quot;,&quot;&quot;,null 
</span><del>-FAIL createDocument test 162: characterSet aliases for &quot;http://example.com/&quot;,&quot;&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 162: characterSet aliases for &quot;http://example.com/&quot;,&quot;&quot;,null 
</ins><span class="cx"> PASS createDocument test 163: &quot;/&quot;,null,null,null 
</span><span class="cx"> PASS createDocument test 163: metadata for &quot;/&quot;,null,null 
</span><del>-FAIL createDocument test 163: characterSet aliases for &quot;/&quot;,null,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 163: characterSet aliases for &quot;/&quot;,null,null 
</ins><span class="cx"> PASS createDocument test 164: &quot;/&quot;,&quot;&quot;,null,null 
</span><span class="cx"> PASS createDocument test 164: metadata for &quot;/&quot;,&quot;&quot;,null 
</span><del>-FAIL createDocument test 164: characterSet aliases for &quot;/&quot;,&quot;&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 164: characterSet aliases for &quot;/&quot;,&quot;&quot;,null 
</ins><span class="cx"> PASS createDocument test 165: &quot;http://www.w3.org/XML/1998/namespace&quot;,null,null,null 
</span><span class="cx"> PASS createDocument test 165: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,null,null 
</span><del>-FAIL createDocument test 165: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,null,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 165: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,null,null 
</ins><span class="cx"> PASS createDocument test 166: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;&quot;,null,null 
</span><span class="cx"> PASS createDocument test 166: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;&quot;,null 
</span><del>-FAIL createDocument test 166: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 166: characterSet aliases for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;&quot;,null 
</ins><span class="cx"> PASS createDocument test 167: &quot;http://www.w3.org/2000/xmlns/&quot;,null,null,null 
</span><span class="cx"> PASS createDocument test 167: metadata for &quot;http://www.w3.org/2000/xmlns/&quot;,null,null 
</span><del>-FAIL createDocument test 167: characterSet aliases for &quot;http://www.w3.org/2000/xmlns/&quot;,null,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 167: characterSet aliases for &quot;http://www.w3.org/2000/xmlns/&quot;,null,null 
</ins><span class="cx"> PASS createDocument test 168: &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;&quot;,null,null 
</span><span class="cx"> PASS createDocument test 168: metadata for &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;&quot;,null 
</span><del>-FAIL createDocument test 168: characterSet aliases for &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 168: characterSet aliases for &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;&quot;,null 
</ins><span class="cx"> PASS createDocument test 169: &quot;foo:&quot;,null,null,null 
</span><span class="cx"> PASS createDocument test 169: metadata for &quot;foo:&quot;,null,null 
</span><del>-FAIL createDocument test 169: characterSet aliases for &quot;foo:&quot;,null,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 169: characterSet aliases for &quot;foo:&quot;,null,null 
</ins><span class="cx"> PASS createDocument test 170: &quot;foo:&quot;,&quot;&quot;,null,null 
</span><span class="cx"> PASS createDocument test 170: metadata for &quot;foo:&quot;,&quot;&quot;,null 
</span><del>-FAIL createDocument test 170: characterSet aliases for &quot;foo:&quot;,&quot;&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 170: characterSet aliases for &quot;foo:&quot;,&quot;&quot;,null 
</ins><span class="cx"> PASS createDocument test 171: null,null,DocumentType node,null 
</span><span class="cx"> PASS createDocument test 171: metadata for null,null,DocumentType node 
</span><del>-FAIL createDocument test 171: characterSet aliases for null,null,DocumentType node assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 171: characterSet aliases for null,null,DocumentType node 
</ins><span class="cx"> PASS createDocument test 172: null,null,DocumentType node,null 
</span><span class="cx"> PASS createDocument test 172: metadata for null,null,DocumentType node 
</span><del>-FAIL createDocument test 172: characterSet aliases for null,null,DocumentType node assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 172: characterSet aliases for null,null,DocumentType node 
</ins><span class="cx"> PASS createDocument test 173: null,null,DocumentType node,null 
</span><span class="cx"> PASS createDocument test 173: metadata for null,null,DocumentType node 
</span><del>-FAIL createDocument test 173: characterSet aliases for null,null,DocumentType node assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 173: characterSet aliases for null,null,DocumentType node 
</ins><span class="cx"> PASS createDocument test 174: null,null,DocumentType node,null 
</span><span class="cx"> PASS createDocument test 174: metadata for null,null,DocumentType node 
</span><del>-FAIL createDocument test 174: characterSet aliases for null,null,DocumentType node assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 174: characterSet aliases for null,null,DocumentType node 
</ins><span class="cx"> PASS createDocument test 175: null,null,DocumentType node,null 
</span><span class="cx"> PASS createDocument test 175: metadata for null,null,DocumentType node 
</span><del>-FAIL createDocument test 175: characterSet aliases for null,null,DocumentType node assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 175: characterSet aliases for null,null,DocumentType node 
</ins><span class="cx"> PASS createDocument test 176: null,&quot;foo&quot;,DocumentType node,null 
</span><span class="cx"> PASS createDocument test 176: metadata for null,&quot;foo&quot;,DocumentType node 
</span><del>-FAIL createDocument test 176: characterSet aliases for null,&quot;foo&quot;,DocumentType node assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 176: characterSet aliases for null,&quot;foo&quot;,DocumentType node 
</ins><span class="cx"> PASS createDocument test 177: &quot;foo&quot;,null,DocumentType node,null 
</span><span class="cx"> PASS createDocument test 177: metadata for &quot;foo&quot;,null,DocumentType node 
</span><del>-FAIL createDocument test 177: characterSet aliases for &quot;foo&quot;,null,DocumentType node assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 177: characterSet aliases for &quot;foo&quot;,null,DocumentType node 
</ins><span class="cx"> PASS createDocument test 178: &quot;foo&quot;,&quot;bar&quot;,DocumentType node,null 
</span><span class="cx"> PASS createDocument test 178: metadata for &quot;foo&quot;,&quot;bar&quot;,DocumentType node 
</span><del>-FAIL createDocument test 178: characterSet aliases for &quot;foo&quot;,&quot;bar&quot;,DocumentType node assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createDocument test 178: characterSet aliases for &quot;foo&quot;,&quot;bar&quot;,DocumentType node 
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDOMImplementationcreateHTMLDocumentexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument-expected.txt (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument-expected.txt        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument-expected.txt        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -9,6 +9,6 @@
</span><span class="cx"> PASS createHTMLDocument test 7: &quot;foo\r\rbar baz&quot;,&quot;foo\r\rbar baz&quot;,&quot;foo bar baz&quot; 
</span><span class="cx"> PASS Missing title argument 
</span><span class="cx"> PASS createHTMLDocument(): metadata 
</span><del>-FAIL createHTMLDocument(): characterSet aliases assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS createHTMLDocument(): characterSet aliases 
</ins><span class="cx"> PASS createHTMLDocument(): URL parsing 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentconstructorexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-constructor-expected.txt (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-constructor-expected.txt        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-constructor-expected.txt        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -2,6 +2,6 @@
</span><span class="cx"> FAIL new Document(): interfaces assert_false: Should not be an XMLDocument expected false got true
</span><span class="cx"> PASS new Document(): children 
</span><span class="cx"> PASS new Document(): metadata 
</span><del>-FAIL new Document(): characterSet aliases assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS new Document(): characterSet aliases 
</ins><span class="cx"> FAIL new Document(): URL parsing assert_equals: expected &quot;http://example.org/?%C3%A4&quot; but got &quot;http://example.org/?ä&quot;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodepropertiesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-properties-expected.txt (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-properties-expected.txt        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-properties-expected.txt        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -155,7 +155,7 @@
</span><span class="cx"> PASS foreignDoc.ownerDocument 
</span><span class="cx"> PASS foreignDoc.documentURI 
</span><span class="cx"> PASS foreignDoc.inputEncoding 
</span><del>-FAIL foreignDoc.charset assert_equals: expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS foreignDoc.charset 
</ins><span class="cx"> PASS foreignDoc.firstChild 
</span><span class="cx"> PASS foreignDoc.lastChild 
</span><span class="cx"> PASS foreignDoc.hasChildNodes() 
</span><span class="lines">@@ -229,7 +229,7 @@
</span><span class="cx"> PASS xmlDoc.ownerDocument 
</span><span class="cx"> PASS xmlDoc.documentURI 
</span><span class="cx"> PASS xmlDoc.inputEncoding 
</span><del>-FAIL xmlDoc.charset assert_equals: expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</del><ins>+PASS xmlDoc.charset 
</ins><span class="cx"> PASS xmlDoc.firstChild 
</span><span class="cx"> PASS xmlDoc.lastChild 
</span><span class="cx"> PASS xmlDoc.hasChildNodes() 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldominterfacesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -1263,7 +1263,7 @@
</span><span class="cx"> PASS Document interface: document.implementation.createDocument(null, &quot;&quot;, null) must inherit property &quot;origin&quot; with the proper type (3) 
</span><span class="cx"> PASS Document interface: document.implementation.createDocument(null, &quot;&quot;, null) must inherit property &quot;compatMode&quot; with the proper type (4) 
</span><span class="cx"> PASS Document interface: document.implementation.createDocument(null, &quot;&quot;, null) must inherit property &quot;characterSet&quot; with the proper type (5) 
</span><del>-FAIL Document interface: document.implementation.createDocument(null, &quot;&quot;, null) must inherit property &quot;charset&quot; with the proper type (6) assert_equals: expected &quot;string&quot; but got &quot;undefined&quot;
</del><ins>+PASS Document interface: document.implementation.createDocument(null, &quot;&quot;, null) must inherit property &quot;charset&quot; with the proper type (6) 
</ins><span class="cx"> PASS Document interface: document.implementation.createDocument(null, &quot;&quot;, null) must inherit property &quot;inputEncoding&quot; with the proper type (7) 
</span><span class="cx"> PASS Document interface: document.implementation.createDocument(null, &quot;&quot;, null) must inherit property &quot;contentType&quot; with the proper type (8) 
</span><span class="cx"> PASS Document interface: document.implementation.createDocument(null, &quot;&quot;, null) must inherit property &quot;doctype&quot; with the proper type (9) 
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/Source/WebCore/ChangeLog        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -1,5 +1,24 @@
</span><span class="cx"> 2016-01-22  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        document.charset should be an alias for document.characterSet
+        https://bugs.webkit.org/show_bug.cgi?id=153367
+
+        Reviewed by Ryosuke Niwa.
+
+        document.charset should be an alias for document.characterSet:
+        - https://dom.spec.whatwg.org/#dom-document-charset
+
+        It should also be read-only.
+
+        Chrome matches the specification.
+
+        No new tests, already covered by existing tests.
+
+        * dom/Document.h:
+        * dom/Document.idl:
+
+2016-01-22  Chris Dumez  &lt;cdumez@apple.com&gt;
+
</ins><span class="cx">         Document.open / Document.write should be prevented while the document is being unloaded
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=153255
</span><span class="cx">         &lt;rdar://problem/22741293&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.h (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.h        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/Source/WebCore/dom/Document.h        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -425,7 +425,7 @@
</span><span class="cx"> 
</span><span class="cx">     AtomicString encoding() const { return textEncoding().domName(); }
</span><span class="cx"> 
</span><del>-    void setCharset(const String&amp;);
</del><ins>+    void setCharset(const String&amp;); // Used by ObjC / GOBject bindings only.
</ins><span class="cx"> 
</span><span class="cx">     void setContent(const String&amp;);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.idl (195496 => 195497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.idl        2016-01-23 01:04:59 UTC (rev 195496)
+++ trunk/Source/WebCore/dom/Document.idl        2016-01-23 01:10:42 UTC (rev 195497)
</span><span class="lines">@@ -187,7 +187,11 @@
</span><span class="cx"> 
</span><span class="cx">     // IE extensions
</span><span class="cx"> 
</span><del>-             [TreatReturnedNullStringAs=Undefined, TreatNullAs=NullString] attribute DOMString charset;
</del><ins>+#if defined(LANGUAGE_OBJECTIVE_C) &amp;&amp; LANGUAGE_OBJECTIVE_C || defined(LANGUAGE_GOBJECT) &amp;&amp; LANGUAGE_GOBJECT
+    [TreatReturnedNullStringAs=Undefined, TreatNullAs=NullString] attribute DOMString charset;
+#else
+    [ImplementedAs=characterSetWithUTF8Fallback] readonly attribute DOMString charset;
+#endif
</ins><span class="cx">     [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString defaultCharset;
</span><span class="cx">     [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyState;
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>