[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
mjs
mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:18:33 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit e98408ff0177ccc55eecc49fe705ac4c9e307e15
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Dec 12 01:54:56 2003 +0000
Reviewed by Darin.
<rdar://problem/3464315>: createDocument creates document with initial child element, unlike other browsers
* khtml/xml/dom_docimpl.cpp:
(DOMImplementationImpl::createDocument): Don;t add initial element.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5776 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index f19f4b2..7bc38fb 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,14 @@
2003-12-11 Maciej Stachowiak <mjs at apple.com>
+ Reviewed by Darin.
+
+ <rdar://problem/3464315>: createDocument creates document with initial child element, unlike other browsers
+
+ * khtml/xml/dom_docimpl.cpp:
+ (DOMImplementationImpl::createDocument): Don;t add initial element.
+
+2003-12-11 Maciej Stachowiak <mjs at apple.com>
+
Reviewed by Darin.
<rdar://problem/3507863>: XMLHttpRequest should not parse response if HTML
diff --git a/WebCore/khtml/xml/dom_docimpl.cpp b/WebCore/khtml/xml/dom_docimpl.cpp
index fd72d06..d81ebd8 100644
--- a/WebCore/khtml/xml/dom_docimpl.cpp
+++ b/WebCore/khtml/xml/dom_docimpl.cpp
@@ -185,15 +185,6 @@ DocumentImpl *DOMImplementationImpl::createDocument( const DOMString &namespaceU
if (doc->doctype() && dtype)
doc->doctype()->copyFrom(*dtype);
- ElementImpl *element = doc->createElementNS(namespaceURI,qualifiedName,exceptioncode);
- if (element)
- doc->appendChild(element,exceptioncode);
- if (exceptioncode) {
- delete element;
- delete doc;
- return 0;
- }
-
return doc;
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list