03:57
<Hixie>
how the hell do you tell a RangeException from a DOMException??
04:02
<weinig>
Hixie: in WebKit now, you can do e instanceof RangeException
04:02
<weinig>
Hixie: I believe you can do that in Firefox as well
04:05
<weinig>
or alternatively, e.constructor == RangeException :)
04:05
<weinig>
where e is of course the exception being thrown
04:10
<Hixie>
i mean how do you tell in a spec-justifiable way
04:11
<Hixie>
ideally using specs from 2004 :-)
04:12
<weinig>
Hixie: testing e.BAD_BOUNDARYPOINTS_ERR == 1
04:12
<Hixie>
hm, yeah, that might work
04:12
<Hixie>
thanks
04:13
<weinig>
no problem
04:15
<weinig>
Hixie: though in no way exaustive, http://trac.webkit.org/projects/webkit/browser/trunk/LayoutTests/fast/dom/DOMException/ might be of some help
04:17
<Hixie>
thanks
06:18
<Hixie>
DOM Range is really badly defined
06:19
<Hixie>
it's full of holes
06:19
<Hixie>
e.g. selectNode() on an orphan seems to cause a crash, as i understand it
06:19
<Hixie>
and you can set the boundary points as being in different unconnected trees
06:22
<Hixie>
or if you set the offset to a value out of range
06:31
<jruderman>
Hixie: have you seen https://bugzilla.mozilla.org/show_bug.cgi?id=409380 ?
06:32
<Hixie>
yeah i'm looking at those bugs as we speak
06:32
<jruderman>
:)
07:44
<G0k>
hey anyone know where annevk has been?
07:52
<kura>
probably busy with his new place and all
07:55
<G0k>
where did he move?
08:01
<kura>
no idea
08:02
<kura>
i just saw him tweet a while ago that he got his own place
08:02
<kura>
like, just before the holidays
08:12
<Hixie>
wow, dom range's interaction with splitText() is retarded
08:13
<othermaciej>
how does it interact?
10:36
<hsivonen>
zcorpan: Validator.nu doesn't check the contents of any PI
16:33
<gsnedders>
hsivonen: didn't you have a spec for serialising a DOM structure somewhere?
17:46
<jgraham>
gsnedders: are you thinking of http://simon.html5.org/specs/sdf
17:46
<gsnedders>
jgraham: yes.
17:46
<gsnedders>
so it was my second thought of ed.
20:48
<zcorpan>
hsivonen: consider it a feature request to validate xml-stylesheet PIs :) (i'll spec down conf requirements for it in my draft, though it already defines what is a parse error...)
21:31
<gsnedders>
Hixie: ping