<!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>[195485] 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/195485">195485</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2016-01-22 15:22:07 -0800 (Fri, 22 Jan 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Document.URL / Document.documentURI should return &quot;about:blank&quot; instead of empty string / null
https://bugs.webkit.org/show_bug.cgi?id=153363
&lt;rdar://problem/22549736&gt;

Reviewed by Ryosuke Niwa.

LayoutTests/imported/w3c:

Rebaseline several 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.URL / Document.documentURI should return &quot;about:blank&quot; instead
of empty string / null, as per the specification:
- https://dom.spec.whatwg.org/#dom-document-url
- https://dom.spec.whatwg.org/#concept-document-url

Also, Document.documentURI should be an alias for Document.URL as per:
- https://dom.spec.whatwg.org/#dom-document-url

Firefox matches the specification.

No new tests, already covered by existing W3C tests.

* dom/Document.h:
(WebCore::Document::urlForBindings):
* dom/Document.idl:

LayoutTests:

Drop outdated tests.

* dom/xhtml/level3/core/documentgetdocumenturi02-expected.txt: Removed.
* dom/xhtml/level3/core/documentgetdocumenturi02.js: Removed.
* dom/xhtml/level3/core/documentgetdocumenturi02.xhtml: Removed.
* dom/xhtml/level3/core/documentgetdocumenturi03-expected.txt: Removed.
* dom/xhtml/level3/core/documentgetdocumenturi03.js: Removed.
* dom/xhtml/level3/core/documentgetdocumenturi03.xhtml: Removed.
* dom/xhtml/level3/core/documentsetdocumenturi03-expected.txt: Removed.
* dom/xhtml/level3/core/documentsetdocumenturi03.js: Removed.
* dom/xhtml/level3/core/documentsetdocumenturi03.xhtml: Removed.
* fast/dom/document-attribute-js-null-expected.txt:
* fast/dom/document-attribute-js-null.html:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</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="#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="#trunkLayoutTestsdomxhtmllevel3coredocumentgetdocumenturi02expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi02-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentgetdocumenturi02js">trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi02.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentgetdocumenturi02xhtml">trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi02.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentgetdocumenturi03expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi03-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentgetdocumenturi03js">trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi03.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentgetdocumenturi03xhtml">trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi03.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentsetdocumenturi03expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/documentsetdocumenturi03-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentsetdocumenturi03js">trunk/LayoutTests/dom/xhtml/level3/core/documentsetdocumenturi03.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentsetdocumenturi03xhtml">trunk/LayoutTests/dom/xhtml/level3/core/documentsetdocumenturi03.xhtml</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/ChangeLog        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -1,3 +1,25 @@
</span><ins>+2016-01-22  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Document.URL / Document.documentURI should return &quot;about:blank&quot; instead of empty string / null
+        https://bugs.webkit.org/show_bug.cgi?id=153363
+        &lt;rdar://problem/22549736&gt;
+
+        Reviewed by Ryosuke Niwa.
+
+        Drop outdated tests.
+
+        * dom/xhtml/level3/core/documentgetdocumenturi02-expected.txt: Removed.
+        * dom/xhtml/level3/core/documentgetdocumenturi02.js: Removed.
+        * dom/xhtml/level3/core/documentgetdocumenturi02.xhtml: Removed.
+        * dom/xhtml/level3/core/documentgetdocumenturi03-expected.txt: Removed.
+        * dom/xhtml/level3/core/documentgetdocumenturi03.js: Removed.
+        * dom/xhtml/level3/core/documentgetdocumenturi03.xhtml: Removed.
+        * dom/xhtml/level3/core/documentsetdocumenturi03-expected.txt: Removed.
+        * dom/xhtml/level3/core/documentsetdocumenturi03.js: Removed.
+        * dom/xhtml/level3/core/documentsetdocumenturi03.xhtml: Removed.
+        * fast/dom/document-attribute-js-null-expected.txt:
+        * fast/dom/document-attribute-js-null.html:
+
</ins><span class="cx"> 2016-01-22  Tim Horton  &lt;timothy_horton@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Add a test for iOS arrow-key repeat
</span></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentgetdocumenturi02expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi02-expected.txt (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi02-expected.txt        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi02-expected.txt        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentgetdocumenturi02
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentgetdocumenturi02js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi02.js (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi02.js        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi02.js        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -1,121 +0,0 @@
</span><del>-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the 
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even 
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return &quot;http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentgetdocumenturi02&quot;;
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, &quot;doc&quot;, &quot;hc_staff&quot;);
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-            catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-        Create a new Document, retreive its documentURI, and verify if it is null.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Document3-documentURI
-*/
-function documentgetdocumenturi02() {
-   var success;
-    if(checkInitialization(builder, &quot;documentgetdocumenturi02&quot;) != null) return;
-    var doc;
-      var newDoc;
-      var docURI;
-      var domImpl;
-      var nullDocType = null;
-
-      var docElem;
-      var rootNS;
-      var rootName;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, &quot;doc&quot;, &quot;hc_staff&quot;);
-      docElem = doc.documentElement;
-
-      rootNS = docElem.namespaceURI;
-
-      rootName = docElem.tagName;
-
-      domImpl = doc.implementation;
-newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
-      docURI = newDoc.documentURI;
-
-      assertNull(&quot;documentgetdocumenturi02&quot;,docURI);
-    
-}
-
-
-
-
-function runTest() {
-   documentgetdocumenturi02();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentgetdocumenturi02xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi02.xhtml (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi02.xhtml        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi02.xhtml        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-&lt;?xml version=&quot;1.0&quot;?&gt;&lt;?TEST-STYLE PIDATA?&gt;
-&lt;!DOCTYPE html
-   PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;
-   &quot;xhtml1-strict.dtd&quot; [
-   &lt;!ENTITY alpha &quot;&amp;#945;&quot;&gt;
-   &lt;!ENTITY beta &quot;&amp;#946;&quot;&gt;
-   &lt;!ENTITY gamma &quot;&amp;#947;&quot;&gt;
-   &lt;!ENTITY delta &quot;&amp;#948;&quot;&gt;
-   &lt;!ENTITY epsilon &quot;&amp;#949;&quot;&gt;
-   &lt;!ENTITY alpha &quot;&amp;#950;&quot;&gt;
-   &lt;!NOTATION notation1 PUBLIC &quot;notation1File&quot;&gt;
-   &lt;!NOTATION notation2 SYSTEM &quot;notation2File&quot;&gt;
-   &lt;!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED&gt;
-   &lt;!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED&gt;
-   &lt;!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED&gt;
-   &lt;!ENTITY ent4 &quot;&lt;span xmlns='http://www.w3.org/1999/xhtml'&gt;Element data&lt;/span&gt;&lt;?PItarget PIdata?&gt;&quot;&gt;
-   &lt;!ATTLIST span xmlns CDATA #IMPLIED&gt;
-]&gt;
-&lt;!-- This is comment number 1.--&gt;
-&lt;html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
-        xsi:schemaLocation=&quot;http://www.w3.org/1999/xhtml hc_staff.xsd&quot;&gt;&lt;head&gt;&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;/&gt;&lt;title&gt;hc_staff&lt;/title&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;selfxhtml.js&quot;/&gt;&lt;script charset=&quot;UTF-8&quot; type=&quot;text/javascript&quot; src=&quot;documentgetdocumenturi02.js&quot;/&gt;&lt;script type='text/javascript'&gt;function loadComplete() { startTest(); }&lt;/script&gt;&lt;/head&gt;&lt;body onload=&quot;loadComplete()&quot;&gt;
- &lt;p xmlns:dmstc=&quot;http://www.usa.com&quot;&gt;
-  &lt;em&gt;EMP0001&lt;/em&gt;
-  &lt;strong&gt;Margaret Martin&lt;/strong&gt;
-  &lt;code&gt;Accountant&lt;/code&gt;
-  &lt;sup&gt;56,000&lt;/sup&gt;
-  &lt;var&gt;Female&lt;/var&gt;
-  &lt;acronym title=&quot;Yes&quot; xsi:noNamespaceSchemaLocation=&quot;Yes&quot;&gt;1230 North Ave. Dallas, Texas 98551&lt;/acronym&gt;
- &lt;/p&gt;
- &lt;p xmlns:dmstc=&quot;http://www.usa.com&quot;&gt;
-  &lt;em&gt;EMP0002&lt;/em&gt;
-  &lt;strong&gt;Martha Raynolds
-&lt;![CDATA[This is a CDATASection with EntityReference number 2 &amp;ent2;]]&gt;
-&lt;![CDATA[This is an adjacent CDATASection with a reference to a tab &amp;tab;]]&gt;&lt;/strong&gt;
-  &lt;code&gt;Secretary&lt;/code&gt;
-  &lt;sup&gt;35,000&lt;/sup&gt;
-  &lt;var&gt;Female&lt;/var&gt;
-  &lt;acronym title=&quot;Yes&quot; class=&quot;Yes&quot; xsi:noNamespaceSchemaLocation=&quot;Yes&quot;&gt;&amp;beta; Dallas, &amp;gamma;
- 98554&lt;/acronym&gt;
- &lt;/p&gt;
- &lt;p xmlns:dmstc=&quot;http://www.netzero.com&quot;&gt;
-  &lt;em&gt;EMP0003&lt;/em&gt;
-  &lt;strong&gt;Roger
- Jones&lt;/strong&gt;
-  &lt;code&gt;Department Manager&lt;/code&gt;
-  &lt;sup&gt;100,000&lt;/sup&gt;
-  &lt;var&gt;&amp;ent4;&lt;/var&gt;
-  &lt;acronym title=&quot;Yes&quot; class=&quot;No&quot; id=&quot;_98553&quot; xsi:noNamespaceSchemaLocation=&quot;Yes&quot;&gt;PO Box 27 Irving, texas 98553&lt;/acronym&gt;
- &lt;/p&gt;
- &lt;p xmlns:nm=&quot;http://www.altavista.com&quot;&gt;
-  &lt;em&gt;EMP0004&lt;/em&gt;
-  &lt;strong&gt;Jeny Oconnor&lt;/strong&gt;
-  &lt;code&gt;Personnel Director&lt;/code&gt;
-  &lt;sup&gt;95,000&lt;/sup&gt;
-  &lt;var&gt;Female&lt;/var&gt;
-  &lt;acronym title=&quot;Yes&quot; class=&quot;Y&amp;alpha;&quot; id=&quot;_98556&quot; xsi:noNamespaceSchemaLocation=&quot;Yes&quot;&gt;27 South Road. Dallas, Texas 98556&lt;/acronym&gt;
- &lt;/p&gt;
- &lt;p xmlns:emp2=&quot;http://www.nist.gov&quot;&gt;
-  &lt;em&gt;EMP0005&lt;/em&gt;
-  &lt;strong&gt;Robert Myers&lt;/strong&gt;
-  &lt;code&gt;Computer Specialist&lt;/code&gt;
-  &lt;sup&gt;90,000&lt;/sup&gt;
-  &lt;var&gt;male&lt;/var&gt;
-  &lt;acronym title=&quot;Yes&quot; class=&quot;Yes&quot; xsi:noNamespaceSchemaLocation=&quot;Yes&quot;&gt;1821 Nordic. Road, Irving Texas 98558&lt;/acronym&gt;
- &lt;/p&gt;
-&lt;/body&gt;&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentgetdocumenturi03expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi03-expected.txt (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi03-expected.txt        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi03-expected.txt        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentgetdocumenturi03
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentgetdocumenturi03js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi03.js (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi03.js        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi03.js        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -1,127 +0,0 @@
</span><del>-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the 
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even 
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return &quot;http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentgetdocumenturi03&quot;;
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, &quot;doc&quot;, &quot;hc_staff&quot;);
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-            catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-        Import the documentElement node of this document into a new document.  Since this node is
-        now owned by the importing document, its documentURI attribute value should be null
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Document3-documentURI
-*/
-function documentgetdocumenturi03() {
-   var success;
-    if(checkInitialization(builder, &quot;documentgetdocumenturi03&quot;) != null) return;
-    var doc;
-      var newDoc;
-      var importedOwner;
-      var docElem;
-      var docElemImported;
-      var docURI;
-      var domImpl;
-      var nullDocType = null;
-
-      var rootNS;
-      var rootName;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, &quot;doc&quot;, &quot;hc_staff&quot;);
-      domImpl = doc.implementation;
-docElem = doc.documentElement;
-
-      rootNS = docElem.namespaceURI;
-
-      rootName = docElem.tagName;
-
-      newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
-      docElemImported = newDoc.importNode(docElem,false);
-      importedOwner = docElemImported.ownerDocument;
-
-      docURI = importedOwner.documentURI;
-
-      assertNull(&quot;documentgetdocumenturi03&quot;,docURI);
-    
-}
-
-
-
-
-function runTest() {
-   documentgetdocumenturi03();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentgetdocumenturi03xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi03.xhtml (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi03.xhtml        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentgetdocumenturi03.xhtml        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-&lt;?xml version=&quot;1.0&quot;?&gt;&lt;?TEST-STYLE PIDATA?&gt;
-&lt;!DOCTYPE html
-   PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;
-   &quot;xhtml1-strict.dtd&quot; [
-   &lt;!ENTITY alpha &quot;&amp;#945;&quot;&gt;
-   &lt;!ENTITY beta &quot;&amp;#946;&quot;&gt;
-   &lt;!ENTITY gamma &quot;&amp;#947;&quot;&gt;
-   &lt;!ENTITY delta &quot;&amp;#948;&quot;&gt;
-   &lt;!ENTITY epsilon &quot;&amp;#949;&quot;&gt;
-   &lt;!ENTITY alpha &quot;&amp;#950;&quot;&gt;
-   &lt;!NOTATION notation1 PUBLIC &quot;notation1File&quot;&gt;
-   &lt;!NOTATION notation2 SYSTEM &quot;notation2File&quot;&gt;
-   &lt;!ATTLIST p
-        dir CDATA 'rtl'
-        xmlns:dmstc CDATA #IMPLIED
-        xmlns:nm CDATA #IMPLIED
-        xmlns:emp2 CDATA #IMPLIED&gt;
-   &lt;!ATTLIST html
-                   xmlns:xsi CDATA #IMPLIED
-                   xsi:schemaLocation CDATA #IMPLIED&gt;
-   &lt;!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED&gt;
-   &lt;!ENTITY ent4 &quot;&lt;span xmlns='http://www.w3.org/1999/xhtml'&gt;Element data&lt;/span&gt;&lt;?PItarget PIdata?&gt;&quot;&gt;
-   &lt;!ATTLIST span xmlns CDATA #IMPLIED&gt;
-]&gt;
-&lt;!-- This is comment number 1.--&gt;
-&lt;html xmlns='http://www.w3.org/1999/xhtml'
-        xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
-        xsi:schemaLocation=&quot;http://www.w3.org/1999/xhtml hc_staff.xsd&quot;&gt;&lt;head&gt;&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;/&gt;&lt;title&gt;hc_staff&lt;/title&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;selfxhtml.js&quot;/&gt;&lt;script charset=&quot;UTF-8&quot; type=&quot;text/javascript&quot; src=&quot;documentgetdocumenturi03.js&quot;/&gt;&lt;script type='text/javascript'&gt;function loadComplete() { startTest(); }&lt;/script&gt;&lt;/head&gt;&lt;body onload=&quot;loadComplete()&quot;&gt;
- &lt;p xmlns:dmstc=&quot;http://www.usa.com&quot;&gt;
-  &lt;em&gt;EMP0001&lt;/em&gt;
-  &lt;strong&gt;Margaret Martin&lt;/strong&gt;
-  &lt;code&gt;Accountant&lt;/code&gt;
-  &lt;sup&gt;56,000&lt;/sup&gt;
-  &lt;var&gt;Female&lt;/var&gt;
-  &lt;acronym title=&quot;Yes&quot; xsi:noNamespaceSchemaLocation=&quot;Yes&quot;&gt;1230 North Ave. Dallas, Texas 98551&lt;/acronym&gt;
- &lt;/p&gt;
- &lt;p xmlns:dmstc=&quot;http://www.usa.com&quot;&gt;
-  &lt;em&gt;EMP0002&lt;/em&gt;
-  &lt;strong&gt;Martha Raynolds
-&lt;![CDATA[This is a CDATASection with EntityReference number 2 &amp;ent2;]]&gt;
-&lt;![CDATA[This is an adjacent CDATASection with a reference to a tab &amp;tab;]]&gt;&lt;/strong&gt;
-  &lt;code&gt;Secretary&lt;/code&gt;
-  &lt;sup&gt;35,000&lt;/sup&gt;
-  &lt;var&gt;Female&lt;/var&gt;
-  &lt;acronym title=&quot;Yes&quot; class=&quot;Yes&quot; xsi:noNamespaceSchemaLocation=&quot;Yes&quot;&gt;&amp;beta; Dallas, &amp;gamma;
- 98554&lt;/acronym&gt;
- &lt;/p&gt;
- &lt;p xmlns:dmstc=&quot;http://www.netzero.com&quot;&gt;
-  &lt;em&gt;EMP0003&lt;/em&gt;
-  &lt;strong&gt;Roger
- Jones&lt;/strong&gt;
-  &lt;code&gt;Department Manager&lt;/code&gt;
-  &lt;sup&gt;100,000&lt;/sup&gt;
-  &lt;var&gt;&amp;ent4;&lt;/var&gt;
-  &lt;acronym title=&quot;Yes&quot; class=&quot;No&quot; id=&quot;_98553&quot; xsi:noNamespaceSchemaLocation=&quot;Yes&quot;&gt;PO Box 27 Irving, texas 98553&lt;/acronym&gt;
- &lt;/p&gt;
- &lt;p xmlns:nm=&quot;http://www.altavista.com&quot;&gt;
-  &lt;em&gt;EMP0004&lt;/em&gt;
-  &lt;strong&gt;Jeny Oconnor&lt;/strong&gt;
-  &lt;code&gt;Personnel Director&lt;/code&gt;
-  &lt;sup&gt;95,000&lt;/sup&gt;
-  &lt;var&gt;Female&lt;/var&gt;
-  &lt;acronym title=&quot;Yes&quot; class=&quot;Y&amp;alpha;&quot; id=&quot;_98556&quot; xsi:noNamespaceSchemaLocation=&quot;Yes&quot;&gt;27 South Road. Dallas, Texas 98556&lt;/acronym&gt;
- &lt;/p&gt;
- &lt;p xmlns:emp2=&quot;http://www.nist.gov&quot;&gt;
-  &lt;em&gt;EMP0005&lt;/em&gt;
-  &lt;strong&gt;Robert Myers&lt;/strong&gt;
-  &lt;code&gt;Computer Specialist&lt;/code&gt;
-  &lt;sup&gt;90,000&lt;/sup&gt;
-  &lt;var&gt;male&lt;/var&gt;
-  &lt;acronym title=&quot;Yes&quot; class=&quot;Yes&quot; xsi:noNamespaceSchemaLocation=&quot;Yes&quot;&gt;1821 Nordic. Road, Irving Texas 98558&lt;/acronym&gt;
- &lt;/p&gt;
-&lt;/body&gt;&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentsetdocumenturi03expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentsetdocumenturi03-expected.txt (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentsetdocumenturi03-expected.txt        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentsetdocumenturi03-expected.txt        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentsetdocumenturi03
-Status        failure
-Message        documentsetdocumenturi03: assertEquals failed, actual null, expected somestring.
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentsetdocumenturi03js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentsetdocumenturi03.js (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentsetdocumenturi03.js        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentsetdocumenturi03.js        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -1,126 +0,0 @@
</span><del>-
-/*
-Copyright Â© 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the 
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even 
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return &quot;http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentsetdocumenturi03&quot;;
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, &quot;doc&quot;, &quot;barfoo&quot;);
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-            catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-        The setDocmentURI method set the location of the document.
-            
-        Create a new document and set its documentURI to a valid string.  Retreive the documentURI 
-        and verify if it is was correctly set.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Document3-documentURI
-*/
-function documentsetdocumenturi03() {
-   var success;
-    if(checkInitialization(builder, &quot;documentsetdocumenturi03&quot;) != null) return;
-    var doc;
-      var newDoc;
-      var domImpl;
-      var docURI;
-      var nullDocType = null;
-
-      var docElem;
-      var rootNS;
-      var rootName;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, &quot;doc&quot;, &quot;barfoo&quot;);
-      docElem = doc.documentElement;
-
-      rootNS = docElem.namespaceURI;
-
-      rootName = docElem.tagName;
-
-      domImpl = doc.implementation;
-newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
-      newDoc.documentURI = &quot;somestring&quot;;
-
-      docURI = newDoc.documentURI;
-
-      assertEquals(&quot;documentsetdocumenturi03&quot;,&quot;somestring&quot;,docURI);
-       
-}
-
-
-
-
-function runTest() {
-   documentsetdocumenturi03();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentsetdocumenturi03xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentsetdocumenturi03.xhtml (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentsetdocumenturi03.xhtml        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentsetdocumenturi03.xhtml        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-&lt;!DOCTYPE html [
-&lt;!ENTITY ent1 'foo'&gt;
-&lt;!ENTITY ent2 'foo&lt;br/&gt;'&gt;
-&lt;!ELEMENT html (head, body)&gt;
-&lt;!ATTLIST html xmlns CDATA #IMPLIED&gt;
-&lt;!ELEMENT head (title,script*)&gt;
-&lt;!ELEMENT script (#PCDATA)&gt;
-&lt;!ATTLIST script 
-     src CDATA #IMPLIED
-     type CDATA #IMPLIED
-     charset CDATA #IMPLIED&gt;
-&lt;!ELEMENT title (#PCDATA)&gt;
-&lt;!ELEMENT body (p)&gt;
-&lt;!ATTLIST body onload CDATA #IMPLIED&gt;
-&lt;!ELEMENT p (#PCDATA|br)*&gt;
-&lt;!ELEMENT br EMPTY&gt;
-]&gt;
-&lt;html xmlns='http://www.w3.org/1999/xhtml'&gt;
-&lt;head&gt;
-&lt;title&gt;replaceWholeText sample&lt;/title&gt;
-&lt;script type='text/javascript' src='selfxhtml.js'&gt;&lt;/script&gt;&lt;script charset='UTF-8' type='text/javascript' src='documentsetdocumenturi03.js'&gt;&lt;/script&gt;&lt;script type='text/javascript'&gt;function loadComplete() { startTest(); }&lt;/script&gt;&lt;/head&gt;
-&lt;body onload=&quot;loadComplete()&quot;&gt;
-&lt;p&gt;bar&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsfastdomdocumentattributejsnullexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/document-attribute-js-null-expected.txt (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/document-attribute-js-null-expected.txt        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/fast/dom/document-attribute-js-null-expected.txt        2016-01-22 23:22:07 UTC (rev 195485)
</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 null. [tested Document.documentURI]
</del><span class="cx"> TEST SUCCEEDED: The value was undefined. [tested Document.charset]
</span><span class="cx"> TEST SUCCEEDED: The value was null. [tested Document.selectedStylesheetSet]
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomdocumentattributejsnullhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/document-attribute-js-null.html (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/document-attribute-js-null.html        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/fast/dom/document-attribute-js-null.html        2016-01-22 23:22:07 UTC (rev 195485)
</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: 'documentURI', expectedNull: null},
</del><span class="cx">                         {name: 'charset', expectedNull: undefined},
</span><span class="cx">                         {name: 'selectedStylesheetSet', expectedNull: null}
</span><span class="cx">                     ]
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/imported/w3c/ChangeLog        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -1,3 +1,20 @@
</span><ins>+2016-01-22  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Document.URL / Document.documentURI should return &quot;about:blank&quot; instead of empty string / null
+        https://bugs.webkit.org/show_bug.cgi?id=153363
+        &lt;rdar://problem/22549736&gt;
+
+        Reviewed by Ryosuke Niwa.
+
+        Rebaseline several 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:
+
</ins><span class="cx"> 2016-01-21  Brady Eidson  &lt;beidson@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Modern IDB: Make -private copies of each w3c IDB test.
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdominterfacesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -482,7 +482,7 @@
</span><span class="cx"> FAIL Stringification of xmlDoc assert_equals: class string of xmlDoc expected &quot;[object XMLDocument]&quot; but got &quot;[object Document]&quot;
</span><span class="cx"> PASS Document interface: xmlDoc must inherit property &quot;implementation&quot; with the proper type (0) 
</span><span class="cx"> PASS Document interface: xmlDoc must inherit property &quot;URL&quot; with the proper type (1) 
</span><del>-FAIL Document interface: xmlDoc must inherit property &quot;documentURI&quot; with the proper type (2) assert_equals: expected &quot;string&quot; but got &quot;object&quot;
</del><ins>+PASS Document interface: xmlDoc must inherit property &quot;documentURI&quot; with the proper type (2) 
</ins><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></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 (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -1,17 +1,17 @@
</span><span class="cx"> 
</span><span class="cx"> PASS DOMImplementation.createDocument(namespace, qualifiedName, doctype) 
</span><span class="cx"> PASS createDocument test 0: null,undefined,null,null 
</span><del>-FAIL createDocument test 0: metadata for null,undefined,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 0: metadata for null,undefined,null 
</ins><span class="cx"> FAIL createDocument test 0: characterSet aliases for null,undefined,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 1: null,&quot;foo&quot;,null,null 
</span><del>-FAIL createDocument test 1: metadata for null,&quot;foo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 1: metadata for null,&quot;foo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 3: metadata for null,&quot;f1oo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 3: metadata for null,&quot;f1oo&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 4: null,&quot;foo1&quot;,null,null 
</span><del>-FAIL createDocument test 4: metadata for null,&quot;foo1&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 4: metadata for null,&quot;foo1&quot;,null 
</ins><span class="cx"> 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
</span><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="lines">@@ -31,11 +31,11 @@
</span><span class="cx"> PASS createDocument test 20: null,&quot;foo:&quot;,null,&quot;NAMESPACE_ERR&quot; 
</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><del>-FAIL createDocument test 22: metadata for null,&quot;xml&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 22: metadata for null,&quot;xml&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 24: metadata for null,&quot;xmlfoo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 24: metadata for null,&quot;xmlfoo&quot;,null 
</ins><span class="cx"> 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
</span><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="lines">@@ -45,96 +45,96 @@
</span><span class="cx"> PASS createDocument test 30: &quot;&quot;,&quot;f:oo&quot;,null,&quot;NAMESPACE_ERR&quot; 
</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><del>-FAIL createDocument test 32: metadata for undefined,undefined,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 32: metadata for undefined,undefined,null 
</ins><span class="cx"> FAIL createDocument test 32: characterSet aliases for undefined,undefined,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 33: undefined,&quot;foo&quot;,null,null 
</span><del>-FAIL createDocument test 33: metadata for undefined,&quot;foo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 33: metadata for undefined,&quot;foo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 35: metadata for undefined,&quot;f1oo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 35: metadata for undefined,&quot;f1oo&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 36: undefined,&quot;foo1&quot;,null,null 
</span><del>-FAIL createDocument test 36: metadata for undefined,&quot;foo1&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 36: metadata for undefined,&quot;foo1&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 40: metadata for undefined,&quot;xml&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 40: metadata for undefined,&quot;xml&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 42: metadata for undefined,&quot;xmlfoo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 42: metadata for undefined,&quot;xmlfoo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 46: metadata for &quot;http://example.com/&quot;,&quot;foo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 46: metadata for &quot;http://example.com/&quot;,&quot;foo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 48: metadata for &quot;http://example.com/&quot;,&quot;f1oo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 48: metadata for &quot;http://example.com/&quot;,&quot;f1oo&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 49: &quot;http://example.com/&quot;,&quot;foo1&quot;,null,null 
</span><del>-FAIL createDocument test 49: metadata for &quot;http://example.com/&quot;,&quot;foo1&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 49: metadata for &quot;http://example.com/&quot;,&quot;foo1&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 51: metadata for &quot;http://example.com/&quot;,&quot;f:oo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 51: metadata for &quot;http://example.com/&quot;,&quot;f:oo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 53: metadata for &quot;http://example.com/&quot;,&quot;_:_&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 53: metadata for &quot;http://example.com/&quot;,&quot;_:_&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 54: &quot;http://example.com/&quot;,&quot;_:h0&quot;,null,null 
</span><del>-FAIL createDocument test 54: metadata for &quot;http://example.com/&quot;,&quot;_:h0&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 54: metadata for &quot;http://example.com/&quot;,&quot;_:h0&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 55: &quot;http://example.com/&quot;,&quot;_:test&quot;,null,null 
</span><del>-FAIL createDocument test 55: metadata for &quot;http://example.com/&quot;,&quot;_:test&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 55: metadata for &quot;http://example.com/&quot;,&quot;_:test&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 56: &quot;http://example.com/&quot;,&quot;l_:_&quot;,null,null 
</span><del>-FAIL createDocument test 56: metadata for &quot;http://example.com/&quot;,&quot;l_:_&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 56: metadata for &quot;http://example.com/&quot;,&quot;l_:_&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 57: &quot;http://example.com/&quot;,&quot;ns:_0&quot;,null,null 
</span><del>-FAIL createDocument test 57: metadata for &quot;http://example.com/&quot;,&quot;ns:_0&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 57: metadata for &quot;http://example.com/&quot;,&quot;ns:_0&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 58: &quot;http://example.com/&quot;,&quot;ns:a0&quot;,null,null 
</span><del>-FAIL createDocument test 58: metadata for &quot;http://example.com/&quot;,&quot;ns:a0&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 58: metadata for &quot;http://example.com/&quot;,&quot;ns:a0&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 59: &quot;http://example.com/&quot;,&quot;ns0:test&quot;,null,null 
</span><del>-FAIL createDocument test 59: metadata for &quot;http://example.com/&quot;,&quot;ns0:test&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 59: metadata for &quot;http://example.com/&quot;,&quot;ns0:test&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 60: &quot;http://example.com/&quot;,&quot;a.b:c&quot;,null,null 
</span><del>-FAIL createDocument test 60: metadata for &quot;http://example.com/&quot;,&quot;a.b:c&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 60: metadata for &quot;http://example.com/&quot;,&quot;a.b:c&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 61: &quot;http://example.com/&quot;,&quot;a-b:c&quot;,null,null 
</span><del>-FAIL createDocument test 61: metadata for &quot;http://example.com/&quot;,&quot;a-b:c&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 61: metadata for &quot;http://example.com/&quot;,&quot;a-b:c&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 62: &quot;http://example.com/&quot;,&quot;a-b:c&quot;,null,null 
</span><del>-FAIL createDocument test 62: metadata for &quot;http://example.com/&quot;,&quot;a-b:c&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 62: metadata for &quot;http://example.com/&quot;,&quot;a-b:c&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 63: &quot;http://example.com/&quot;,&quot;xml&quot;,null,null 
</span><del>-FAIL createDocument test 63: metadata for &quot;http://example.com/&quot;,&quot;xml&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 63: metadata for &quot;http://example.com/&quot;,&quot;xml&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 65: metadata for &quot;http://example.com/&quot;,&quot;XMLNS&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 65: metadata for &quot;http://example.com/&quot;,&quot;XMLNS&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 66: &quot;http://example.com/&quot;,&quot;xmlfoo&quot;,null,null 
</span><del>-FAIL createDocument test 66: metadata for &quot;http://example.com/&quot;,&quot;xmlfoo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 66: metadata for &quot;http://example.com/&quot;,&quot;xmlfoo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 68: metadata for &quot;http://example.com/&quot;,&quot;XML:foo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 68: metadata for &quot;http://example.com/&quot;,&quot;XML:foo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 70: metadata for &quot;http://example.com/&quot;,&quot;XMLNS:foo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 70: metadata for &quot;http://example.com/&quot;,&quot;XMLNS:foo&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 71: &quot;http://example.com/&quot;,&quot;xmlfoo:bar&quot;,null,null 
</span><del>-FAIL createDocument test 71: metadata for &quot;http://example.com/&quot;,&quot;xmlfoo:bar&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 71: metadata for &quot;http://example.com/&quot;,&quot;xmlfoo:bar&quot;,null 
</ins><span class="cx"> 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
</span><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="lines">@@ -165,60 +165,60 @@
</span><span class="cx"> PASS createDocument test 98: &quot;http://example.com/&quot;,&quot;namespaceURI:a &quot;,null,&quot;INVALID_CHARACTER_ERR&quot; 
</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><del>-FAIL createDocument test 100: metadata for &quot;/&quot;,&quot;foo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 100: metadata for &quot;/&quot;,&quot;foo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 102: metadata for &quot;/&quot;,&quot;f1oo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 102: metadata for &quot;/&quot;,&quot;f1oo&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 103: &quot;/&quot;,&quot;foo1&quot;,null,null 
</span><del>-FAIL createDocument test 103: metadata for &quot;/&quot;,&quot;foo1&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 103: metadata for &quot;/&quot;,&quot;foo1&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 105: metadata for &quot;/&quot;,&quot;f:oo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 105: metadata for &quot;/&quot;,&quot;f:oo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 107: metadata for &quot;/&quot;,&quot;xml&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 107: metadata for &quot;/&quot;,&quot;xml&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 109: metadata for &quot;/&quot;,&quot;xmlfoo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 109: metadata for &quot;/&quot;,&quot;xmlfoo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 112: metadata for &quot;/&quot;,&quot;xmlfoo:bar&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 112: metadata for &quot;/&quot;,&quot;xmlfoo:bar&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 113: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;foo&quot;,null,null 
</span><del>-FAIL createDocument test 113: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;foo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 113: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;foo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 115: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;f1oo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 115: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;f1oo&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 116: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;foo1&quot;,null,null 
</span><del>-FAIL createDocument test 116: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;foo1&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 116: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;foo1&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 118: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;f:oo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 118: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;f:oo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 120: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 120: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 122: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xmlfoo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 122: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xmlfoo&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 123: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml:foo&quot;,null,null 
</span><del>-FAIL createDocument test 123: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml:foo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 123: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml:foo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 125: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xmlfoo:bar&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 125: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xmlfoo:bar&quot;,null 
</ins><span class="cx"> 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
</span><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="lines">@@ -231,110 +231,110 @@
</span><span class="cx"> PASS createDocument test 134: &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;foo:&quot;,null,&quot;NAMESPACE_ERR&quot; 
</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><del>-FAIL createDocument test 136: metadata for &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;xmlns&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 136: metadata for &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;xmlns&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 139: metadata for &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;xmlns:foo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 139: metadata for &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;xmlns:foo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 142: metadata for &quot;foo:&quot;,&quot;foo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 142: metadata for &quot;foo:&quot;,&quot;foo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 144: metadata for &quot;foo:&quot;,&quot;f1oo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 144: metadata for &quot;foo:&quot;,&quot;f1oo&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 145: &quot;foo:&quot;,&quot;foo1&quot;,null,null 
</span><del>-FAIL createDocument test 145: metadata for &quot;foo:&quot;,&quot;foo1&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 145: metadata for &quot;foo:&quot;,&quot;foo1&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 147: metadata for &quot;foo:&quot;,&quot;f:oo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 147: metadata for &quot;foo:&quot;,&quot;f:oo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 149: metadata for &quot;foo:&quot;,&quot;xml&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 149: metadata for &quot;foo:&quot;,&quot;xml&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 151: metadata for &quot;foo:&quot;,&quot;xmlfoo&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 151: metadata for &quot;foo:&quot;,&quot;xmlfoo&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 154: metadata for &quot;foo:&quot;,&quot;xmlfoo:bar&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 154: metadata for &quot;foo:&quot;,&quot;xmlfoo:bar&quot;,null 
</ins><span class="cx"> 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
</span><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><del>-FAIL createDocument test 156: metadata for null,null,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 156: metadata for null,null,null 
</ins><span class="cx"> FAIL createDocument test 156: characterSet aliases for null,null,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 157: null,&quot;&quot;,null,null 
</span><del>-FAIL createDocument test 157: metadata for null,&quot;&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 157: metadata for null,&quot;&quot;,null 
</ins><span class="cx"> FAIL createDocument test 157: characterSet aliases for null,&quot;&quot;,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 158: undefined,null,undefined,null 
</span><del>-FAIL createDocument test 158: metadata for undefined,null,undefined assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 158: metadata for undefined,null,undefined 
</ins><span class="cx"> FAIL createDocument test 158: characterSet aliases for undefined,null,undefined assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 159: undefined,undefined,undefined,null 
</span><del>-FAIL createDocument test 159: metadata for undefined,undefined,undefined assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 159: metadata for undefined,undefined,undefined 
</ins><span class="cx"> FAIL createDocument test 159: characterSet aliases for undefined,undefined,undefined assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 160: undefined,&quot;&quot;,undefined,null 
</span><del>-FAIL createDocument test 160: metadata for undefined,&quot;&quot;,undefined assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 160: metadata for undefined,&quot;&quot;,undefined 
</ins><span class="cx"> FAIL createDocument test 160: characterSet aliases for undefined,&quot;&quot;,undefined assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 161: &quot;http://example.com/&quot;,null,null,null 
</span><del>-FAIL createDocument test 161: metadata for &quot;http://example.com/&quot;,null,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 161: metadata for &quot;http://example.com/&quot;,null,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 162: &quot;http://example.com/&quot;,&quot;&quot;,null,null 
</span><del>-FAIL createDocument test 162: metadata for &quot;http://example.com/&quot;,&quot;&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 162: metadata for &quot;http://example.com/&quot;,&quot;&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 163: &quot;/&quot;,null,null,null 
</span><del>-FAIL createDocument test 163: metadata for &quot;/&quot;,null,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 163: metadata for &quot;/&quot;,null,null 
</ins><span class="cx"> FAIL createDocument test 163: characterSet aliases for &quot;/&quot;,null,null assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 164: &quot;/&quot;,&quot;&quot;,null,null 
</span><del>-FAIL createDocument test 164: metadata for &quot;/&quot;,&quot;&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 164: metadata for &quot;/&quot;,&quot;&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 165: &quot;http://www.w3.org/XML/1998/namespace&quot;,null,null,null 
</span><del>-FAIL createDocument test 165: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,null,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 165: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,null,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 166: &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;&quot;,null,null 
</span><del>-FAIL createDocument test 166: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 166: metadata for &quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 167: &quot;http://www.w3.org/2000/xmlns/&quot;,null,null,null 
</span><del>-FAIL createDocument test 167: metadata for &quot;http://www.w3.org/2000/xmlns/&quot;,null,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 167: metadata for &quot;http://www.w3.org/2000/xmlns/&quot;,null,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 168: &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;&quot;,null,null 
</span><del>-FAIL createDocument test 168: metadata for &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 168: metadata for &quot;http://www.w3.org/2000/xmlns/&quot;,&quot;&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 169: &quot;foo:&quot;,null,null,null 
</span><del>-FAIL createDocument test 169: metadata for &quot;foo:&quot;,null,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 169: metadata for &quot;foo:&quot;,null,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 170: &quot;foo:&quot;,&quot;&quot;,null,null 
</span><del>-FAIL createDocument test 170: metadata for &quot;foo:&quot;,&quot;&quot;,null assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 170: metadata for &quot;foo:&quot;,&quot;&quot;,null 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 171: null,null,DocumentType node,null 
</span><del>-FAIL createDocument test 171: metadata for null,null,DocumentType node assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 171: metadata for null,null,DocumentType node 
</ins><span class="cx"> FAIL createDocument test 171: characterSet aliases for null,null,DocumentType node assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 172: null,null,DocumentType node,null 
</span><del>-FAIL createDocument test 172: metadata for null,null,DocumentType node assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 172: metadata for null,null,DocumentType node 
</ins><span class="cx"> FAIL createDocument test 172: characterSet aliases for null,null,DocumentType node assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 173: null,null,DocumentType node,null 
</span><del>-FAIL createDocument test 173: metadata for null,null,DocumentType node assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 173: metadata for null,null,DocumentType node 
</ins><span class="cx"> FAIL createDocument test 173: characterSet aliases for null,null,DocumentType node assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 174: null,null,DocumentType node,null 
</span><del>-FAIL createDocument test 174: metadata for null,null,DocumentType node assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 174: metadata for null,null,DocumentType node 
</ins><span class="cx"> FAIL createDocument test 174: characterSet aliases for null,null,DocumentType node assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 175: null,null,DocumentType node,null 
</span><del>-FAIL createDocument test 175: metadata for null,null,DocumentType node assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 175: metadata for null,null,DocumentType node 
</ins><span class="cx"> FAIL createDocument test 175: characterSet aliases for null,null,DocumentType node assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 176: null,&quot;foo&quot;,DocumentType node,null 
</span><del>-FAIL createDocument test 176: metadata for null,&quot;foo&quot;,DocumentType node assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 176: metadata for null,&quot;foo&quot;,DocumentType node 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 177: &quot;foo&quot;,null,DocumentType node,null 
</span><del>-FAIL createDocument test 177: metadata for &quot;foo&quot;,null,DocumentType node assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 177: metadata for &quot;foo&quot;,null,DocumentType node 
</ins><span class="cx"> 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
</span><span class="cx"> PASS createDocument test 178: &quot;foo&quot;,&quot;bar&quot;,DocumentType node,null 
</span><del>-FAIL createDocument test 178: metadata for &quot;foo&quot;,&quot;bar&quot;,DocumentType node assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createDocument test 178: metadata for &quot;foo&quot;,&quot;bar&quot;,DocumentType node 
</ins><span class="cx"> 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
</span><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 (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument-expected.txt        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument-expected.txt        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -8,7 +8,7 @@
</span><span class="cx"> PASS createHTMLDocument test 6: &quot;foo\f\fbar baz&quot;,&quot;foo\f\fbar baz&quot;,&quot;foo bar baz&quot; 
</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><del>-FAIL createHTMLDocument(): metadata assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS createHTMLDocument(): metadata 
</ins><span class="cx"> FAIL createHTMLDocument(): characterSet aliases assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><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 (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-constructor-expected.txt        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-constructor-expected.txt        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> 
</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><del>-FAIL new Document(): metadata assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS new Document(): metadata 
</ins><span class="cx"> FAIL new Document(): characterSet aliases assert_equals: charset expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><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 (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-properties-expected.txt        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-properties-expected.txt        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -141,7 +141,7 @@
</span><span class="cx"> PASS foreignDoc.childNodes[0] 
</span><span class="cx"> PASS foreignDoc.childNodes[1] 
</span><span class="cx"> PASS foreignDoc.childNodes[2] 
</span><del>-FAIL foreignDoc.URL assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS foreignDoc.URL 
</ins><span class="cx"> PASS foreignDoc.compatMode 
</span><span class="cx"> PASS foreignDoc.characterSet 
</span><span class="cx"> PASS foreignDoc.contentType 
</span><span class="lines">@@ -153,7 +153,7 @@
</span><span class="cx"> PASS foreignDoc.parentElement 
</span><span class="cx"> PASS foreignDoc.parentNode 
</span><span class="cx"> PASS foreignDoc.ownerDocument 
</span><del>-FAIL foreignDoc.documentURI assert_equals: expected (string) &quot;about:blank&quot; but got (object) null
</del><ins>+PASS foreignDoc.documentURI 
</ins><span class="cx"> PASS foreignDoc.inputEncoding 
</span><span class="cx"> FAIL foreignDoc.charset assert_equals: expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><span class="cx"> PASS foreignDoc.firstChild 
</span><span class="lines">@@ -215,7 +215,7 @@
</span><span class="cx"> PASS xmlDoc.childNodes[1] 
</span><span class="cx"> PASS xmlDoc.childNodes[2] 
</span><span class="cx"> PASS xmlDoc.childNodes[3] 
</span><del>-FAIL xmlDoc.URL assert_equals: expected &quot;about:blank&quot; but got &quot;&quot;
</del><ins>+PASS xmlDoc.URL 
</ins><span class="cx"> PASS xmlDoc.compatMode 
</span><span class="cx"> PASS xmlDoc.characterSet 
</span><span class="cx"> PASS xmlDoc.contentType 
</span><span class="lines">@@ -227,7 +227,7 @@
</span><span class="cx"> PASS xmlDoc.parentElement 
</span><span class="cx"> PASS xmlDoc.parentNode 
</span><span class="cx"> PASS xmlDoc.ownerDocument 
</span><del>-FAIL xmlDoc.documentURI assert_equals: expected (string) &quot;about:blank&quot; but got (object) null
</del><ins>+PASS xmlDoc.documentURI 
</ins><span class="cx"> PASS xmlDoc.inputEncoding 
</span><span class="cx"> FAIL xmlDoc.charset assert_equals: expected (string) &quot;UTF-8&quot; but got (undefined) undefined
</span><span class="cx"> PASS xmlDoc.firstChild 
</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 (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -1259,7 +1259,7 @@
</span><span class="cx"> FAIL XMLDocument interface: calling load(DOMString) on document.implementation.createDocument(null, &quot;&quot;, null) with too few arguments must throw TypeError assert_inherits: property &quot;load&quot; not found in prototype chain
</span><span class="cx"> PASS Document interface: document.implementation.createDocument(null, &quot;&quot;, null) must inherit property &quot;implementation&quot; with the proper type (0) 
</span><span class="cx"> PASS Document interface: document.implementation.createDocument(null, &quot;&quot;, null) must inherit property &quot;URL&quot; with the proper type (1) 
</span><del>-FAIL Document interface: document.implementation.createDocument(null, &quot;&quot;, null) must inherit property &quot;documentURI&quot; with the proper type (2) assert_equals: expected &quot;string&quot; but got &quot;object&quot;
</del><ins>+PASS Document interface: document.implementation.createDocument(null, &quot;&quot;, null) must inherit property &quot;documentURI&quot; with the proper type (2) 
</ins><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></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/Source/WebCore/ChangeLog        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -1,3 +1,27 @@
</span><ins>+2016-01-22  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Document.URL / Document.documentURI should return &quot;about:blank&quot; instead of empty string / null
+        https://bugs.webkit.org/show_bug.cgi?id=153363
+        &lt;rdar://problem/22549736&gt;
+
+        Reviewed by Ryosuke Niwa.
+
+        Document.URL / Document.documentURI should return &quot;about:blank&quot; instead
+        of empty string / null, as per the specification:
+        - https://dom.spec.whatwg.org/#dom-document-url
+        - https://dom.spec.whatwg.org/#concept-document-url
+
+        Also, Document.documentURI should be an alias for Document.URL as per:
+        - https://dom.spec.whatwg.org/#dom-document-url
+
+        Firefox matches the specification.
+
+        No new tests, already covered by existing W3C tests.
+
+        * dom/Document.h:
+        (WebCore::Document::urlForBindings):
+        * dom/Document.idl:
+
</ins><span class="cx"> 2016-01-22  Brent Fulgham  &lt;bfulgham@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Don't ignore the return value of CCRandomCopyBytes
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.h (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.h        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/Source/WebCore/dom/Document.h        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -650,6 +650,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual const URL&amp; url() const override final { return m_url; }
</span><span class="cx">     void setURL(const URL&amp;);
</span><ins>+    const URL&amp; urlForBindings() const { return m_url.isEmpty() ? blankURL() : m_url; }
</ins><span class="cx"> 
</span><span class="cx">     // To understand how these concepts relate to one another, please see the
</span><span class="cx">     // comments surrounding their declaration.
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.idl (195484 => 195485)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.idl        2016-01-22 22:52:42 UTC (rev 195484)
+++ trunk/Source/WebCore/dom/Document.idl        2016-01-22 23:22:07 UTC (rev 195485)
</span><span class="lines">@@ -82,7 +82,7 @@
</span><span class="cx">     // read-only for other clients.
</span><span class="cx">              [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute DOMString documentURI;
</span><span class="cx"> #else
</span><del>-    [TreatReturnedNullStringAs=Null] readonly attribute DOMString documentURI;
</del><ins>+    [ImplementedAs=urlForBindings] readonly attribute DOMString documentURI;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     // DOM Level 2 Events (DocumentEvents interface)
</span><span class="lines">@@ -165,7 +165,7 @@
</span><span class="cx"> #else
</span><span class="cx">     readonly attribute DOMString domain;
</span><span class="cx"> #endif
</span><del>-    readonly attribute DOMString URL;
</del><ins>+    [ImplementedAs=urlForBindings] readonly attribute DOMString URL;
</ins><span class="cx"> 
</span><span class="cx">     [TreatNullAs=NullString, GetterRaisesException, SetterRaisesException] attribute DOMString cookie;
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>