<!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 "about:blank" instead of empty string / null
https://bugs.webkit.org/show_bug.cgi?id=153363
<rdar://problem/22549736>
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 "about:blank" 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 <cdumez@apple.com>
+
+ Document.URL / Document.documentURI should return "about:blank" instead of empty string / null
+ https://bugs.webkit.org/show_bug.cgi?id=153363
+ <rdar://problem/22549736>
+
+ 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 <timothy_horton@apple.com>
</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 "http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentgetdocumenturi02";
- }
-
-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, "doc", "hc_staff");
-
- 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, "documentgetdocumenturi02") != 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, "doc", "hc_staff");
- docElem = doc.documentElement;
-
- rootNS = docElem.namespaceURI;
-
- rootName = docElem.tagName;
-
- domImpl = doc.implementation;
-newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
- docURI = newDoc.documentURI;
-
- assertNull("documentgetdocumenturi02",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>-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "xhtml1-strict.dtd" [
- <!ENTITY alpha "&#945;">
- <!ENTITY beta "&#946;">
- <!ENTITY gamma "&#947;">
- <!ENTITY delta "&#948;">
- <!ENTITY epsilon "&#949;">
- <!ENTITY alpha "&#950;">
- <!NOTATION notation1 PUBLIC "notation1File">
- <!NOTATION notation2 SYSTEM "notation2File">
- <!ATTLIST p
- dir CDATA 'rtl'
- xmlns:dmstc CDATA #IMPLIED
- xmlns:nm CDATA #IMPLIED
- xmlns:emp2 CDATA #IMPLIED>
- <!ATTLIST html
- xmlns:xsi CDATA #IMPLIED
- xsi:schemaLocation CDATA #IMPLIED>
- <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
- <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
- <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="documentgetdocumenturi02.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
- <em>EMP0001</em>
- <strong>Margaret Martin</strong>
- <code>Accountant</code>
- <sup>56,000</sup>
- <var>Female</var>
- <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
- <em>EMP0002</em>
- <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
- <code>Secretary</code>
- <sup>35,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
- <em>EMP0003</em>
- <strong>Roger
- Jones</strong>
- <code>Department Manager</code>
- <sup>100,000</sup>
- <var>&ent4;</var>
- <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
- <em>EMP0004</em>
- <strong>Jeny Oconnor</strong>
- <code>Personnel Director</code>
- <sup>95,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
- <em>EMP0005</em>
- <strong>Robert Myers</strong>
- <code>Computer Specialist</code>
- <sup>90,000</sup>
- <var>male</var>
- <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
</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 "http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentgetdocumenturi03";
- }
-
-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, "doc", "hc_staff");
-
- 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, "documentgetdocumenturi03") != 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, "doc", "hc_staff");
- 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("documentgetdocumenturi03",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>-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "xhtml1-strict.dtd" [
- <!ENTITY alpha "&#945;">
- <!ENTITY beta "&#946;">
- <!ENTITY gamma "&#947;">
- <!ENTITY delta "&#948;">
- <!ENTITY epsilon "&#949;">
- <!ENTITY alpha "&#950;">
- <!NOTATION notation1 PUBLIC "notation1File">
- <!NOTATION notation2 SYSTEM "notation2File">
- <!ATTLIST p
- dir CDATA 'rtl'
- xmlns:dmstc CDATA #IMPLIED
- xmlns:nm CDATA #IMPLIED
- xmlns:emp2 CDATA #IMPLIED>
- <!ATTLIST html
- xmlns:xsi CDATA #IMPLIED
- xsi:schemaLocation CDATA #IMPLIED>
- <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
- <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
- <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="documentgetdocumenturi03.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
- <em>EMP0001</em>
- <strong>Margaret Martin</strong>
- <code>Accountant</code>
- <sup>56,000</sup>
- <var>Female</var>
- <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
- <em>EMP0002</em>
- <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
- <code>Secretary</code>
- <sup>35,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
- <em>EMP0003</em>
- <strong>Roger
- Jones</strong>
- <code>Department Manager</code>
- <sup>100,000</sup>
- <var>&ent4;</var>
- <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
- <em>EMP0004</em>
- <strong>Jeny Oconnor</strong>
- <code>Personnel Director</code>
- <sup>95,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
- <em>EMP0005</em>
- <strong>Robert Myers</strong>
- <code>Computer Specialist</code>
- <sup>90,000</sup>
- <var>male</var>
- <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
</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 "http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentsetdocumenturi03";
- }
-
-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, "doc", "barfoo");
-
- 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, "documentsetdocumenturi03") != 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, "doc", "barfoo");
- docElem = doc.documentElement;
-
- rootNS = docElem.namespaceURI;
-
- rootName = docElem.tagName;
-
- domImpl = doc.implementation;
-newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
- newDoc.documentURI = "somestring";
-
- docURI = newDoc.documentURI;
-
- assertEquals("documentsetdocumenturi03","somestring",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>-<!DOCTYPE html [
-<!ENTITY ent1 'foo'>
-<!ENTITY ent2 'foo<br/>'>
-<!ELEMENT html (head, body)>
-<!ATTLIST html xmlns CDATA #IMPLIED>
-<!ELEMENT head (title,script*)>
-<!ELEMENT script (#PCDATA)>
-<!ATTLIST script
- src CDATA #IMPLIED
- type CDATA #IMPLIED
- charset CDATA #IMPLIED>
-<!ELEMENT title (#PCDATA)>
-<!ELEMENT body (p)>
-<!ATTLIST body onload CDATA #IMPLIED>
-<!ELEMENT p (#PCDATA|br)*>
-<!ELEMENT br EMPTY>
-]>
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>replaceWholeText sample</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='documentsetdocumenturi03.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()">
-<p>bar</p>
-</body>
-</html>
</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 <cdumez@apple.com>
+
+ Document.URL / Document.documentURI should return "about:blank" instead of empty string / null
+ https://bugs.webkit.org/show_bug.cgi?id=153363
+ <rdar://problem/22549736>
+
+ 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 <beidson@apple.com>
</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 "[object XMLDocument]" but got "[object Document]"
</span><span class="cx"> PASS Document interface: xmlDoc must inherit property "implementation" with the proper type (0)
</span><span class="cx"> PASS Document interface: xmlDoc must inherit property "URL" with the proper type (1)
</span><del>-FAIL Document interface: xmlDoc must inherit property "documentURI" with the proper type (2) assert_equals: expected "string" but got "object"
</del><ins>+PASS Document interface: xmlDoc must inherit property "documentURI" with the proper type (2)
</ins><span class="cx"> PASS Document interface: xmlDoc must inherit property "origin" with the proper type (3)
</span><span class="cx"> PASS Document interface: xmlDoc must inherit property "compatMode" with the proper type (4)
</span><span class="cx"> PASS Document interface: xmlDoc must inherit property "characterSet" 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 "about:blank" but got ""
</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) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 1: null,"foo",null,null
</span><del>-FAIL createDocument test 1: metadata for null,"foo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 1: metadata for null,"foo",null
</ins><span class="cx"> FAIL createDocument test 1: characterSet aliases for null,"foo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 2: null,"1foo",null,"INVALID_CHARACTER_ERR"
</span><span class="cx"> PASS createDocument test 3: null,"f1oo",null,null
</span><del>-FAIL createDocument test 3: metadata for null,"f1oo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 3: metadata for null,"f1oo",null
</ins><span class="cx"> FAIL createDocument test 3: characterSet aliases for null,"f1oo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 4: null,"foo1",null,null
</span><del>-FAIL createDocument test 4: metadata for null,"foo1",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 4: metadata for null,"foo1",null
</ins><span class="cx"> FAIL createDocument test 4: characterSet aliases for null,"foo1",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 5: null,"1foo",null,"INVALID_CHARACTER_ERR"
</span><span class="cx"> PASS createDocument test 6: null,"̀foo",null,"INVALID_CHARACTER_ERR"
</span><span class="lines">@@ -31,11 +31,11 @@
</span><span class="cx"> PASS createDocument test 20: null,"foo:",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 21: null,":",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 22: null,"xml",null,null
</span><del>-FAIL createDocument test 22: metadata for null,"xml",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 22: metadata for null,"xml",null
</ins><span class="cx"> FAIL createDocument test 22: characterSet aliases for null,"xml",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 23: null,"xmlns",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 24: null,"xmlfoo",null,null
</span><del>-FAIL createDocument test 24: metadata for null,"xmlfoo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 24: metadata for null,"xmlfoo",null
</ins><span class="cx"> FAIL createDocument test 24: characterSet aliases for null,"xmlfoo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 25: null,"xml:foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 26: null,"xmlns:foo",null,"NAMESPACE_ERR"
</span><span class="lines">@@ -45,96 +45,96 @@
</span><span class="cx"> PASS createDocument test 30: "","f:oo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 31: "","foo:",null,"NAMESPACE_ERR"
</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 "about:blank" but got ""
</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) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 33: undefined,"foo",null,null
</span><del>-FAIL createDocument test 33: metadata for undefined,"foo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 33: metadata for undefined,"foo",null
</ins><span class="cx"> FAIL createDocument test 33: characterSet aliases for undefined,"foo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 34: undefined,"1foo",null,"INVALID_CHARACTER_ERR"
</span><span class="cx"> PASS createDocument test 35: undefined,"f1oo",null,null
</span><del>-FAIL createDocument test 35: metadata for undefined,"f1oo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 35: metadata for undefined,"f1oo",null
</ins><span class="cx"> FAIL createDocument test 35: characterSet aliases for undefined,"f1oo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 36: undefined,"foo1",null,null
</span><del>-FAIL createDocument test 36: metadata for undefined,"foo1",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 36: metadata for undefined,"foo1",null
</ins><span class="cx"> FAIL createDocument test 36: characterSet aliases for undefined,"foo1",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 37: undefined,":foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 38: undefined,"f:oo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 39: undefined,"foo:",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 40: undefined,"xml",null,null
</span><del>-FAIL createDocument test 40: metadata for undefined,"xml",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 40: metadata for undefined,"xml",null
</ins><span class="cx"> FAIL createDocument test 40: characterSet aliases for undefined,"xml",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 41: undefined,"xmlns",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 42: undefined,"xmlfoo",null,null
</span><del>-FAIL createDocument test 42: metadata for undefined,"xmlfoo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 42: metadata for undefined,"xmlfoo",null
</ins><span class="cx"> FAIL createDocument test 42: characterSet aliases for undefined,"xmlfoo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 43: undefined,"xml:foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 44: undefined,"xmlns:foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 45: undefined,"xmlfoo:bar",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 46: "http://example.com/","foo",null,null
</span><del>-FAIL createDocument test 46: metadata for "http://example.com/","foo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 46: metadata for "http://example.com/","foo",null
</ins><span class="cx"> FAIL createDocument test 46: characterSet aliases for "http://example.com/","foo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 47: "http://example.com/","1foo",null,"INVALID_CHARACTER_ERR"
</span><span class="cx"> PASS createDocument test 48: "http://example.com/","f1oo",null,null
</span><del>-FAIL createDocument test 48: metadata for "http://example.com/","f1oo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 48: metadata for "http://example.com/","f1oo",null
</ins><span class="cx"> FAIL createDocument test 48: characterSet aliases for "http://example.com/","f1oo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 49: "http://example.com/","foo1",null,null
</span><del>-FAIL createDocument test 49: metadata for "http://example.com/","foo1",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 49: metadata for "http://example.com/","foo1",null
</ins><span class="cx"> FAIL createDocument test 49: characterSet aliases for "http://example.com/","foo1",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 50: "http://example.com/",":foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 51: "http://example.com/","f:oo",null,null
</span><del>-FAIL createDocument test 51: metadata for "http://example.com/","f:oo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 51: metadata for "http://example.com/","f:oo",null
</ins><span class="cx"> FAIL createDocument test 51: characterSet aliases for "http://example.com/","f:oo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 52: "http://example.com/","foo:",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 53: "http://example.com/","_:_",null,null
</span><del>-FAIL createDocument test 53: metadata for "http://example.com/","_:_",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 53: metadata for "http://example.com/","_:_",null
</ins><span class="cx"> FAIL createDocument test 53: characterSet aliases for "http://example.com/","_:_",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 54: "http://example.com/","_:h0",null,null
</span><del>-FAIL createDocument test 54: metadata for "http://example.com/","_:h0",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 54: metadata for "http://example.com/","_:h0",null
</ins><span class="cx"> FAIL createDocument test 54: characterSet aliases for "http://example.com/","_:h0",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 55: "http://example.com/","_:test",null,null
</span><del>-FAIL createDocument test 55: metadata for "http://example.com/","_:test",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 55: metadata for "http://example.com/","_:test",null
</ins><span class="cx"> FAIL createDocument test 55: characterSet aliases for "http://example.com/","_:test",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 56: "http://example.com/","l_:_",null,null
</span><del>-FAIL createDocument test 56: metadata for "http://example.com/","l_:_",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 56: metadata for "http://example.com/","l_:_",null
</ins><span class="cx"> FAIL createDocument test 56: characterSet aliases for "http://example.com/","l_:_",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 57: "http://example.com/","ns:_0",null,null
</span><del>-FAIL createDocument test 57: metadata for "http://example.com/","ns:_0",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 57: metadata for "http://example.com/","ns:_0",null
</ins><span class="cx"> FAIL createDocument test 57: characterSet aliases for "http://example.com/","ns:_0",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 58: "http://example.com/","ns:a0",null,null
</span><del>-FAIL createDocument test 58: metadata for "http://example.com/","ns:a0",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 58: metadata for "http://example.com/","ns:a0",null
</ins><span class="cx"> FAIL createDocument test 58: characterSet aliases for "http://example.com/","ns:a0",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 59: "http://example.com/","ns0:test",null,null
</span><del>-FAIL createDocument test 59: metadata for "http://example.com/","ns0:test",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 59: metadata for "http://example.com/","ns0:test",null
</ins><span class="cx"> FAIL createDocument test 59: characterSet aliases for "http://example.com/","ns0:test",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 60: "http://example.com/","a.b:c",null,null
</span><del>-FAIL createDocument test 60: metadata for "http://example.com/","a.b:c",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 60: metadata for "http://example.com/","a.b:c",null
</ins><span class="cx"> FAIL createDocument test 60: characterSet aliases for "http://example.com/","a.b:c",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 61: "http://example.com/","a-b:c",null,null
</span><del>-FAIL createDocument test 61: metadata for "http://example.com/","a-b:c",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 61: metadata for "http://example.com/","a-b:c",null
</ins><span class="cx"> FAIL createDocument test 61: characterSet aliases for "http://example.com/","a-b:c",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 62: "http://example.com/","a-b:c",null,null
</span><del>-FAIL createDocument test 62: metadata for "http://example.com/","a-b:c",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 62: metadata for "http://example.com/","a-b:c",null
</ins><span class="cx"> FAIL createDocument test 62: characterSet aliases for "http://example.com/","a-b:c",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 63: "http://example.com/","xml",null,null
</span><del>-FAIL createDocument test 63: metadata for "http://example.com/","xml",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 63: metadata for "http://example.com/","xml",null
</ins><span class="cx"> FAIL createDocument test 63: characterSet aliases for "http://example.com/","xml",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 64: "http://example.com/","xmlns",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 65: "http://example.com/","XMLNS",null,null
</span><del>-FAIL createDocument test 65: metadata for "http://example.com/","XMLNS",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 65: metadata for "http://example.com/","XMLNS",null
</ins><span class="cx"> FAIL createDocument test 65: characterSet aliases for "http://example.com/","XMLNS",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 66: "http://example.com/","xmlfoo",null,null
</span><del>-FAIL createDocument test 66: metadata for "http://example.com/","xmlfoo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 66: metadata for "http://example.com/","xmlfoo",null
</ins><span class="cx"> FAIL createDocument test 66: characterSet aliases for "http://example.com/","xmlfoo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 67: "http://example.com/","xml:foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 68: "http://example.com/","XML:foo",null,null
</span><del>-FAIL createDocument test 68: metadata for "http://example.com/","XML:foo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 68: metadata for "http://example.com/","XML:foo",null
</ins><span class="cx"> FAIL createDocument test 68: characterSet aliases for "http://example.com/","XML:foo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 69: "http://example.com/","xmlns:foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 70: "http://example.com/","XMLNS:foo",null,null
</span><del>-FAIL createDocument test 70: metadata for "http://example.com/","XMLNS:foo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 70: metadata for "http://example.com/","XMLNS:foo",null
</ins><span class="cx"> FAIL createDocument test 70: characterSet aliases for "http://example.com/","XMLNS:foo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 71: "http://example.com/","xmlfoo:bar",null,null
</span><del>-FAIL createDocument test 71: metadata for "http://example.com/","xmlfoo:bar",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 71: metadata for "http://example.com/","xmlfoo:bar",null
</ins><span class="cx"> FAIL createDocument test 71: characterSet aliases for "http://example.com/","xmlfoo:bar",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 72: "http://example.com/","prefix::local",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 73: "http://example.com/","namespaceURI:{",null,"INVALID_CHARACTER_ERR"
</span><span class="lines">@@ -165,60 +165,60 @@
</span><span class="cx"> PASS createDocument test 98: "http://example.com/","namespaceURI:a ",null,"INVALID_CHARACTER_ERR"
</span><span class="cx"> PASS createDocument test 99: "http://example.com/","namespaceURI:\"",null,"INVALID_CHARACTER_ERR"
</span><span class="cx"> PASS createDocument test 100: "/","foo",null,null
</span><del>-FAIL createDocument test 100: metadata for "/","foo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 100: metadata for "/","foo",null
</ins><span class="cx"> FAIL createDocument test 100: characterSet aliases for "/","foo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 101: "/","1foo",null,"INVALID_CHARACTER_ERR"
</span><span class="cx"> PASS createDocument test 102: "/","f1oo",null,null
</span><del>-FAIL createDocument test 102: metadata for "/","f1oo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 102: metadata for "/","f1oo",null
</ins><span class="cx"> FAIL createDocument test 102: characterSet aliases for "/","f1oo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 103: "/","foo1",null,null
</span><del>-FAIL createDocument test 103: metadata for "/","foo1",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 103: metadata for "/","foo1",null
</ins><span class="cx"> FAIL createDocument test 103: characterSet aliases for "/","foo1",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 104: "/",":foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 105: "/","f:oo",null,null
</span><del>-FAIL createDocument test 105: metadata for "/","f:oo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 105: metadata for "/","f:oo",null
</ins><span class="cx"> FAIL createDocument test 105: characterSet aliases for "/","f:oo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 106: "/","foo:",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 107: "/","xml",null,null
</span><del>-FAIL createDocument test 107: metadata for "/","xml",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 107: metadata for "/","xml",null
</ins><span class="cx"> FAIL createDocument test 107: characterSet aliases for "/","xml",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 108: "/","xmlns",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 109: "/","xmlfoo",null,null
</span><del>-FAIL createDocument test 109: metadata for "/","xmlfoo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 109: metadata for "/","xmlfoo",null
</ins><span class="cx"> FAIL createDocument test 109: characterSet aliases for "/","xmlfoo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 110: "/","xml:foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 111: "/","xmlns:foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 112: "/","xmlfoo:bar",null,null
</span><del>-FAIL createDocument test 112: metadata for "/","xmlfoo:bar",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 112: metadata for "/","xmlfoo:bar",null
</ins><span class="cx"> FAIL createDocument test 112: characterSet aliases for "/","xmlfoo:bar",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 113: "http://www.w3.org/XML/1998/namespace","foo",null,null
</span><del>-FAIL createDocument test 113: metadata for "http://www.w3.org/XML/1998/namespace","foo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 113: metadata for "http://www.w3.org/XML/1998/namespace","foo",null
</ins><span class="cx"> FAIL createDocument test 113: characterSet aliases for "http://www.w3.org/XML/1998/namespace","foo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 114: "http://www.w3.org/XML/1998/namespace","1foo",null,"INVALID_CHARACTER_ERR"
</span><span class="cx"> PASS createDocument test 115: "http://www.w3.org/XML/1998/namespace","f1oo",null,null
</span><del>-FAIL createDocument test 115: metadata for "http://www.w3.org/XML/1998/namespace","f1oo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 115: metadata for "http://www.w3.org/XML/1998/namespace","f1oo",null
</ins><span class="cx"> FAIL createDocument test 115: characterSet aliases for "http://www.w3.org/XML/1998/namespace","f1oo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 116: "http://www.w3.org/XML/1998/namespace","foo1",null,null
</span><del>-FAIL createDocument test 116: metadata for "http://www.w3.org/XML/1998/namespace","foo1",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 116: metadata for "http://www.w3.org/XML/1998/namespace","foo1",null
</ins><span class="cx"> FAIL createDocument test 116: characterSet aliases for "http://www.w3.org/XML/1998/namespace","foo1",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 117: "http://www.w3.org/XML/1998/namespace",":foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 118: "http://www.w3.org/XML/1998/namespace","f:oo",null,null
</span><del>-FAIL createDocument test 118: metadata for "http://www.w3.org/XML/1998/namespace","f:oo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 118: metadata for "http://www.w3.org/XML/1998/namespace","f:oo",null
</ins><span class="cx"> FAIL createDocument test 118: characterSet aliases for "http://www.w3.org/XML/1998/namespace","f:oo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 119: "http://www.w3.org/XML/1998/namespace","foo:",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 120: "http://www.w3.org/XML/1998/namespace","xml",null,null
</span><del>-FAIL createDocument test 120: metadata for "http://www.w3.org/XML/1998/namespace","xml",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 120: metadata for "http://www.w3.org/XML/1998/namespace","xml",null
</ins><span class="cx"> FAIL createDocument test 120: characterSet aliases for "http://www.w3.org/XML/1998/namespace","xml",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 121: "http://www.w3.org/XML/1998/namespace","xmlns",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 122: "http://www.w3.org/XML/1998/namespace","xmlfoo",null,null
</span><del>-FAIL createDocument test 122: metadata for "http://www.w3.org/XML/1998/namespace","xmlfoo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 122: metadata for "http://www.w3.org/XML/1998/namespace","xmlfoo",null
</ins><span class="cx"> FAIL createDocument test 122: characterSet aliases for "http://www.w3.org/XML/1998/namespace","xmlfoo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 123: "http://www.w3.org/XML/1998/namespace","xml:foo",null,null
</span><del>-FAIL createDocument test 123: metadata for "http://www.w3.org/XML/1998/namespace","xml:foo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 123: metadata for "http://www.w3.org/XML/1998/namespace","xml:foo",null
</ins><span class="cx"> FAIL createDocument test 123: characterSet aliases for "http://www.w3.org/XML/1998/namespace","xml:foo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 124: "http://www.w3.org/XML/1998/namespace","xmlns:foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 125: "http://www.w3.org/XML/1998/namespace","xmlfoo:bar",null,null
</span><del>-FAIL createDocument test 125: metadata for "http://www.w3.org/XML/1998/namespace","xmlfoo:bar",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 125: metadata for "http://www.w3.org/XML/1998/namespace","xmlfoo:bar",null
</ins><span class="cx"> FAIL createDocument test 125: characterSet aliases for "http://www.w3.org/XML/1998/namespace","xmlfoo:bar",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 126: "http://www.w3.org/XML/1998/namespaces","xml:foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 127: "http://www.w3.org/xml/1998/namespace","xml:foo",null,"NAMESPACE_ERR"
</span><span class="lines">@@ -231,110 +231,110 @@
</span><span class="cx"> PASS createDocument test 134: "http://www.w3.org/2000/xmlns/","foo:",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 135: "http://www.w3.org/2000/xmlns/","xml",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 136: "http://www.w3.org/2000/xmlns/","xmlns",null,null
</span><del>-FAIL createDocument test 136: metadata for "http://www.w3.org/2000/xmlns/","xmlns",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 136: metadata for "http://www.w3.org/2000/xmlns/","xmlns",null
</ins><span class="cx"> FAIL createDocument test 136: characterSet aliases for "http://www.w3.org/2000/xmlns/","xmlns",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 137: "http://www.w3.org/2000/xmlns/","xmlfoo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 138: "http://www.w3.org/2000/xmlns/","xml:foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 139: "http://www.w3.org/2000/xmlns/","xmlns:foo",null,null
</span><del>-FAIL createDocument test 139: metadata for "http://www.w3.org/2000/xmlns/","xmlns:foo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 139: metadata for "http://www.w3.org/2000/xmlns/","xmlns:foo",null
</ins><span class="cx"> FAIL createDocument test 139: characterSet aliases for "http://www.w3.org/2000/xmlns/","xmlns:foo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 140: "http://www.w3.org/2000/xmlns/","xmlfoo:bar",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 141: "http://www.w3.org/2000/xmlns/","foo:xmlns",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 142: "foo:","foo",null,null
</span><del>-FAIL createDocument test 142: metadata for "foo:","foo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 142: metadata for "foo:","foo",null
</ins><span class="cx"> FAIL createDocument test 142: characterSet aliases for "foo:","foo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 143: "foo:","1foo",null,"INVALID_CHARACTER_ERR"
</span><span class="cx"> PASS createDocument test 144: "foo:","f1oo",null,null
</span><del>-FAIL createDocument test 144: metadata for "foo:","f1oo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 144: metadata for "foo:","f1oo",null
</ins><span class="cx"> FAIL createDocument test 144: characterSet aliases for "foo:","f1oo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 145: "foo:","foo1",null,null
</span><del>-FAIL createDocument test 145: metadata for "foo:","foo1",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 145: metadata for "foo:","foo1",null
</ins><span class="cx"> FAIL createDocument test 145: characterSet aliases for "foo:","foo1",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 146: "foo:",":foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 147: "foo:","f:oo",null,null
</span><del>-FAIL createDocument test 147: metadata for "foo:","f:oo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 147: metadata for "foo:","f:oo",null
</ins><span class="cx"> FAIL createDocument test 147: characterSet aliases for "foo:","f:oo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 148: "foo:","foo:",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 149: "foo:","xml",null,null
</span><del>-FAIL createDocument test 149: metadata for "foo:","xml",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 149: metadata for "foo:","xml",null
</ins><span class="cx"> FAIL createDocument test 149: characterSet aliases for "foo:","xml",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 150: "foo:","xmlns",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 151: "foo:","xmlfoo",null,null
</span><del>-FAIL createDocument test 151: metadata for "foo:","xmlfoo",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 151: metadata for "foo:","xmlfoo",null
</ins><span class="cx"> FAIL createDocument test 151: characterSet aliases for "foo:","xmlfoo",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 152: "foo:","xml:foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 153: "foo:","xmlns:foo",null,"NAMESPACE_ERR"
</span><span class="cx"> PASS createDocument test 154: "foo:","xmlfoo:bar",null,null
</span><del>-FAIL createDocument test 154: metadata for "foo:","xmlfoo:bar",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 154: metadata for "foo:","xmlfoo:bar",null
</ins><span class="cx"> FAIL createDocument test 154: characterSet aliases for "foo:","xmlfoo:bar",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> FAIL createDocument test 155: null,null,false,object "TypeError" assert_throws: function "function () { document.implementation.createDocument(name..." 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 "about:blank" but got ""
</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) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 157: null,"",null,null
</span><del>-FAIL createDocument test 157: metadata for null,"",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 157: metadata for null,"",null
</ins><span class="cx"> FAIL createDocument test 157: characterSet aliases for null,"",null assert_equals: charset expected (string) "UTF-8" 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 "about:blank" but got ""
</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) "UTF-8" 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 "about:blank" but got ""
</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) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 160: undefined,"",undefined,null
</span><del>-FAIL createDocument test 160: metadata for undefined,"",undefined assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 160: metadata for undefined,"",undefined
</ins><span class="cx"> FAIL createDocument test 160: characterSet aliases for undefined,"",undefined assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 161: "http://example.com/",null,null,null
</span><del>-FAIL createDocument test 161: metadata for "http://example.com/",null,null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 161: metadata for "http://example.com/",null,null
</ins><span class="cx"> FAIL createDocument test 161: characterSet aliases for "http://example.com/",null,null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 162: "http://example.com/","",null,null
</span><del>-FAIL createDocument test 162: metadata for "http://example.com/","",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 162: metadata for "http://example.com/","",null
</ins><span class="cx"> FAIL createDocument test 162: characterSet aliases for "http://example.com/","",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 163: "/",null,null,null
</span><del>-FAIL createDocument test 163: metadata for "/",null,null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 163: metadata for "/",null,null
</ins><span class="cx"> FAIL createDocument test 163: characterSet aliases for "/",null,null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 164: "/","",null,null
</span><del>-FAIL createDocument test 164: metadata for "/","",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 164: metadata for "/","",null
</ins><span class="cx"> FAIL createDocument test 164: characterSet aliases for "/","",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 165: "http://www.w3.org/XML/1998/namespace",null,null,null
</span><del>-FAIL createDocument test 165: metadata for "http://www.w3.org/XML/1998/namespace",null,null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 165: metadata for "http://www.w3.org/XML/1998/namespace",null,null
</ins><span class="cx"> FAIL createDocument test 165: characterSet aliases for "http://www.w3.org/XML/1998/namespace",null,null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 166: "http://www.w3.org/XML/1998/namespace","",null,null
</span><del>-FAIL createDocument test 166: metadata for "http://www.w3.org/XML/1998/namespace","",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 166: metadata for "http://www.w3.org/XML/1998/namespace","",null
</ins><span class="cx"> FAIL createDocument test 166: characterSet aliases for "http://www.w3.org/XML/1998/namespace","",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 167: "http://www.w3.org/2000/xmlns/",null,null,null
</span><del>-FAIL createDocument test 167: metadata for "http://www.w3.org/2000/xmlns/",null,null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 167: metadata for "http://www.w3.org/2000/xmlns/",null,null
</ins><span class="cx"> FAIL createDocument test 167: characterSet aliases for "http://www.w3.org/2000/xmlns/",null,null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 168: "http://www.w3.org/2000/xmlns/","",null,null
</span><del>-FAIL createDocument test 168: metadata for "http://www.w3.org/2000/xmlns/","",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 168: metadata for "http://www.w3.org/2000/xmlns/","",null
</ins><span class="cx"> FAIL createDocument test 168: characterSet aliases for "http://www.w3.org/2000/xmlns/","",null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 169: "foo:",null,null,null
</span><del>-FAIL createDocument test 169: metadata for "foo:",null,null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 169: metadata for "foo:",null,null
</ins><span class="cx"> FAIL createDocument test 169: characterSet aliases for "foo:",null,null assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 170: "foo:","",null,null
</span><del>-FAIL createDocument test 170: metadata for "foo:","",null assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 170: metadata for "foo:","",null
</ins><span class="cx"> FAIL createDocument test 170: characterSet aliases for "foo:","",null assert_equals: charset expected (string) "UTF-8" 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 "about:blank" but got ""
</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) "UTF-8" 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 "about:blank" but got ""
</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) "UTF-8" 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 "about:blank" but got ""
</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) "UTF-8" 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 "about:blank" but got ""
</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) "UTF-8" 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 "about:blank" but got ""
</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) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 176: null,"foo",DocumentType node,null
</span><del>-FAIL createDocument test 176: metadata for null,"foo",DocumentType node assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 176: metadata for null,"foo",DocumentType node
</ins><span class="cx"> FAIL createDocument test 176: characterSet aliases for null,"foo",DocumentType node assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 177: "foo",null,DocumentType node,null
</span><del>-FAIL createDocument test 177: metadata for "foo",null,DocumentType node assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 177: metadata for "foo",null,DocumentType node
</ins><span class="cx"> FAIL createDocument test 177: characterSet aliases for "foo",null,DocumentType node assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> PASS createDocument test 178: "foo","bar",DocumentType node,null
</span><del>-FAIL createDocument test 178: metadata for "foo","bar",DocumentType node assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createDocument test 178: metadata for "foo","bar",DocumentType node
</ins><span class="cx"> FAIL createDocument test 178: characterSet aliases for "foo","bar",DocumentType node assert_equals: charset expected (string) "UTF-8" 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: "foo\f\fbar baz","foo\f\fbar baz","foo bar baz"
</span><span class="cx"> PASS createHTMLDocument test 7: "foo\r\rbar baz","foo\r\rbar baz","foo bar baz"
</span><span class="cx"> PASS Missing title argument
</span><del>-FAIL createHTMLDocument(): metadata assert_equals: expected "about:blank" but got ""
</del><ins>+PASS createHTMLDocument(): metadata
</ins><span class="cx"> FAIL createHTMLDocument(): characterSet aliases assert_equals: charset expected (string) "UTF-8" 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 "about:blank" but got ""
</del><ins>+PASS new Document(): metadata
</ins><span class="cx"> FAIL new Document(): characterSet aliases assert_equals: charset expected (string) "UTF-8" but got (undefined) undefined
</span><span class="cx"> FAIL new Document(): URL parsing assert_equals: expected "http://example.org/?%C3%A4" but got "http://example.org/?ä"
</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 "about:blank" but got ""
</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) "about:blank" 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) "UTF-8" 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 "about:blank" but got ""
</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) "about:blank" 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) "UTF-8" 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, "", null) with too few arguments must throw TypeError assert_inherits: property "load" not found in prototype chain
</span><span class="cx"> PASS Document interface: document.implementation.createDocument(null, "", null) must inherit property "implementation" with the proper type (0)
</span><span class="cx"> PASS Document interface: document.implementation.createDocument(null, "", null) must inherit property "URL" with the proper type (1)
</span><del>-FAIL Document interface: document.implementation.createDocument(null, "", null) must inherit property "documentURI" with the proper type (2) assert_equals: expected "string" but got "object"
</del><ins>+PASS Document interface: document.implementation.createDocument(null, "", null) must inherit property "documentURI" with the proper type (2)
</ins><span class="cx"> PASS Document interface: document.implementation.createDocument(null, "", null) must inherit property "origin" with the proper type (3)
</span><span class="cx"> PASS Document interface: document.implementation.createDocument(null, "", null) must inherit property "compatMode" with the proper type (4)
</span><span class="cx"> PASS Document interface: document.implementation.createDocument(null, "", null) must inherit property "characterSet" 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 <cdumez@apple.com>
+
+ Document.URL / Document.documentURI should return "about:blank" instead of empty string / null
+ https://bugs.webkit.org/show_bug.cgi?id=153363
+ <rdar://problem/22549736>
+
+ Reviewed by Ryosuke Niwa.
+
+ Document.URL / Document.documentURI should return "about:blank" 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 <bfulgham@apple.com>
</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& url() const override final { return m_url; }
</span><span class="cx"> void setURL(const URL&);
</span><ins>+ const URL& 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>