Options:
- # Session Start: Sat Dec 29 00:00:01 2007
- # Session Ident: #whatwg
- # [00:06] * Joins: jdandrea (n=jdandrea@ool-44c0a1fe.dyn.optonline.net)
- # [00:16] * Joins: weinig (n=weinig@17.203.15.140)
- # [00:32] * Quits: gsnedders (n=gsnedder@host86-138-198-209.range86-138.btcentralplus.com) ("Partying in teh intarwebs")
- # [00:55] * Quits: jdandrea (n=jdandrea@ool-44c0a1fe.dyn.optonline.net)
- # [00:57] * Joins: psa (n=yomode@71.93.19.66)
- # [01:09] * Quits: nickshanks (n=nickshan@cpc2-clif1-0-0-cust535.nott.cable.ntl.com)
- # [01:19] * Joins: jdandrea (n=jdandrea@ool-44c0a1fe.dyn.optonline.net)
- # [01:39] * Quits: dbaron (n=dbaron@pool-72-94-185-124.phlapa.fios.verizon.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [01:47] * Quits: MacDome (n=eric@c-24-118-60-240.hsd1.mn.comcast.net)
- # [01:49] * Joins: MacDome (n=eric@c-24-118-60-240.hsd1.mn.comcast.net)
- # [01:58] <heycam> hi people. are there ecmascript objects that stringify in non-default ways, apart from window.location and window.getSelection()?
- # [01:59] <MacDome> one can always override toString...
- # [02:00] <heycam> yeah. i'm wondering what other (host) objects do that. (or perhaps stringify in a different way, e.g. by having a different [[DefaultValue]] method.)
- # [02:14] <othermaciej> heycam: in WebKit, Range and HTMLAnchorElement also have custom toString methods (though not sure if that is necessary or correct)
- # [02:15] <othermaciej> javascript:alert(document.links[0]) on most pages will show the result
- # [02:15] <heycam> ok, thanks
- # [02:18] <othermaciej> heycam: looks like Mozilla does at least the HTMLAnchorElement one as well (serializing as its own href)
- # [02:18] <heycam> yeah i just noticed. maybe the spec should say something?
- # [02:18] <othermaciej> heycam: it's also possible that there are more classes in WebKit which serialize in a custom way, but do it too obscurely for my simple search to find
- # [02:19] <othermaciej> (I found Selection, Location, Range and HTMLAnchorElement)
- # [02:19] <heycam> (ie7 also does the HTMLAnchorElement thing)
- # [02:20] <othermaciej> I suspect serializing anchors that way is needed for compatibility, so yes, HTML5 should probably say something
- # [02:24] * Quits: jdandrea (n=jdandrea@ool-44c0a1fe.dyn.optonline.net)
- # [02:26] <gavin__> Gecko appears to have custom toStrings for HTMLAnchorElements and HTMLAreaElements, Range, Selection
- # [02:27] <gavin__> and some CSSOM related objects that I don't really know about
- # [02:27] <gavin__> othermaciej's caveat applies
- # [02:28] <heycam> thanks gavin__
- # [02:28] <gavin__> I didn't find Location because its magical, for example
- # [02:28] <heycam> how's the magic implemented there?
- # [02:28] * weinig is now known as weinig|away
- # [02:28] <gavin__> well it's magic for reasons other than having a custom tostring
- # [02:29] <heycam> ah
- # [02:29] <gavin__> oh, actually I'm wrong
- # [02:29] <gavin__> I just missed it
- # [02:29] <gavin__> http://lxr.mozilla.org/seamonkey/source/dom/src/base/nsLocation.cpp#979
- # [02:30] * heycam wonders if [[DefaultValue]] is ever overridden in imlementations
- # [02:31] * gavin__ is now known as gavin_
- # [02:31] * gavin_ is now known as gavin
- # [02:32] * gavins is now known as gavin_
- # [02:37] * Quits: MacDome (n=eric@c-24-118-60-240.hsd1.mn.comcast.net)
- # [02:40] * Joins: MacDome (n=eric@c-24-118-60-240.hsd1.mn.comcast.net)
- # [02:40] * Quits: MacDome (n=eric@c-24-118-60-240.hsd1.mn.comcast.net) (Remote closed the connection)
- # [02:47] * weinig|away is now known as weinig
- # [02:52] * Joins: MacDome (n=eric@c-24-118-60-240.hsd1.mn.comcast.net)
- # [03:13] * MacDome is now known as MacDomeAFK
- # [03:24] * Quits: webben (n=benh@82.152.123.69)
- # [03:34] * Quits: jgraham (n=james@cpc1-flee2-0-0-cust327.glfd.cable.ntl.com) (Read error: 110 (Connection timed out))
- # [03:38] * MacDomeAFK is now known as MacDome
- # [03:41] * Quits: tndH (i=Rob@83.100.183.125) ("ChatZilla 0.9.79-rdmsoft [XULRunner 1.8.0.9/2006120508]")
- # [04:13] * Joins: jdandrea (n=jdandrea@ool-44c0a1fe.dyn.optonline.net)
- # [04:26] * Quits: MacDome (n=eric@c-24-118-60-240.hsd1.mn.comcast.net)
- # [04:30] <Hixie> ok now IE is just TRYING to fail these tests
- # [04:30] <Hixie> i finally found something that EVERY BROWSER EXCEPT IE failed
- # [04:31] <Hixie> and i added it to acid3
- # [04:31] <Hixie> and now it fails in IE, because IE handles code in eval() differently from code in a js block
- # [04:31] <Hixie> so IE still fails every test
- # [04:31] <Hixie> EVEN THE ONES I ADDED SPECIFICALLY TO GIVE IT A NON-ZERO STARTING SCORE
- # [04:32] <hober> heh
- # [04:38] * Joins: MacDome (n=eric@c-24-118-60-240.hsd1.mn.comcast.net)
- # [04:42] * Quits: wakaba (n=w@77.137.148.210.dy.bbexcite.jp) ("CHOCOA")
- # [04:47] * Quits: MacDome (n=eric@c-24-118-60-240.hsd1.mn.comcast.net)
- # [04:48] * Joins: wakaba (n=w@77.137.148.210.dy.bbexcite.jp)
- # [04:51] * Joins: MacDome (n=eric@c-24-118-60-240.hsd1.mn.comcast.net)
- # [04:53] * Parts: jdandrea (n=jdandrea@ool-44c0a1fe.dyn.optonline.net)
- # [04:59] * Quits: weinig (n=weinig@17.203.15.140)
- # [05:30] * Joins: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [05:34] <othermaciej> Hixie: code in eval() is supposed to be treated differently from code in a JS block in some ways
- # [05:34] <MacDome> sadly Acid3 seems to have borked again... oh well
- # [05:34] <MacDome> and we're now 92%!
- # [05:34] <MacDome> huaazh
- # [05:53] <Hixie> othermaciej: different how?
- # [06:02] * Joins: weinig_ (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [06:02] * Quits: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [06:06] * weinig_ is now known as weinig
- # [06:42] * Joins: doublec (n=Chris_Do@203-97-173-6.cable.telstraclear.net)
- # [07:01] <MacDome> Hixie: sadly the HMTL5 spec does not support your form.elements.length == form.elements testcase. http://bugs.webkit.org/show_bug.cgi?id=16656
- # [07:01] <MacDome> unless I missed something in my reading thereof
- # [07:02] <Hixie> FIXED
- # [07:02] <Hixie> er
- # [07:02] <Hixie> fixed
- # [07:02] <Hixie> that was a typo
- # [07:02] <Hixie> i meant to test form.elements.length against form.length
- # [07:20] * Quits: digx (n=rick@c-76-109-201-140.hsd1.fl.comcast.net)
- # [07:37] <MacDome> Hixie: oh good. well, I just sent an email about it :)
- # [07:37] <MacDome> Hixie: said email contained a list of all WebKit bugs re: Acid3
- # [07:37] <MacDome> which I imagine you will find interesting :)
- # [07:37] <Hixie> cool
- # [07:38] * MacDome goes to look at why the latest Acid3 file causes webkit to fail completely
- # [07:38] <MacDome> ah, it's fixed again, good
- # [07:38] <MacDome> except now we're 88% instead of 91% :(
- # [07:40] <Hixie> teehee
- # [07:40] <Hixie> do you know of any bugs in safari or mozilla that i should test?
- # [07:41] <MacDome> well, XHTML support is riddled w/ bugs :)
- # [07:41] <MacDome> embedding bugs are a big deal for me
- # [07:41] <MacDome> Hixie: I really think the test could benefit from using something like these: http://trac.webkit.org/projects/webkit/browser/trunk/LayoutTests/fast/js/resources/js-test-pre.js
- # [07:41] <Hixie> i mean DOM or JS things
- # [07:41] <MacDome> for making it easier to debug
- # [07:42] <MacDome> Hixie: I'll think about it next time I'm sorting through old bugs
- # [07:42] <Hixie> you mean reporting something more than the test number?
- # [07:42] <Hixie> i'm not sure exactly what one would need to report
- # [07:42] <MacDome> Hixie: breaking the ifs down into single tests
- # [07:43] <MacDome> instead of if (foo || bar || baz) fail!
- # [07:43] <MacDome> it could be
- # [07:43] <MacDome> assert(!foo);
- # [07:43] <MacDome> assert(!bar)
- # [07:43] <MacDome> etc
- # [07:43] <Hixie> and have assert thrown an exception or something?
- # [07:43] <Hixie> i could i guess
- # [07:43] <MacDome> sure
- # [07:43] <MacDome> and then the wrapper could catch it
- # [07:43] <Hixie> seems tdious
- # [07:43] <MacDome> it would certainly make debugging easier. to have things be single-line. but maybe it's not worth it
- # [07:44] <MacDome> it could throw an exception containing the assertion text.
- # [07:44] <MacDome> which would allow you to report things better
- # [07:44] <Hixie> then only the first bit that fails would be run
- # [07:44] <MacDome> but again, maybe not worth it
- # [07:44] <Hixie> but i guess that's ok
- # [07:45] <Hixie> (of each test)
- # [07:45] <MacDome> well, you obviously have lots of time to play with differnet methods for differnet tests
- # [07:46] <MacDome> perhaps you'll find one you like better than the current
- # [07:46] <MacDome> from a debugging standpoint, watching for when "ok" turns false, and then checking each part of an if () clause can be a bit tedius
- # [07:46] <Hixie> true
- # [07:46] * MacDome goes back to debugging the latest build
- # [07:49] <Hixie> how do i distinguish a DOMException object from a string thrown by 'throw' in a spec-compliant way that works in IE?
- # [07:50] <MacDome> Hixie: ha! it looks like test 56 is impossible to pass. You never set ok to true! :)
- # [07:51] * MacDome assumes he meant to initialize ok to true
- # [07:51] <Hixie> fixed
- # [07:51] <MacDome> Hixie++ # for testing reserved words!
- # [07:51] <MacDome> Hixie: that was one thing I *really* wanted to see moz fix
- # [07:52] <Hixie> any others?
- # [07:52] <MacDome> or rather.. to see all browsers agree on
- # [07:52] <Hixie> i have no idea how to handle this exception thing
- # [07:52] <MacDome> Hixie: can't you grab the prototype off of an object in IE?
- # [07:52] <MacDome> Hixie: or maybe .toNumber() the exception?
- # [07:53] <Hixie> is there a spec that guarantees either of those do anything sane for DOMException? (specifically, a spec that was in CR or better in 2004)
- # [07:54] <Hixie> i'll just throw an object with a 'message' property
- # [07:54] <Hixie> that works everywhere
- # [07:55] <Hixie> i'm amused that test 85 is the only test ie can pass
- # [07:55] <Hixie> i'm not especially targetting IE either
- # [07:55] <Hixie> i'm really only worrying about mozilla and safari bugs, by and large
- # [07:56] <Hixie> (except for things other people have told me to test)
- # [07:56] <Hixie> (like ie's attribute mess)
- # [07:56] <MacDome> Hixie: it woudl appear that the 30s are misnumbered in comment
- # [07:56] <MacDome> it says we fail "39" but according to the comments there is no 39 :)
- # [07:57] * MacDome goes to look at the DOMException spec
- # [07:58] <MacDome> what the hell is an "exception" instead of an "interface" in idl
- # [07:59] <Hixie> how is there no 39
- # [08:00] * MacDome reads http://www.w3.org/TR/DOM-Bindings/#idl-exceptions
- # [08:01] <MacDome> Hixie: so is e.code accessible within IE?
- # [08:02] <othermaciej> Hixie: maybe not the difference you noticed, but there are some intended behavior differences for eval code, for example "var" declarations create bindings that are *not* DontDelete under eval
- # [08:02] <Hixie> MacDome: that's one of the things i test i believe
- # [08:02] <Hixie> othermaciej: ah
- # [08:02] <Hixie> othermaciej: is that in the spec?
- # [08:03] <MacDome> Hixie: you were just asking for ways to identify DOMExceptions, I had assumed you were looking to replace the e.HIERARCHY_.... check
- # [08:03] <MacDome> which fails in Safari and seems to disagree w/ the spec
- # [08:03] <othermaciej> Hixie: some differences are spec'd here: http://bclary.com/2004/11/07/#a-10.2.2
- # [08:04] <MacDome> interesting. IE always makes .constructor DontEnum
- # [08:05] <MacDome> even if it might be
- # [08:05] <othermaciej> Hixie: ah, in fact that section includes the difference I mentioned
- # [08:05] <Hixie> MacDome: no, i was looking for ways to change the framework to handle custom exceptions. i cheated instead.
- # [08:05] <Hixie> othermaciej: cool
- # [08:05] <MacDome> Hixie: I wonder if you can grab at e.constructor and check to see if it's a DOMException that way... I'm not actually sure what e.constructor will get you, othermaciej would probably know
- # [08:06] <Hixie> i can only rely on things that either work 100% reliably from DOM Level 0, or things that were in specs at CR or later in 2004
- # [08:06] <Hixie> DOM Bindings wasn't even close to either
- # [08:07] <MacDome> november 2000: http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-17189187 ?
- # [08:07] <Hixie> MacDome: where's the ".constructor" part of that?
- # [08:07] <MacDome> I was thinking .constructor was on Object
- # [08:08] <Hixie> exceptions aren't necessarily Objects
- # [08:08] <Hixie> they're host objects
- # [08:08] <Hixie> which basically (as of 2004) had no defined behaviour
- # [08:08] <Hixie> insofar as .constructor goes
- # [08:08] <Hixie> as far as i can tell
- # [08:08] * MacDome wonders what an exception can be if not an "Object" in JS. I guess it could be another primitive type...
- # [08:09] <Hixie> host objects don't have to be any primitive type as i understand it
- # [08:17] <MacDome> Er r or Obj e c t s
- # [08:17] <MacDome> I nst ances of Er r or obj ect s ar e t hr own as except i ons when r unt i me er r or s occur . The Er r or obj ect s may al so
- # [08:17] <MacDome> ser ve as base obj ect s f or user - def i ned except i on cl asses.
- # [08:18] <MacDome> Hixie: according to ECMA e.constructor.prototype.name == "Error" for all runtime exceptions
- # [08:19] <MacDome> Hixie: assuming I'm reading 15.11 correctly
- # [08:19] <Hixie> sure, but user-thrown exceptions and DOM-thrown exceptions aren't runtime exceptions
- # [08:19] <MacDome> correct, they are not required to be based from Error
- # [08:19] <MacDome> Hixie: user exceptions at least
- # [08:19] <MacDome> Hixie: I'm not sure about DOM exceptions
- # [08:19] <Hixie> DOM exceptions are effectively user-defined
- # [08:19] <Hixie> or rather, host-defined
- # [08:19] <Hixie> (which is even less useful to us)
- # [08:19] <Hixie> dom bindings addresses all this, luckily
- # [08:21] <MacDome> well, throw can throw any arbitrary value, so that's no hel
- # [08:21] <MacDome> p
- # [08:22] <Hixie> yeah, i just settled on throwing a { message: "" } object
- # [08:22] <MacDome> nice new error messages!
- # [08:22] <MacDome> I just reloaded and saw them
- # [08:22] <Hixie> i'm up to test 36
- # [08:23] <MacDome> bah. once again you check e.NAMESPACE_ERR which isn't supported by any spec I've seen
- # [08:24] * MacDome bitches instead of fixing the "bug"
- # [08:24] <Hixie> DOM2 Core, appendix E
- # [08:26] <MacDome> nice new tests, btw.
- # [08:27] <MacDome> Hixie: sure, and javascript:alert(DOMException.HIERARCHY_REQUEST_ERR) is valid in Safari
- # [08:27] <MacDome> Hixie: but just because it's a property on the constructor funtion doesn't mean it's a property on the prototype
- # [08:28] <Hixie> do you agree that instances of Node have the node type constants on their objects?
- # [08:29] <MacDome> sure. it's defined for any object conforming to the Node interface: http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-1950641247
- # [08:29] <MacDome> http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-17189187 DOMException seems to have no such requirement
- # [08:29] <Hixie> the text defining that for JSis exactly the same as the text defining the constants should be on all exception objects
- # [08:30] <MacDome> I don't follow
- # [08:30] <MacDome> Foo.bar != (new Foo).bar
- # [08:30] <Hixie> the only reason Node objects have those constants is the text in appendix E that says that Node.ELEMENT_NODE on the "Prototype Object Node" is present
- # [08:31] <MacDome> (the easy solution is obviously for us to implement these constants as part of the DOMException interface), I'm just not sure I understand how that's implied form the spec yet
- # [08:31] <Hixie> which is the same text as the text that says that DOMException.INDEX_SIZE_ERR on the "Prototype Object DOMException" is present
- # [08:31] <MacDome> ah...
- # [08:31] <Hixie> so either the constants should be present in both cases, or in neither cae
- # [08:32] <Hixie> case
- # [08:32] <MacDome> Prototype Object DOMException
- # [08:32] <Hixie> now i agree that the text in the spec sucks, which is why we need the DOM Bindigns spec
- # [08:32] <MacDome> I can see how that could be used to mean that the prototype for the object DOMException shoudl have those constants
- # [08:32] <MacDome> ok, I'll concede Prototype Object DOMException saves your case
- # [08:32] <Hixie> but i can't see any way to interpret that spec which leads to exceptions being different from nodes in this regard
- # [08:33] <MacDome> Hixie: well, ignoring appendix E, I think my point is valid
- # [08:33] <Hixie> appendix E is the only reason we have anything in JS at all
- # [08:33] <MacDome> Hixie: the rest of the spec clearly demands that (new Node).ELEMENT_NODE be valid.
- # [08:33] <MacDome> and demands that HIERARCHY_REQUEST_ERR be defined
- # [08:33] <MacDome> but makes no such demand on (new DOMException).HIERARCHY_REQUEST_ERR
- # [08:33] <Hixie> i disagree; i don't see anything that says how to interpret that idl other than appendix E
- # [08:34] * MacDome shrugs
- # [08:34] * MacDome goes to prepare the fix
- # [08:35] <Hixie> hehe
- # [08:35] <Hixie> i've done half the tests with error messages
- # [08:35] <Hixie> i'll do the other half in a bit
- # [08:36] * MacDome enjoys having such a formidable spec opponent. :)
- # [08:36] <Hixie> :-)
- # [08:39] * MacDome sighs. DOMException.idl appears non-autogenerated :(
- # [09:11] <MacDome> sigh. Hixie's got webkit down to 85% :(
- # [09:13] <MacDome> actually 85% for 3.04, 88% for TOT
- # [09:14] <MacDome> Hixie: soooo much easier to debug, btw. thanks.
- # [09:21] * Quits: MacDome (n=eric@c-24-118-60-240.hsd1.mn.comcast.net)
- # [09:45] * Joins: kfish (n=conrad@61.194.21.25)
- # [09:54] <othermaciej> I think MacDome doesn't realize that the test will not seem legit if WebKit passes out of the box
- # [09:56] * Quits: doublec (n=Chris_Do@203-97-173-6.cable.telstraclear.net) ("ChatZilla 0.9.79-rdmsoft [XULRunner 1.8.0.9/2006120508]")
- # [09:57] <Hixie> i'm far more interested in seeing compliant browsers than in having my life be easy in making the test seem legit
- # [09:58] <othermaciej> yeah, but if he keeps fixing bugs, you'll have to keep adding tests
- # [09:58] <Hixie> that is a problem i welcome with open arms
- # [09:58] <othermaciej> I mean, not that I'm against people fixing more bugs
- # [10:12] * Joins: annevk (n=annevk@ip91350cb4.speed.planet.nl)
- # [10:14] <hsivonen> Hixie: you could test that XHTML docs implement HTMLDocument and check that document.body and stuff works
- # [10:14] <Hixie> is there a way to do that purely from DOM?
- # [10:15] <Hixie> (i'm trying to avoid external files)
- # [10:17] <hsivonen> Hixie: I'm not sure if it is possible with 2004 specs. with HTML 5 it should be. :-)
- # [10:17] <hsivonen> Hixie: unless there's a spec for DOMParser
- # [10:18] <Hixie> testing html5 in an acid test will be for acid4, maybe :-)
- # [10:18] <hsivonen> which I doubt
- # [10:18] <Hixie> there's dom3 load and save, but i'm pretending that doesn't exist
- # [10:18] <hsivonen> (I doubt DOMParser has a spec that is)
- # [10:19] <hsivonen> Hixie: anyway, document.body would be a test that'd help acid3 look legitimate by WebKit not passing :-)
- # [10:19] <hsivonen> in XHTML that is
- # [10:19] <Hixie> heh
- # [10:20] <Hixie> i could createDocument() an XHTML doc
- # [10:22] * Joins: ROBOd (n=robod@89.122.216.38)
- # [10:26] <othermaciej> hsivonen: XHTML documents implementing HTMLDocument is not required by any spec but HTML5 afaik
- # [10:26] <Hixie> and dom2 html
- # [10:26] <othermaciej> I thought it was allowed but not required by dom2 html
- # [10:26] * othermaciej checks his references
- # [10:27] <Hixie> it's required as much as HTMLDocument is required for text/html, as far as i can tell
- # [10:27] <Hixie> of course back in those days specs were so vague...
- # [10:28] <othermaciej> yeah, it seems to be required for XHTML 1.0 as much as for HTML 4.01, which is to say, not very clearly required at all
- # [10:28] <othermaciej> wow, so many statements in DOM 2 HTML are just outright factually false
- # [10:28] <Hixie> do paste them here
- # [10:29] <othermaciej> "In many cases, these enhancements are not applicable to a general DOM because they rely on the presence of a predefined DTD."
- # [10:29] <krijnh> http://www.digg.com/software/Ian_Hickson_s_having_a_bit_of_trouble_writing_ACID3 :P
- # [10:30] <othermaciej> Hixie: I do know of one DOM Level 1 Core thing that I think every browser gets wrong per spec (but which probably can't be fixed)
- # [10:30] <Hixie> yeah i'm avoiding those
- # [10:31] <Hixie> and yeah, the DTD stuff is funny
- # [10:31] <othermaciej> elt.getAttribute("nonexistentAttribute") is supposed to return empty string instead of null
- # [10:31] <Hixie> back in those days people believed it
- # [10:31] <hsivonen> DTDs have the questionable honor of being the second most misunderstood part of XML right after namespaces
- # [10:34] * Quits: annevk (n=annevk@ip91350cb4.speed.planet.nl) (Read error: 110 (Connection timed out))
- # [10:35] <othermaciej> out of the official w3c DOM tests, WebKit fails 6 of the DOM1 Core ones, 1 of the DOM2 Core, 1 of the DOM2 Events, and 5 of the DOM2 HTML
- # [10:35] <othermaciej> (in some cases a few more than that in xhtml instead of html, not sure why)
- # [10:36] * Joins: jgraham (n=james@cpc1-flee2-0-0-cust327.glfd.cable.ntl.com)
- # [10:37] <Hixie> othermaciej: is there a summary of those failures somewhere?
- # [10:37] <Hixie> e.g. bugzilla query?
- # [10:38] <othermaciej> not in bugzilla
- # [10:39] <othermaciej> if you have a WebKit tree checked out, WebKitTools/Scripts/check-dom-results gives counts of tests that appear to succeed, and you can search for "fail" in .txt files in LayoutTests/dom/* to find which specific tests fail
- # [10:39] <othermaciej> a lot of the DOM3 Core ones fail due to unimplemented useless features
- # [10:39] <Hixie> i do not have a checkout right now
- # [10:39] <othermaciej> most of the others are deliberate failures for web compatibility I think
- # [10:39] <Hixie> k
- # [10:39] <othermaciej> but not sure
- # [10:39] <othermaciej> I looked at the DOM 1 Core failures
- # [10:40] <othermaciej> 3 are because we allow implicit adoption when inserting a node from another document
- # [10:40] <othermaciej> which we added because Gecko allowed it and some sites started to depend on it
- # [10:40] <othermaciej> (or maybe it was intranet "enterprise" products w/ a web interface)
- # [10:41] <othermaciej> one is due to returning null for getAttribute of a nonexistent attribute
- # [10:41] <Hixie> yeah we should just allow that
- # [10:41] <Hixie> i don't understand why implicit adoption wasn't allowed
- # [10:41] <Hixie> and getAttribute's null thing needs fixing
- # [10:41] <Hixie> in the spec
- # [10:41] <othermaciej> yes, yes it does
- # [10:42] <Hixie> Web DOM Core 4
- # [10:42] <othermaciej> asking for that to be fixed was one of my first unpleasant experiences with the w3c
- # [10:42] <Hixie> or 5 i guess :-)
- # [10:42] <othermaciej> many years ago
- # [10:42] <Hixie> oh?
- # [10:42] <othermaciej> let me see if I can find the thread in the archives
- # [10:43] <othermaciej> ah, the two other failures are also due to not throwing WRONG_DOCUMENT_ERR
- # [10:43] <othermaciej> so 5 failures for allowing implicit adoption, one for returning null from getAttribute
- # [10:43] <othermaciej> I can tell you that last time I tested, every other browser failed a lot more of these
- # [10:43] <othermaciej> even the DOM1 Core tests
- # [10:44] <othermaciej> I think the DOM2EV test we fail is due to dispatching events in both capture and bubble phases to the target node
- # [10:44] <othermaciej> (technically they should only bubble, but that causes web compat issues due to Gecko's longstanding behavior in this regard)
- # [10:45] * Quits: Lachy_ (n=Lachlan@cm-84.215.54.100.getinternet.no) (Read error: 110 (Connection timed out))
- # [10:45] <Hixie> yeah, i'm not testing that one either
- # [10:45] <Hixie> i'm not testing anything that we want to change
- # [10:46] <othermaciej> http://lists.w3.org/Archives/Public/www-dom/2005OctDec/0024.html
- # [10:46] <othermaciej> http://lists.w3.org/Archives/Public/www-dom/2005OctDec/0025.html
- # [10:46] <othermaciej> both had floods of angry responses
- # [10:47] <othermaciej> here's another interesting message from around the same time: http://lists.w3.org/Archives/Public/www-dom/2005OctDec/0076.html
- # [10:47] <othermaciej> (incompatibility between DOM 2 Core and DOM 3 Core)
- # [10:48] <othermaciej> (on a minor extremely boring edge case issue though)
- # [10:49] * Joins: doublec (n=Chris_Do@203-97-173-6.cable.telstraclear.net)
- # [10:54] <othermaciej> hey, proof that I'm stubbornly consistent in my beliefs: http://lists.w3.org/Archives/Public/www-dom/2005OctDec/0047.html
- # [11:00] <Hixie> proof that i am: http://lists.w3.org/Archives/Public/www-html/1998Dec/0003.html
- # [11:05] <Hixie> heh, i found that html4 had no real conformance criteria back in 1999: http://lists.w3.org/Archives/Public/www-html/1999Feb/0010.html
- # [11:07] <othermaciej> heh
- # [11:07] <othermaciej> well, we have higher standards now
- # [11:08] <Hixie> it's sad that from 1998 to 2004 we basically made no progress
- # [11:08] <Hixie> i'm glad we have finally shaken ourselves free of the old guard
- # [11:08] <othermaciej> well, some of that was the state of affairs in the browser market during that period
- # [11:31] <Hixie> i need more tests
- # [11:31] <Hixie> let me know if you come up with any
- # [11:31] <Hixie> bed time now
- # [11:41] * Joins: maikmerten (n=maikmert@La2b7.l.pppool.de)
- # [11:56] * Quits: doublec (n=Chris_Do@203-97-173-6.cable.telstraclear.net) ("ChatZilla 0.9.79-rdmsoft [XULRunner 1.8.0.9/2006120508]")
- # [11:56] * Joins: Lachy (n=Lachlan@cm-84.215.54.100.getinternet.no)
- # [12:08] * Joins: tndH_ (i=Rob@83.100.183.125)
- # [12:08] * tndH_ is now known as tndH
- # [12:26] * Joins: hdh (n=hdh@58.187.90.38)
- # [13:09] * Joins: gsnedders (n=gsnedder@host86-138-198-209.range86-138.btcentralplus.com)
- # [13:10] * Joins: doublec (n=Chris_Do@203-97-173-6.cable.telstraclear.net)
- # [13:15] * Quits: kfish (n=conrad@61.194.21.25) ("Pike!")
- # [13:17] * Quits: doublec (n=Chris_Do@203-97-173-6.cable.telstraclear.net) ("ChatZilla 0.9.79-rdmsoft [XULRunner 1.8.0.9/2006120508]")
- # [13:52] * Joins: webben (n=benh@82.152.123.69)
- # [14:02] * Parts: hdh (n=hdh@58.187.90.38)
- # [14:32] * Quits: Lachy (n=Lachlan@cm-84.215.54.100.getinternet.no) (Read error: 104 (Connection reset by peer))
- # [14:32] * Joins: Lachy_ (n=Lachlan@cm-84.215.54.100.getinternet.no)
- # [14:34] * Quits: Lachy_ (n=Lachlan@cm-84.215.54.100.getinternet.no) (Read error: 104 (Connection reset by peer))
- # [14:34] * Joins: Lachy__ (n=Lachlan@cm-84.215.54.100.getinternet.no)
- # [14:40] * Quits: Lachy__ (n=Lachlan@cm-84.215.54.100.getinternet.no) (Read error: 104 (Connection reset by peer))
- # [14:40] * Joins: Lachy_ (n=Lachlan@cm-84.215.54.100.getinternet.no)
- # [14:44] * Quits: Lachy_ (n=Lachlan@cm-84.215.54.100.getinternet.no) (Read error: 104 (Connection reset by peer))
- # [14:44] * Joins: Lachy__ (n=Lachlan@cm-84.215.54.100.getinternet.no)
- # [14:45] * Quits: Lachy__ (n=Lachlan@cm-84.215.54.100.getinternet.no) (Read error: 104 (Connection reset by peer))
- # [14:45] * Joins: Lachy_ (n=Lachlan@cm-84.215.54.100.getinternet.no)
- # [14:50] * Quits: Lachy_ (n=Lachlan@cm-84.215.54.100.getinternet.no) ("Leaving")
- # [14:50] <Philip`> http://www.natural-innovations.com/wa/xhtml.html - hmm, XHTML was sometimes referred to as HTML 5.0?
- # [14:54] <webben> Philip`: http://groups.google.com/group/mail.www-html/browse_thread/thread/140306dc90e21ce3/a0bef1d6fde4d332?lnk=st&q=voyager+w3c+%22html+5.0%22#a0bef1d6fde4d332 perhaps
- # [14:56] * Joins: Lachy (n=Lachlan@ti200710a340-2416.bb.online.no)
- # [15:04] * Joins: nickshanks (n=nickshan@cpc2-clif1-0-0-cust535.nott.cable.ntl.com)
- # [15:05] <Philip`> webben: Ah, thanks
- # [15:06] <Philip`> http://www.w3.org/TR/1998/WD-html-in-xml-19981205/ talks about Voyager, but I can't find any 'official' references to an HTML 5.0 so I guess that term just fell out of favour before catching on
- # [15:08] * Joins: Lachy_ (n=Lachlan@cm-84.215.54.100.getinternet.no)
- # [15:13] * Joins: Lachy__ (n=Lachlan@cm-84.215.54.100.getinternet.no)
- # [15:13] * Quits: Lachy_ (n=Lachlan@cm-84.215.54.100.getinternet.no) (Read error: 104 (Connection reset by peer))
- # [15:15] * Quits: Lachy__ (n=Lachlan@cm-84.215.54.100.getinternet.no) (Client Quit)
- # [15:17] * Joins: Lachy_ (n=Lachlan@cm-84.215.54.100.getinternet.no)
- # [15:19] * Quits: Lachy (n=Lachlan@ti200710a340-2416.bb.online.no) (Read error: 110 (Connection timed out))
- # [15:22] * Quits: Lachy_ (n=Lachlan@cm-84.215.54.100.getinternet.no) (Read error: 104 (Connection reset by peer))
- # [15:22] * Joins: Lachy_ (n=Lachlan@cm-84.215.54.100.getinternet.no)
- # [16:02] * Quits: othermaciej (n=mjs@dsl081-048-145.sfo1.dsl.speakeasy.net)
- # [16:05] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [16:06] * Joins: ROBOd (n=robod@89.122.216.38)
- # [17:55] * Quits: webben (n=benh@82.152.123.69)
- # [17:56] * Joins: tantek (n=tantek@70-13-191-180.area2.spcsdns.net)
- # [18:38] * Joins: othermaciej (n=mjs@dsl081-048-145.sfo1.dsl.speakeasy.net)
- # [18:39] * Joins: MacDome (n=eric@c-24-118-60-240.hsd1.mn.comcast.net)
- # [19:19] * Quits: othermaciej (n=mjs@dsl081-048-145.sfo1.dsl.speakeasy.net)
- # [19:54] * Joins: digx (n=rick@c-76-109-201-140.hsd1.fl.comcast.net)
- # [20:29] * Joins: grimboy (n=grimboy@85-211-242-220.dsl.pipex.com)
- # [20:49] * Quits: maikmerten (n=maikmert@La2b7.l.pppool.de) ("Leaving")
- # [20:57] * Joins: grimeboy (n=grimboy@85-211-242-2.dsl.pipex.com)
- # [20:59] * Quits: Lachy_ (n=Lachlan@cm-84.215.54.100.getinternet.no) (Read error: 104 (Connection reset by peer))
- # [21:00] * Joins: Lachy_ (n=Lachlan@cm-84.215.54.100.getinternet.no)
- # [21:13] * Quits: grimboy (n=grimboy@85-211-242-220.dsl.pipex.com) (Read error: 110 (Connection timed out))
- # [21:38] * Joins: dolphinling (n=chatzill@rbpool4-69.shoreham.net)
- # [21:48] * Quits: hober (n=ted@unaffiliated/hober) ("ERC Version 5.3 (devel) (IRC client for Emacs)")
- # [22:00] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [23:06] * Joins: doublec (n=doublec@203-97-173-6.cable.telstraclear.net)
- # [23:12] * weinig is now known as weinig_
- # [23:12] * weinig_ is now known as weinig
- # [23:19] * Quits: grimeboy (n=grimboy@85-211-242-2.dsl.pipex.com) (Read error: 104 (Connection reset by peer))
- # [23:19] * Joins: grimboy_uk (n=grimboy@85-211-248-31.dsl.pipex.com)
- # [23:29] <Philip`> http://intertwingly.net/blog/?q=%00 - yay for XML
- # [23:33] * Quits: gsnedders (n=gsnedder@host86-138-198-209.range86-138.btcentralplus.com) ("Partying in teh intarwebs")
- # [23:33] <Philip`> (Also http://golem.ph.utexas.edu/instiki/search?query=%00 etc)
- # [23:34] <Philip`> (Also http://golem.ph.utexas.edu/instiki/save/HomePage etc)
- # [23:34] <Philip`> Are there any non-trivial dynamically-generated XHTML sites that successfully ensure well-formedness?
- # [23:40] <hsivonen> Philip`: Validator.nu used to be a dynamically-generated app (even if not site) that ensured well-formedness, but now it may have holes like that--I have not tested properly for forbidden characters after I did some major rework in the front end
- # [23:41] <hsivonen> bullet-proofing it against \0, etc. is one of the many items I should take care of
- # [23:42] <hsivonen> actually, I could find out right now
- # [23:43] <hsivonen> yep, Validator.nu is broken after the major rework :-(
- # [23:43] <hsivonen> my options are:
- # [23:43] <hsivonen> 1) Hacking the Xalan serializer (hard)
- # [23:43] <hsivonen> 2) Writing a SAX filter (easy but potentially inefficient)
- # [23:43] <hsivonen> and
- # [23:44] <hsivonen> 3) Writing my own XML serializer (tedious with namespaces)
- # [23:46] <hsivonen> hmm. and 4) filtering in a Writer after the serializer
- # [23:47] <Philip`> Those all sound like great fun
- # [23:48] * Quits: grimboy_uk (n=grimboy@85-211-248-31.dsl.pipex.com) (Read error: 110 (Connection timed out))
- # [23:48] * Joins: grimboy_uk (n=grimboy@85-211-244-93.dsl.pipex.com)
- # Session Close: Sun Dec 30 00:00:00 2007
The end :)