Node.isDefaultNamespace('') and Node.isDefaultNamespcae(null) can return different values although DOM3 Core says "In programming languages where empty strings can be differentiated from null, empty strings, when given as a namespace URI, are converted to null." http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#Namespaces-Considerations To reproduce, execute the following JavaScript code: document.implementation.createDocument(null, 'root', null).isDefaultNamespace('') Expected: true Actual: false Confirmed on WebKit-r50095
Created attachment 42284 [details] proposed fix And I thought we already fixed all of those..
Committed <http://trac.webkit.org/changeset/50396>.
Mass moving XML DOM bugs to the "DOM" Component.