- From: Philippe Le Hegaret <plh@w3.org>
- Date: Mon, 16 May 2005 15:29:33 -0400
- To: Harri Porten <porten@kde.org>
- Cc: www-dom@w3.org
Received on Monday, 16 May 2005 19:31:16 UTC
On Sun, 2005-05-15 at 03:14 +0200, Harri Porten wrote: > Hello, > > I'm currently investigating some null vs. empty string issue in > Konqueror's DOM implementation and its ECMAScript bindings. From reading > the spec I can't really see a clear line and have to rely on an > trial&error approach by comparing the results to other implementations. > > I'd like to pick one example and kindly ask for some feedback on how to > treat this issue: The "domain" property of HTMLDocument is specified as > > "The domain name of the server that served the document, or null if the > server cannot be identified by a domain name." > > When would this ever null? If the document is located under a file:// URL > for example? This would be my reading of the specification. > None of the ECMAScript bindings I tested ever returns null, > though. Even the DOM TS tests for "" instead of the null ECMAScript value > in HTMLDocument03.html. I guess this should be marked as a possible erratum, and we need to check implementations for consistency. Philippe
Received on Monday, 16 May 2005 19:31:16 UTC