Options:
- # Session Start: Mon Feb 28 00:00:00 2011
- # Session Ident: #whatwg
- # [00:03] * Quits: Amorphous (jan@unaffiliated/amorphous) (Ping timeout: 264 seconds)
- # [00:03] * Quits: jeromegn (~jeromegn@206-248-138-74.dsl.teksavvy.com) (Ping timeout: 240 seconds)
- # [00:04] * Joins: benschwarz (~ben@ppp59-167-179-123.static.internode.on.net)
- # [00:06] * Joins: jeromegn (~jeromegn@206-248-138-74.dsl.teksavvy.com)
- # [00:17] * Joins: Amorphous (jan@unaffiliated/amorphous)
- # [00:19] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Read error: Connection reset by peer)
- # [00:20] * Joins: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
- # [00:25] * gwillen_ is now known as gwillen
- # [00:29] * Quits: iamjarvo (~jearvondh@c-68-39-194-92.hsd1.pa.comcast.net) (Ping timeout: 240 seconds)
- # [00:30] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote host closed the connection)
- # [00:49] * Quits: ben_h (~ben@CPE-58-161-40-52.czqd1.win.bigpond.net.au) (Quit: ben_h)
- # [00:52] * Joins: boogyman (~boogy@unaffiliated/boogyman)
- # [00:55] * Quits: annevk (~annevk@5355737B.cm-6-6b.dynamic.ziggo.nl) (Remote host closed the connection)
- # [00:56] * Quits: MrOpposite (~mropposit@unaffiliated/mropposite) (Quit: OMG, YOU KILLED OPPO!)
- # [00:56] * Quits: Steve^ (~steve@cpc2-hari1-0-0-cust1111.hari.cable.virginmedia.com) (Quit: BSOD)
- # [01:02] * Joins: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [01:04] * Joins: jochen___ (~jochen@nat/google/x-agqczpmeogiopbmo)
- # [01:07] * Quits: ako (~nya@fuld-4d00d200.pool.mediaWays.net) (Ping timeout: 240 seconds)
- # [01:09] * Quits: jochen__ (~jochen@nat/google/x-jkwgzshkclbqorns) (Ping timeout: 264 seconds)
- # [01:09] * Joins: jochen__ (~jochen@nat/google/x-cqhxotfmmorxznby)
- # [01:10] * Joins: aho (~nya@fuld-4d00d206.pool.mediaWays.net)
- # [01:10] * Quits: jochen___ (~jochen@nat/google/x-agqczpmeogiopbmo) (Ping timeout: 240 seconds)
- # [01:25] * Quits: wakaba_1 (~wakaba_@219.157.197.113.dy.bbexcite.jp) (Ping timeout: 264 seconds)
- # [01:25] * Quits: nattokirai (~nattokira@rtr.mozilla.or.jp) (Quit: nattokirai)
- # [01:27] * Quits: sroussey (~sroussey@adsl-69-234-104-86.dsl.irvnca.pacbell.net) (Ping timeout: 276 seconds)
- # [01:29] * Joins: nattokirai (~nattokira@rtr.mozilla.or.jp)
- # [01:46] * Quits: ZombieLoffe (~e@unaffiliated/zombieloffe)
- # [01:50] * Joins: wakaba_0 (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp)
- # [01:54] * Joins: ben_h (~ben@128.250.195.183)
- # [01:54] * Quits: rgervais_ (40d2c7e9@gateway/web/freenode/ip.64.210.199.233) (Ping timeout: 272 seconds)
- # [01:56] * Quits: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no) (Ping timeout: 250 seconds)
- # [02:15] * Quits: kor_ (~kor@ip146-53-210-87.adsl2.static.versatel.nl) (Quit: kor_)
- # [02:21] * Joins: miketaylr (~miketaylr@user-160vrg5.cable.mindspring.com)
- # [02:26] * Quits: tndH (~Rob@cpc15-seac19-2-0-cust232.7-2.cable.virginmedia.com) (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.1/2008072406])
- # [02:31] * Joins: Abhi347 (~Abhi@210.212.179.149)
- # [02:33] * Joins: homa_____ (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [02:35] * Quits: homa_____ (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Client Quit)
- # [02:35] * Joins: chriseppstein (~chris@99-34-231-235.lightspeed.sntcca.sbcglobal.net)
- # [02:36] * Joins: boogyman_ (~boogy@unaffiliated/boogyman)
- # [02:36] * Quits: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Ping timeout: 240 seconds)
- # [02:38] * Quits: boogyman (~boogy@unaffiliated/boogyman) (Ping timeout: 240 seconds)
- # [02:38] * boogyman_ is now known as boogyman
- # [02:40] * Quits: riven (~riven@pdpc/supporter/professional/riven) (Read error: Connection reset by peer)
- # [02:40] * Joins: riven (~riven@pdpc/supporter/professional/riven)
- # [02:41] * Quits: Abhi347 (~Abhi@210.212.179.149)
- # [02:41] * Joins: JoePeck (~JoePeck@c-76-102-33-198.hsd1.ca.comcast.net)
- # [02:42] * Quits: chriseppstein (~chris@99-34-231-235.lightspeed.sntcca.sbcglobal.net) (Quit: chriseppstein)
- # [02:44] * Joins: riven` (~riven@53518387.cm-6-2c.dynamic.ziggo.nl)
- # [02:44] * Joins: othermaciej (~mjs@173-164-167-2-SFBA.hfc.comcastbusiness.net)
- # [02:44] * Quits: riven (~riven@pdpc/supporter/professional/riven) (Disconnected by services)
- # [02:45] * riven` is now known as riven
- # [02:45] * Quits: riven (~riven@53518387.cm-6-2c.dynamic.ziggo.nl) (Changing host)
- # [02:45] * Joins: riven (~riven@pdpc/supporter/professional/riven)
- # [02:57] * Joins: jacobolus (~jacobolus@static-216-41-81-42.ngn.onecommunications.net)
- # [02:58] * Quits: jacobolus (~jacobolus@static-216-41-81-42.ngn.onecommunications.net) (Remote host closed the connection)
- # [03:03] * Quits: drunknbass (~drunknbas@76.91.255.83) (Read error: Connection reset by peer)
- # [03:09] * Joins: nessy (~Adium@74.125.56.18)
- # [03:20] * Quits: Sosby (fsosby@70.32.34.100) (Ping timeout: 240 seconds)
- # [03:22] * Joins: jacobolus (~jacobolus@c-98-216-238-247.hsd1.ma.comcast.net)
- # [03:25] * Joins: micheil (~micheil@69.198.183.141)
- # [03:30] * Joins: Sosby (fsosby@70.32.34.100)
- # [03:30] * Quits: boogyman (~boogy@unaffiliated/boogyman) (Quit: ChatZilla 0.9.86 [Firefox 3.6.13/20101203075014])
- # [03:39] * Joins: iamjarvo (~jearvondh@pool-98-114-96-236.phlapa.fios.verizon.net)
- # [03:54] * Joins: cying (~cying@c-24-23-135-168.hsd1.ca.comcast.net)
- # [03:57] * Quits: FastJack (~fastjack@dumpstr.net) (Read error: Operation timed out)
- # [03:57] * Joins: FastJack (~fastjack@dumpstr.net)
- # [04:00] * Joins: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net)
- # [04:00] * Quits: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net) (Remote host closed the connection)
- # [04:05] * Quits: othermaciej (~mjs@173-164-167-2-SFBA.hfc.comcastbusiness.net) (Quit: othermaciej)
- # [04:06] * Quits: yutak (~yutak@2401:fa00:4:1000:baac:6fff:fe99:adfb) (Quit: Ex-Chat)
- # [04:08] * Quits: ericc|away (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Quit: ericc|away)
- # [04:11] * Joins: MikeSmith_ (~MikeSmith@EM111-188-39-221.pool.e-mobile.ne.jp)
- # [04:15] * Quits: MikeSmith (~MikeSmith@EM114-48-62-38.pool.e-mobile.ne.jp) (Ping timeout: 240 seconds)
- # [04:15] * MikeSmith_ is now known as MikeSmith
- # [04:25] * Joins: yutak (~yutak@2401:fa00:4:1000:baac:6fff:fe99:adfb)
- # [04:35] * Joins: ako (~nya@fuld-590c6913.pool.mediaWays.net)
- # [04:37] * Quits: aho (~nya@fuld-4d00d206.pool.mediaWays.net) (Ping timeout: 240 seconds)
- # [04:41] * Joins: ojan (~ojan@nat/google/x-yldmyfmsxtiemtsi)
- # [04:43] * Quits: macpherson (~macpherso@nat/google/x-hutcqkffmqrciwzm) (Quit: macpherson)
- # [04:53] * Joins: jamesr_ (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
- # [05:04] * Quits: MikeSmith (~MikeSmith@EM111-188-39-221.pool.e-mobile.ne.jp) (Read error: Connection reset by peer)
- # [05:09] * Quits: nonge__ (~nonge@p5082B4F5.dip.t-dialin.net) (Read error: Operation timed out)
- # [05:15] * Quits: miketaylr (~miketaylr@user-160vrg5.cable.mindspring.com) (Quit: derp)
- # [05:24] * Joins: nonge__ (~nonge@p5B327E5E.dip.t-dialin.net)
- # [05:25] * Joins: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net)
- # [05:36] * Quits: nimbupani (~Adium@c-24-18-47-160.hsd1.wa.comcast.net) (Quit: Leaving.)
- # [05:41] * Quits: doublec (~chris@unaffiliated/doublec) (Quit: Leaving)
- # [05:45] * Quits: roc (~chatzilla@skycity-akl-nz.getin2net.com) (Ping timeout: 272 seconds)
- # [05:49] * Quits: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
- # [06:02] * Quits: ako (~nya@fuld-590c6913.pool.mediaWays.net) (Quit: EXEC_over.METHOD_SUBLIMATION)
- # [06:04] <zewt> bleh
- # [06:04] <zewt> is it bad that IE has gone from "damn you for not following the spec, IE" to "damn you for following the spec, IE"
- # [06:05] <zewt> stop making me feel bad for IE developers
- # [06:05] <tw2113> just odd cause we're so used to damning them from not
- # [06:19] * Quits: Ankheg (~Ankheg@94.158.194.27) (Quit: Leaving.)
- # [06:20] * Joins: pesla (~pesla@mail.itoffshorenepal.com)
- # [06:21] * Quits: homata___ (~homata_@58x158x182x50.ap58.ftth.ucom.ne.jp) (Remote host closed the connection)
- # [06:23] * Joins: othermaciej (~mjs@173-164-167-2-SFBA.hfc.comcastbusiness.net)
- # [06:24] * Quits: benschwarz (~ben@ppp59-167-179-123.static.internode.on.net) (Quit: Leaving...)
- # [06:25] * Quits: jamesr_ (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr_)
- # [06:27] * Joins: homata_ (~homata_@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [06:41] * Quits: nessy (~Adium@74.125.56.18) (Quit: Leaving.)
- # [06:45] * Quits: homata_ (~homata_@58x158x182x50.ap58.ftth.ucom.ne.jp) (Remote host closed the connection)
- # [06:49] * Joins: Ankheg (~Ankheg@94.158.194.27)
- # [06:49] * Joins: homata__ (~homata_@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [06:51] * Quits: dydx (~dydz@adsl-76-200-191-179.dsl.pltn13.sbcglobal.net) (Read error: Connection reset by peer)
- # [06:52] * Joins: dydx (~dydz@adsl-76-200-191-179.dsl.pltn13.sbcglobal.net)
- # [06:58] * Quits: othermaciej (~mjs@173-164-167-2-SFBA.hfc.comcastbusiness.net) (Ping timeout: 240 seconds)
- # [07:02] * Quits: purefusion (~purefusio@unaffiliated/purefusion) (Quit: Why don't you make like a tree, and get out of here?)
- # [07:04] * Joins: purefusion (~purefusio@unaffiliated/purefusion)
- # [07:07] * Joins: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [07:08] * Quits: bentruyman (~bentruyma@24-148-24-69.c3-0.prs-ubr2.chi-prs.il.cable.rcn.com) (Quit: bentruyman)
- # [07:10] * Joins: othermaciej (~mjs@173-164-167-2-SFBA.hfc.comcastbusiness.net)
- # [07:16] * Joins: nessy (~Adium@49.177.216.252)
- # [07:17] * Joins: benschwarz (~ben@59.167.185.148)
- # [07:20] * Quits: iamjarvo (~jearvondh@pool-98-114-96-236.phlapa.fios.verizon.net) (Quit: iamjarvo)
- # [07:20] * Quits: sephr (~Eli@c-98-235-63-240.hsd1.pa.comcast.net) (Quit: Leaving)
- # [07:21] * Quits: nessy (~Adium@49.177.216.252) (Client Quit)
- # [07:22] * Quits: benschwarz (~ben@59.167.185.148) (Client Quit)
- # [07:22] * Quits: othermaciej (~mjs@173-164-167-2-SFBA.hfc.comcastbusiness.net) (Ping timeout: 240 seconds)
- # [07:28] * Quits: yutak (~yutak@2401:fa00:4:1000:baac:6fff:fe99:adfb) (Read error: Operation timed out)
- # [07:28] * Joins: yutak (~yutak@2401:fa00:4:1000:baac:6fff:fe99:adfb)
- # [07:35] * Joins: homat____ (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [07:37] * Quits: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Ping timeout: 240 seconds)
- # [07:39] * Joins: Silanus (~silanus@p5DDEBACA.dip.t-dialin.net)
- # [07:44] * Joins: maikmerten (~merten@ls5dhcp197.cs.uni-dortmund.de)
- # [07:56] * Joins: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [07:59] * Quits: homat____ (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Ping timeout: 240 seconds)
- # [07:59] * Joins: agektmr (~Adium@220.109.219.244)
- # [08:01] * Joins: jochen___ (~jochen@nat/google/x-jpyirdxknreqntnq)
- # [08:05] * Quits: jochen__ (~jochen@nat/google/x-cqhxotfmmorxznby) (Ping timeout: 246 seconds)
- # [08:05] * jochen___ is now known as jochen__
- # [08:09] * Joins: davve (~davve@83.218.67.122)
- # [08:09] * davve is now known as davve__
- # [08:10] * Quits: tw2113 (~tw2113@fedora/tw2113) (Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the world of IRC.)
- # [08:11] * Quits: pesla (~pesla@mail.itoffshorenepal.com) (Quit: Computer has gone to sleep.)
- # [08:13] * Quits: cying (~cying@c-24-23-135-168.hsd1.ca.comcast.net) (Quit: cying)
- # [08:17] * Joins: cying (~cying@c-24-23-135-168.hsd1.ca.comcast.net)
- # [08:27] * Joins: rimantas (~rimliu@93.93.57.193)
- # [08:29] <zewt> ... anyone happen to know if the return value of IE9's dispatchEvent is broken (always returns true)? wondering if I'm just going crazy, heh
- # [08:30] <zewt> or maybe this is an old beta
- # [08:37] * Joins: Maurice (~ano@77.222.73.150)
- # [08:40] * Quits: JoePeck (~JoePeck@c-76-102-33-198.hsd1.ca.comcast.net) (Quit: -)
- # [08:41] * Quits: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de) (Quit: Now time for the weather. Tiffany?)
- # [08:42] * Joins: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
- # [08:45] * Joins: annevk (~annevk@5355737B.cm-6-6b.dynamic.ziggo.nl)
- # [08:47] * Quits: cying (~cying@c-24-23-135-168.hsd1.ca.comcast.net) (Quit: cying)
- # [08:47] <annevk> oh look, WHATWG Weekly day
- # [08:51] * Joins: cying (~cying@c-24-23-135-168.hsd1.ca.comcast.net)
- # [08:51] <zewt> annevk: trying to figure out actual browser behavior re: resetting stop propagation/canceled flag; much headaches ensue
- # [08:52] * Joins: pesla (~pesla@mail.itoffshorenepal.com)
- # [08:52] <zewt> can't seem to find a way to test whether the default handler was actually run, that works in all browsers
- # [08:53] <zewt> the return value of dispatchEvent seems to always be true in IE9; and the return value of dispatchEvent and the value of getPreventedDefault() in FF don't always match
- # [08:53] * Quits: ben_h (~ben@128.250.195.183) (Quit: ben_h)
- # [08:54] <annevk> yeah
- # [08:54] <annevk> I had the same results
- # [08:54] <zewt> oh... checking for onhashchange after clicking a hash link (which I thought wasn't working in FF, but that's because FF isn't firing the default at all for synthesized clicks)
- # [08:54] <annevk> well, I didn't test IE
- # [08:54] <zewt> (that's what I was doing, then I got confused at FF's behavior)
- # [08:54] <annevk> but I was confused too so I thought we could go with something saner :)
- # [08:54] <zewt> well, it's a problem that Core and Events are mismatched on this
- # [08:55] <annevk> I do think now that maybe propagation flags should be cleared after dispatching and canceled before
- # [08:55] <zewt> right now, in all browsers (I think), you can event.stopPropagation and event.preventDefault an event before dispatching, to cause it to only fire the default or to only dispatch event handlers
- # [08:56] <annevk> if you call stop propagation it's never dispatched
- # [08:56] <zewt> but the default will still happen
- # [08:57] <zewt> (if it's allowed for the non-trusted event, of course)
- # [08:57] <annevk> I guess that is true...
- # [08:57] <annevk> because dispatchEvent will still return and such
- # [08:57] <annevk> but it's also really weird
- # [08:57] <annevk> so maybe clearing before is saner
- # [08:57] * Joins: roc (~chatzilla@121.98.230.221)
- # [08:57] <zewt> but is it worth being mismatched with all current browsers?
- # [08:58] <annevk> maybe
- # [08:59] <zewt> by clearing after (as Events does), it matches current browsers, allows the (admittedly obscure) case of cancelling/preventDefaulting before dispatch, and brings the two specs into agreement...
- # [09:00] <zewt> FYI, in IE9 defaultPrevented *is* always false after dispatch completes (which is the result of clearing after)--but that may or may not be intentional (as I said, dispatchEvent's return value seems totally broken in that browser)
- # [09:00] <annevk> ah yeah, that's the other thing I disliked about it
- # [09:02] <annevk> zewt, so then we'd have to store the value of the canceled flag separately at some point so it can be cleared and then the method can be returned
- # [09:02] <zewt> i think that'd only be for one step during dispatch
- # [09:03] <zewt> eg. 9. var x = canceled flag; canceled flag = false; return x;
- # [09:03] <annevk> just before returning you need to store it, then unset the flag, then return the value
- # [09:03] <annevk> right
- # [09:03] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
- # [09:03] <zewt> which isn't so bad since it's local to that step--hopefully wouldn't need to have a separately-defined flag bloating the flag list
- # [09:04] <annevk> it's a bit unfortunate that it makes defaultPrevented useless after the event is dispatched
- # [09:04] <annevk> there's not always a return value of dispatchEvent
- # [09:04] <zewt> there should be, right?
- # [09:04] <zewt> ignoring IE9's bug
- # [09:04] <annevk> not if the event was dispatched by the UA
- # [09:05] <zewt> hmm
- # [09:05] <annevk> and you store it and analyze its properties later
- # [09:05] <zewt> personally, I'd prefer to just never reset the flags ever
- # [09:05] <zewt> and don't re-dispatch events; make new ones
- # [09:05] <zewt> it seemed like that's what browsers (except IE) actually do--but I got sidetracked by other weirdness and need to re-test
- # [09:06] <annevk> that would work too
- # [09:06] <annevk> although maybe initEvent() should be able to revive an event
- # [09:06] <annevk> (it doesn't currently reset the flags, I tested)
- # [09:07] <zewt> i need to re-check FF in particular re: resetting flags
- # [09:07] * Joins: bga_ (~bga@ppp91-122-51-148.pppoe.avangarddsl.ru)
- # [09:07] <zewt> i was testing with preventDefault(), but FF apparently doesn't fire default actions on synthesized clicks at all, which may have been confusing me
- # [09:07] <annevk> kk
- # [09:07] <zewt> so i need to check with stopPropagation
- # [09:07] <annevk> we should probably right down the various options and ask people what they think
- # [09:07] <annevk> write*
- # [09:08] <zewt> also I hate onhashchange to death for being async
- # [09:08] <annevk> bah, twisted my thumb over two weeks ago with skiing and it still bloody hurts
- # [09:08] <zewt> (makes it a pain to misappropriate it for event testing, heh)
- # [09:09] <annevk> heh
- # [09:09] <zewt> personally I try to avoid deliberately falling down mountains
- # [09:09] * Joins: kal-EL_ (~jor-EL@host99-65-dynamic.21-79-r.retail.telecomitalia.it)
- # [09:10] <zewt> afk, food hunt
- # [09:10] <annevk> going down recklessly is a lot of fun; though I have to be careful because otherwise Lachy will reprimand me for being reckless :)
- # [09:11] * Joins: virtuelv (~virtuelv_@pat-tdc.opera.com)
- # [09:12] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote host closed the connection)
- # [09:17] * Joins: thiessenp (~thiessenp@changeme.ebuddy.com)
- # [09:25] * Joins: ben_h (~ben@CPE-58-161-40-52.czqd1.win.bigpond.net.au)
- # [09:25] * Quits: ben_h (~ben@CPE-58-161-40-52.czqd1.win.bigpond.net.au) (Client Quit)
- # [09:27] * Quits: nattokirai (~nattokira@rtr.mozilla.or.jp) (Quit: nattokirai)
- # [09:29] <annevk> so should I mention developers.whatwg.org or should I leave that to a separate post?
- # [09:29] <annevk> I guess i'll leave it to a separate post
- # [09:34] * Joins: zcorpan (~zcorpan@c-8d9ae355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [09:35] <zcorpan> annevk: so who should i bug about getting rights to edit html5-differences?
- # [09:37] <annevk> mike probably
- # [09:37] <annevk> or maybe the sysreq@w3.org
- # [09:37] <annevk> they need your public key or some such and it should be all good
- # [09:40] <hsivonen> we don't want innerHTML-created style sheets to block scripts, right?
- # [09:45] <zewt> annevk: this is tricky enough that I wouldn't feel comfortable drawing any conclusions from it without review, but http://zewt.org/~glenn/test-event-flags
- # [09:45] * Quits: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net) (Ping timeout: 240 seconds)
- # [09:46] <zewt> a little hesitant to even spend much time squinting at the results in different browsers, since any bugs in those tests could lead me squinting off on a red herring
- # [09:52] * Joins: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net)
- # [09:53] <annevk> zewt, looks cool
- # [10:02] <annevk> I was gonna something to that...
- # [10:03] <annevk> namely that I will hopefully look at it later today
- # [10:03] <annevk> trying to focus on the blog entry first
- # [10:03] <annevk> and then probably flush out from-origin so the draft is somewhat more complete
- # [10:03] <annevk> I had wanted to do most of that yesterday, but I was dead tired instead :)
- # [10:04] * Joins: msucan (~robod@89.123.152.6)
- # [10:04] <zewt> tired of looking at events tonight, so take your time :)
- # [10:05] * Quits: SteveGL (~dev@174-21-221-107.tukw.qwest.net) (Quit: SteveGL)
- # [10:06] * Quits: cying (~cying@c-24-23-135-168.hsd1.ca.comcast.net) (Quit: cying)
- # [10:06] * Quits: dydx (~dydz@adsl-76-200-191-179.dsl.pltn13.sbcglobal.net) (Quit: dydx)
- # [10:09] * hsivonen just helped a person whose JS program failed due to Namespaces
- # [10:09] * Joins: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e)
- # [10:14] <micheil> hsivonen: namespaces?
- # [10:14] <hsivonen> micheil: the beloved Namespaces in XML
- # [10:15] <micheil> uhh.. okay, glad I don't need to deal with them
- # [10:16] * Joins: kor_ (~kor@ip146-53-210-87.adsl2.static.versatel.nl)
- # [10:18] <jgraham> hsivonen: What was the bug?
- # [10:18] * Quits: zcorpan (~zcorpan@c-8d9ae355.410-6-64736c14.cust.bredbandsbolaget.se) (Remote host closed the connection)
- # [10:19] <hsivonen> jgraham: svgscript.setAttribute("xlink:href", "foo.js");
- # [10:19] * Joins: zcorpan (~zcorpan@c-8d9ae355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [10:20] <annevk> that would work if the element in question had a namespaced attribute named xlink:href to begin with
- # [10:20] * Joins: jeremyselier (~Jeremy@pro75-4-82-238-200-10.fbx.proxad.net)
- # [10:20] <hsivonen> annevk: really? that seems super-bad design in the DOM.
- # [10:21] * Joins: alrra (592f527d@gateway/web/freenode/ip.89.47.82.125)
- # [10:21] <jgraham> hsivonen: why the note of surprise?
- # [10:21] <jgraham> The DOM has plenty of bad design :)
- # [10:21] <hsivonen> jgraham: I know the DOM has plenty of bad design, but this is worse than usual
- # [10:24] <hsivonen> in other news, it seems that I have made a rather bad bug in Gecko's script loader
- # [10:24] <hsivonen> I'm shocked that I haven't noticed it before
- # [10:25] <hsivonen> http://hsivonen.iki.fi/test/moz/premature-script-execution/test-external.html
- # [10:25] * Quits: pesla (~pesla@mail.itoffshorenepal.com) (Quit: Computer has gone to sleep.)
- # [10:28] <zcorpan> annevk: "If the context object does not have an Attr object whose local name is qualifiedName" ...
- # [10:29] <jgraham> hsivonen: The bug being that it doesn't wait for the alert?
- # [10:29] <annevk> zcorpan, hmm bug
- # [10:29] <annevk> at least, I think it is
- # [10:29] <zewt> is that the external script bug we were talking about the other day?
- # [10:29] <hsivonen> jgraham: the bug being that the inserted script runs before the inserted script finishes
- # [10:30] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [10:30] <jgraham> One day I plan to clean up Hallvord's script scheduling tests and submit them to the testsuite
- # [10:30] <annevk> i'd like to summarize public-html, but it's much more daunting
- # [10:30] <annevk> :/
- # [10:30] <zcorpan> annevk: seems gecko and webkit do as you say, but opera doesn't
- # [10:31] <jgraham> It's quite a bit of work though as they are based on guessing desired behaviour rather than a spec
- # [10:31] <jgraham> and so are wrong in some cases
- # [10:31] <zcorpan> anyone have ie9 at hand? http://software.hixie.ch/utilities/js/live-dom-viewer/saved/850
- # [10:31] <zewt> hsivonen: i noticed that a while back, but I assumed it was known, and bugzilla is too hard to search ... sorry, heh
- # [10:31] <hsivonen> whoa, whoa! the script run in the right order if I use console.log.
- # [10:31] <hsivonen> not my bug!
- # [10:32] <hsivonen> bug in the new tab-model alert stuff more likely
- # [10:32] <hsivonen> whew.
- # [10:32] <zewt> yeah, that's what I thought you meant
- # [10:32] <hsivonen> I thought I had committed totally bogus code
- # [10:32] <zewt> alert() doesn't fully pause the event loop; external scripts will load during it now
- # [10:33] <hsivonen> zewt: I was wondering how tab modal alert was even possible with the required event loop semantics
- # [10:33] <hsivonen> violating the required semantics explains it
- # [10:34] <zewt> zcorpan: "IE has modified this page to help prevent cross-site scripting." and doesn't show anything
- # [10:34] <zewt> hsivonen: Opera does it correctly, IIRC
- # [10:34] <jgraham> Hmm, making tab modal alert possible seems important
- # [10:34] <hsivonen> zewt: yes, it does
- # [10:34] <zewt> the event loop is "paused" (no queued tasks run)
- # [10:34] <hsivonen> zewt: Opera's architecture is radically different
- # [10:34] <zewt> yeah, I'll take modal alerts no matter how many weird bugs it causes
- # [10:35] <zcorpan> zewt: can you disable or work around the xss protection?
- # [10:35] <zewt> zcorpan: it only has a "What's the risk?" link and an "X", no "no seriously, do it" button
- # [10:36] <zcorpan> zewt: you can disable it somewhere in prefs. to work aruond it, open the link in another browser, copy the input, paste it into ie
- # [10:36] <zewt> I just ran the code directly
- # [10:36] <zewt> x<script>document.body.setAttributeNS('x','xlink:href','1');
- # [10:36] <zewt> document.body.setAttribute('xlink:href','2');
- # [10:36] <zewt> alert(document.body.getAttribute('xlink:href'));
- # [10:36] <zewt> alerts 2 (as I'd expect)
- # [10:37] <zewt> why would/should that do anything else? seems the obvious behavior
- # [10:37] <zcorpan> thanks
- # [10:37] <zcorpan> seems like stupid behavior to me :)
- # [10:37] <zewt> ... how so?
- # [10:37] <zcorpan> would be much clearer if setAttribute() always set a no-namespace attribute
- # [10:37] <hsivonen> zcorpan: BODY xlink:href="2"
- # [10:37] * Joins: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no)
- # [10:38] <zewt> i'm not even sure what that is, heh
- # [10:38] <zewt> why should x.setAttribute(a, b); x.getAttribute(a); ever return anything other than b?
- # [10:38] <zcorpan> what you get if you didn't have the first line in the script
- # [10:38] <zewt> ah that namespace
- # [10:39] <hsivonen> apparently if you have disabled the XSS filter for software.hixie.ch before installing IE9 RC, you need to disable it again after installing RC for it to take effect in RC
- # [10:39] <zewt> i'm not familiar with those--to me "namespace" is just the "xlink:" part of the attribute name
- # [10:39] <hsivonen> zewt: that's how bugs emerge
- # [10:39] <zewt> not even sure what the point of those NS functions is; I've never seen them used so I've never felt the need to see what they're for
- # [10:40] <hsivonen> zewt: the short version is that if you are doing SVG stuff without *NS, you are writing broken code
- # [10:40] <jgraham> (or MathML)
- # [10:40] <zewt> sounds like ugly legacy noise
- # [10:40] <jgraham> Hah
- # [10:40] <hsivonen> zewt: YES
- # [10:41] <zewt> which seems to comprise a significant chunk of DOM, heh
- # [10:41] <jgraham> It is the glorious future, don't ya know
- # [10:41] <zewt> but I'm still not sure why x.setAttribute('a:b', 'c'); x.getAttribute('a:b') shouldn't return 'c'
- # [10:41] <zcorpan> i guess we should suck it up and change opera, since we're the odd one out
- # [10:41] <zcorpan> but it still sucks
- # [10:42] <zewt> i've used attributes like that before, though I havn't had any reason to set them; mostly to let me put custom attributes in markup
- # [10:42] <zcorpan> zewt: i wouldn't mind if getAttribute() also only worked for no-namespace attributes, but there may be web compat problems with changing that
- # [10:43] <zewt> such as a whole lot of my code :)
- # [10:43] <jgraham> It turns out that colons are the worst possible character for doing custom whatever
- # [10:43] <jgraham> because they pull in all this architecture
- # [10:43] <zewt> well, not a lot, but I've been using it more lately, and I've never even considered using *NS for it
- # [10:43] <jgraham> that you don't want
- # [10:43] <jgraham> hence -data-foo
- # [10:43] <zcorpan> it'd still work if you used non-NS methods for both and never use NS methods
- # [10:44] <zcorpan> and don't use <svg xlink:href>
- # [10:44] <hsivonen> jgraham: it's happy fun that Facebook uses colons in HTML DOMs all over
- # [10:44] <zewt> well, the question for my code isn't setAttribute, it's markup
- # [10:44] <hsivonen> jgraham: with *NS methods!
- # [10:45] <jgraham> hsivonen: I guess facebook has a culture of thinking they are smart enough to play with fire
- # [10:45] <zewt> well, if it works in every browser people test in, then people have no reason to think they're doing so
- # [10:45] * Joins: pesla (~pesla@mail.itoffshorenepal.com)
- # [10:46] <zewt> and if it works in every (or many) browsers, then the good old de facto standard process kicks in :|
- # [10:46] <hsivonen> zewt: that logic doesn't work for Facebook, since they have at least four engine-specific code paths
- # [10:46] <zewt> haha
- # [10:46] <hsivonen> zewt: so there's no guarantee that whatever happens on one of them would work cross-browser
- # [10:47] <zewt> i don't even use facebook, but from the times I've loaded the page, they're not doing anything fancy at all that would warrant that kind of complexity
- # [10:50] * Joins: apostolos (~apostolos@ppp091138142156.dsl.hol.gr)
- # [10:51] <jgraham> zewt: The implementation of facebook is more fancy than the content would suggest. Some of it seems a lit like unnecessary complexity, however
- # [10:52] <zewt> geh
- # [10:52] <jgraham> e.g. a great deal of content is loaded from scripts in order to reduce loading times (or something)
- # [10:52] * Quits: apostolos (~apostolos@ppp091138142156.dsl.hol.gr) (Client Quit)
- # [10:52] <zewt> on that setAttribute case, innerHTML shows <body href="2">
- # [10:52] * Joins: apostolos (~apostolos@ppp091138142156.dsl.hol.gr)
- # [10:52] <zewt> if I comment out the setAttributeNS, i get <body xlink:href="2>
- # [10:53] <zewt> in FF3
- # [10:53] <zewt> ">
- # [10:53] <zewt> do I even want to know? heh
- # [10:53] * Joins: david_carlisle (~davidc@86.188.197.189)
- # [10:58] * Quits: apostolos (~apostolos@ppp091138142156.dsl.hol.gr) (Quit: apostolos)
- # [10:58] * Joins: apostolos (~apostolos@ppp091138142156.dsl.hol.gr)
- # [10:59] * Joins: Necrathex (~nectop@82-170-160-25.ip.telfort.nl)
- # [11:04] <annevk> http://blog.whatwg.org/weekly-same-origin
- # [11:05] * Joins: workmad3 (~workmad3@cspool123.cs.man.ac.uk)
- # [11:09] * Joins: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de)
- # [11:15] * Joins: richt (~richt@pat-tdc.opera.com)
- # [11:15] <annevk> when is ben usually online?
- # [11:15] <annevk> I suppose I can write some announcement post tomorrow if he's too busy for it
- # [11:21] * Joins: ZombieLoffe (~e@unaffiliated/zombieloffe)
- # [11:24] * Joins: matijsb (~matijsb@188.205.108.18)
- # [11:28] * Quits: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no) (Quit: This computer has gone to sleep)
- # [11:32] * bga_ is now known as bga_|away
- # [11:42] * Quits: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Ping timeout: 240 seconds)
- # [11:43] * Joins: reni_ (~reni@sedkit.inf.u-szeged.hu)
- # [11:44] * Joins: Lachy (~Lachlan@pat-tdc.opera.com)
- # [11:45] * Joins: myakura (~myakura@p1182-ipbf4006marunouchi.tokyo.ocn.ne.jp)
- # [11:50] * Quits: reni_ (~reni@sedkit.inf.u-szeged.hu) (Quit: Leaving)
- # [11:52] <annevk> in ABNF
- # [11:52] <annevk> well, HTTP BNF
- # [11:52] <annevk> there's #header-value
- # [11:52] <annevk> what is #header-value-or-some-other-value
- # [11:52] <annevk> #[a|b
- # [11:52] <annevk> ]
- # [11:52] <annevk> or just #a|b ?
- # [11:57] * Quits: homata__ (~homata_@58x158x182x50.ap58.ftth.ucom.ne.jp) (Remote host closed the connection)
- # [11:58] <kennyluck> annevk, in http://blog.whatwg.org/weekly-same-origin , the first link in the second item (dom) links to the wrong page (bugzilla) it seems.
- # [11:59] <annevk> not here...
- # [12:00] <annevk> it seems there is some markup error though
- # [12:00] * annevk goes to fix
- # [12:01] <annevk> fixed
- # [12:02] <kennyluck> thanks!
- # [12:02] * Quits: workmad3 (~workmad3@cspool123.cs.man.ac.uk) (Read error: Connection reset by peer)
- # [12:02] * Joins: gonemad3 (~workmad3@cspool123.cs.man.ac.uk)
- # [12:06] * Quits: wakaba_0 (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp) (Quit: Leaving...)
- # [12:08] * bga_|away is now known as bga_
- # [12:11] * Quits: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de) (Quit: Now time for the weather. Tiffany?)
- # [12:13] * gonemad3 is now known as workmad3
- # [12:17] * Joins: danbri (~danbri@cpc6-aztw25-2-0-cust83.aztw.cable.virginmedia.com)
- # [12:17] * Joins: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de)
- # [12:27] * Joins: tbassetto (~tbassetto@pro75-4-82-238-200-10.fbx.proxad.net)
- # [12:30] * Joins: smaug____ (~chatzilla@cs181139127.pp.htv.fi)
- # [12:34] * Quits: david_carlisle (~davidc@86.188.197.189) (Ping timeout: 240 seconds)
- # [12:38] <annevk> http://dvcs.w3.org/hg/from-origin/raw-file/tip/Overview.html#from-origin-response-header now has a processing model
- # [12:44] * Quits: pesla (~pesla@mail.itoffshorenepal.com) (Quit: Computer has gone to sleep.)
- # [12:48] <hsivonen> annevk: the spec is completely obscure unless one remembers what prefix # means in this flavor of BNF
- # [12:49] <hsivonen> annevk: can the header take a list of multiple origins?
- # [12:49] <zewt> where's the definition of this BNF syntax? should it be referenced explicitly?
- # [12:50] <hsivonen> annevk: it's very sad that CORS doesn't allow multiple origins to be specified
- # [12:50] <hsivonen> zewt: that would help
- # [12:51] <zewt> i assumed the #[] meant a comma-separated list or something like that
- # [12:51] * hsivonen doesn't know what #[] means
- # [12:52] <hsivonen> also, the words origin and same aren't quoted but if they are non-terminals, I don't see expansions, either
- # [12:53] <hsivonen> "if none of" suggests that a list is allowed
- # [12:53] * Joins: pesla (~pesla@mail.itoffshorenepal.com)
- # [12:55] <annevk> hsivonen, first version of CORS is not meant for static resources
- # [12:55] <annevk> hsivonen, that Gecko used it for fonts without prior discussion with WebApps, well, ...
- # [12:55] <annevk> # is some HTTPism
- # [12:56] <annevk> makes sense to me to define headers the same way HTTP does
- # [12:56] * Joins: riven` (~riven@53518387.cm-6-2c.dynamic.ziggo.nl)
- # [12:56] <annevk> you're right about same, I should make that an expansion and link origin to some definition in the origin concept draft
- # [12:58] <zewt> "same" = empty list, don't terminate in step 1 and depend on step 5 to allow same-origin only?
- # [12:59] <annevk> terminate means "these steps don't apply"
- # [12:59] <annevk> that should prolly be clarified somewhat
- # [12:59] <zewt> i know that
- # [12:59] * Quits: riven (~riven@pdpc/supporter/professional/riven) (Ping timeout: 240 seconds)
- # [12:59] <annevk> and "same" is a convenience keyword
- # [12:59] <annevk> if you can specify an empty header that should probably be allowed too
- # [12:59] * riven` is now known as riven
- # [12:59] <zewt> i mean "From-Origin: same" means #1 won't terminate and step 7 will always terminate?
- # [12:59] * Quits: riven (~riven@53518387.cm-6-2c.dynamic.ziggo.nl) (Changing host)
- # [12:59] * Joins: riven (~riven@pdpc/supporter/professional/riven)
- # [13:00] * Joins: arkonova (~arkonova@unicom-16.unil.ch)
- # [13:00] <zewt> er, abort
- # [13:00] <annevk> right
- # [13:00] <annevk> however, before step 7 it will be terminated if it's same origin
- # [13:00] <annevk> so that's all good
- # [13:00] <zewt> i figured that was the idea
- # [13:00] <zewt> having an empty header would be cleaner but yeah I don't remember if that's allowed, and it might be a bad idea anyway since nothing ever does that
- # [13:01] <zewt> probably best for empty header to be equivalent to no header
- # [13:01] * Quits: ZombieLoffe (~e@unaffiliated/zombieloffe) (Ping timeout: 240 seconds)
- # [13:01] <annevk> actually, WebDAV does that I believe
- # [13:02] <annevk> XHR also has a distinction between no header and empty string value
- # [13:02] <zewt> for example, there's no way to specify an empty header with curl
- # [13:02] <zewt> specifying an empty header removes it
- # [13:03] <annevk> anyway, currently it's not allowed
- # [13:03] <annevk> # means one or more
- # [13:03] <annevk> iirc
- # [13:03] <hsivonen> annevk: so is From-Origin: same, same conforming?
- # [13:03] <zewt> should it be #[origin | "same"]?
- # [13:04] <hsivonen> annevk: it would be really nice to link the word "BNF" to whatever IETF flavor of BNF this is
- # [13:04] <zewt> bnf-fu very rusty
- # [13:04] <hsivonen> annevk: also, linking the non-terminals to their expansions would be really nice
- # [13:04] <annevk> hsivonen, yes and yes it would; guess I'll do it now
- # [13:04] <annevk> zewt, no, then same would not be case-sensitive
- # [13:05] * Quits: riven (~riven@pdpc/supporter/professional/riven) (Read error: Connection reset by peer)
- # [13:05] * Joins: riven (~riven@53518387.cm-6-2c.dynamic.ziggo.nl)
- # [13:05] * Quits: riven (~riven@53518387.cm-6-2c.dynamic.ziggo.nl) (Changing host)
- # [13:05] * Joins: riven (~riven@pdpc/supporter/professional/riven)
- # [13:07] * Joins: ZombieLoffe (~e@unaffiliated/zombieloffe)
- # [13:08] <karlcow> http://www.w3.org/TR/2000/REC-xml-20001006#sec-notation a link for EBNF
- # [13:08] <zewt> this relates not just to HTML but HTTP; should it reference HTTP for what "response header" means? not sure how explicit that's typically made
- # [13:09] <annevk> maybe case-insensitive is okay
- # [13:09] <zewt> that definition says "strings" are case-sensitive
- # [13:09] <annevk> lets not confuse HTTP ABNF with EBNF
- # [13:10] <karlcow> there is also ABNF http://tools.ietf.org/html/rfc4234
- # [13:10] <karlcow> http://tools.ietf.org/html/rfc5234
- # [13:11] <karlcow> geez with erratas
- # [13:12] <hsivonen> karlcow: XML BNF is readable. Unlike the IETF stuff.
- # [13:12] <zewt> 15.7.1 Denial of Service Attacks on Proxies
- # [13:12] <zewt> They exist. They are hard to defend against. Research continues.
- # [13:12] <zewt> Beware.
- # [13:12] <zewt> gotta love a spec that uses the single word "beware" as a sentence
- # [13:13] <zewt> http://tools.ietf.org/html/rfc2616#page-14
- # [13:14] <zewt> ("page-14" as an anchor? really?)
- # [13:14] <jgraham> ietf is kinda fucked up
- # [13:14] <zewt> writing specs as if the expectation is that everyone's going to print them out ... that's pretty amusing even for 1999
- # [13:15] <jgraham> They regard technologies that postdate the 60s with suspicion and even downright hostility
- # [13:15] <zcorpan> "They exist. They are hard to defend against. Research continues. Beware." seems like a good section for other stuff as well, like "Security considerations"
- # [13:15] * Quits: pesla (~pesla@mail.itoffshorenepal.com) (Remote host closed the connection)
- # [13:17] * bga_ is now known as bga_|away
- # [13:17] <zewt> can I be happy that we're in an age where we no longer feel the need to explicitly reference the ASCII spec from HTML
- # [13:17] <annevk> http://dvcs.w3.org/hg/from-origin/raw-file/tip/Overview.html#from-origin-response-header refresh
- # [13:18] * Joins: MikeSmith (~MikeSmith@EM111-188-76-141.pool.e-mobile.ne.jp)
- # [13:18] <jgraham> I thought we did reference the ASCII spec
- # [13:18] <karlcow> zewt: for http I recommend to look in the direction of httpbis
- # [13:19] <jgraham> They was a whole cycle of the Issue process around it, was there not?
- # [13:19] <karlcow> http://tools.ietf.org/wg/httpbis/
- # [13:21] <zewt> annevk: perhaps explicitly say that these steps are to be performed as part of the "main step" of fetching
- # [13:21] <zewt> assuming that's where it goes
- # [13:22] <zewt> (implying that if F-O aborts the resource, cookies aren't updated, and so on)
- # [13:22] * Quits: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de) (Quit: Now time for the weather. Tiffany?)
- # [13:24] * Joins: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de)
- # [13:24] * Joins: MrOpposite (~mropposit@unaffiliated/mropposite)
- # [13:25] * Quits: workmad3 (~workmad3@cspool123.cs.man.ac.uk) (Remote host closed the connection)
- # [13:25] <zcorpan> annevk: RFC2119 ref is broken
- # [13:26] * Joins: jre (~chatzilla@mail.greenbytes.de)
- # [13:26] <jre> annevk, zevt: reusing the HTTP ABNF makes sense here.
- # [13:26] <annevk> thanks zewt, done
- # [13:27] <jre> the reference should go to http://greenbytes.de/tech/webdav/rfc2616.html#rfc.section.2.1
- # [13:27] <jre> (not that URI, but RFC 2616, Section 2.1)
- # [13:27] <zewt> httpbis ref is http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-12#page-7 but if it's the same may as well not use an in-progress reference
- # [13:27] <jre> you'll also need to steal the definition of OWS from HTTPbis
- # [13:27] <zewt> <zewt> http://tools.ietf.org/html/rfc2616#page-14 <- that's the 2616 ref
- # [13:28] <jre> http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p1-messaging-12.html#rfc.section.1.2.2
- # [13:28] <annevk> I guess I'll just say that the ABNF is the same as the Web Origin Concept
- # [13:28] <annevk> so I can avoid dealing with HTTP references
- # [13:28] * Joins: david_carlisle (~davidc@86.188.197.189)
- # [13:28] <jre> it may make sense to steal the details from the new cookie spec
- # [13:29] <jre> actually no: it uses the 5234 syntax
- # [13:29] <annevk> it now just references ORIGIN
- # [13:30] <annevk> which in turn hopefully references some correct spec, but it's no longer my problem :)
- # [13:30] * Parts: jre (~chatzilla@mail.greenbytes.de)
- # [13:30] <annevk> actually, this is not quite correct
- # [13:30] <annevk> bah
- # [13:31] * bga_|away is now known as bga_
- # [13:32] <zewt> annevk: the fetch algorithm has a specifically named "main step"; i think it makes sense to refer to it by name to be precise about where in the algorithm it goes
- # [13:32] * Quits: david_carlisle (~davidc@86.188.197.189) (Ping timeout: 240 seconds)
- # [13:32] <zewt> (of course, it won't be when multiple addon-specs are doing that, but heh)
- # [13:32] <annevk> origin-list is space separated :/
- # [13:34] * Joins: david_carlisle (~davidc@86.188.197.189)
- # [13:36] * Quits: apostolos (~apostolos@ppp091138142156.dsl.hol.gr) (Quit: apostolos)
- # [13:37] <annevk> fixed bnf again
- # [13:37] * Joins: workmad3 (~workmad3@cspool123.cs.man.ac.uk)
- # [13:37] <annevk> zewt, yeah, this all needs to be integrated one day
- # [13:38] <annevk> at some point someone might take everything network and write it all down :)
- # [13:39] <MikeSmith> annevk: please take a look at http://dev.w3.org/2006/webapi/WebNotifications/static.html and let me know if you see any problems
- # [13:39] <MikeSmith> please compare to http://dev.w3.org/2006/webapi/WebNotifications/publish/Notifications.html
- # [13:39] <MikeSmith> the main difference is where/how the Notification constructor is defined
- # [13:39] * Joins: hendry (~hendry@webconverger.org)
- # [13:41] <annevk> MikeSmith, that is wrong
- # [13:41] <MikeSmith> Berjon's current JS respec does not seem to provide any way to handle the constructor differently than normal methods
- # [13:41] <MikeSmith> hmm
- # [13:41] <MikeSmith> oK
- # [13:41] <hendry> Philip`: hi there, can we chat about how reports are gathered with your test harness?
- # [13:41] <annevk> MikeSmith, now it says there's a method Notification on the Notification object
- # [13:41] <MikeSmith> annevk; so now I have to hack fricking respec more
- # [13:42] <MikeSmith> yeah, I know
- # [13:42] <annevk> MikeSmith, respec2 doesn't handle it either? sounds painful
- # [13:42] <MikeSmith> I can't imagine this is the first spec using respec that has needed to document a constructtor
- # [13:42] <annevk> MikeSmith, I'm fine with publishing as-is though, maybe with a note
- # [13:43] <annevk> or maybe berjon knows a cure
- # [13:43] <MikeSmith> nah, I can fix it today
- # [13:43] <MikeSmith> maybe
- # [13:43] <annevk> zewt, added main step
- # [13:43] <annevk> zewt, hsivonen, thanks a lot
- # [13:44] * Quits: david_carlisle (~davidc@86.188.197.189) (Ping timeout: 250 seconds)
- # [13:45] * Quits: smaug____ (~chatzilla@cs181139127.pp.htv.fi) (Ping timeout: 240 seconds)
- # [13:46] * Joins: david_carlisle (~davidc@86.188.197.189)
- # [13:52] * Joins: mpt (~mpt@91.189.88.12)
- # [13:52] * Quits: mpt (~mpt@91.189.88.12) (Changing host)
- # [13:52] * Joins: mpt (~mpt@canonical/mpt)
- # [14:02] * Quits: david_carlisle (~davidc@86.188.197.189) (Ping timeout: 250 seconds)
- # [14:02] * Quits: ZombieLoffe (~e@unaffiliated/zombieloffe)
- # [14:16] * Joins: iamjarvo (~jearvondh@pool-98-114-96-236.phlapa.fios.verizon.net)
- # [14:24] * Parts: iamjarvo (~jearvondh@pool-98-114-96-236.phlapa.fios.verizon.net)
- # [14:28] * Quits: arkonova (~arkonova@unicom-16.unil.ch) (Quit: Linkinus - http://linkinus.com)
- # [14:30] * Parts: alrra (592f527d@gateway/web/freenode/ip.89.47.82.125)
- # [14:31] * Joins: davidb (~davidb@corp.tor1.mozilla.com)
- # [14:33] * Quits: workmad3 (~workmad3@cspool123.cs.man.ac.uk) (Remote host closed the connection)
- # [14:33] * Joins: workmad3 (~workmad3@cspool123.cs.man.ac.uk)
- # [14:39] * Quits: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e) (Quit: Leaving.)
- # [14:39] * Quits: webr3 (~nathan@host86-143-252-22.range86-143.btcentralplus.com) (Ping timeout: 252 seconds)
- # [14:40] * Joins: agektmr (~Adium@220.109.219.244)
- # [14:46] * Quits: MikeSmith (~MikeSmith@EM111-188-76-141.pool.e-mobile.ne.jp) (Read error: Connection reset by peer)
- # [14:46] * Quits: karlcow (~karl@nerval.la-grange.net) (Remote host closed the connection)
- # [14:48] <Philip`> hendry: Sure
- # [14:48] <Philip`> hendry: (Which test harness?)
- # [14:50] * Joins: miketaylr (~miketaylr@206.217.92.186)
- # [14:53] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [14:53] * Quits: karlcow (~karl@nerval.la-grange.net) (Client Quit)
- # [14:53] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [14:55] * Joins: matjas (~matjas@79.232-136-217.adsl-static.isp.belgacom.be)
- # [14:57] * Joins: MikeSmith (~MikeSmith@EM111-188-76-141.pool.e-mobile.ne.jp)
- # [15:03] * Joins: erlehmann (~erlehmann@82.113.99.11)
- # [15:04] * Joins: webr3 (~nathan@host86-143-252-22.range86-143.btcentralplus.com)
- # [15:05] * Quits: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de) (Quit: Now time for the weather. Tiffany?)
- # [15:05] <hendry> Philip`: w3c one, did you get my email btw?
- # [15:06] <Philip`> hendry: I see the email now
- # [15:07] <Philip`> I know nothing about the W3C test reporting system
- # [15:07] <jgraham> hendry: What is the question?
- # [15:07] <Philip`> I've heard that it's mostly manual so I haven't been inclined to have a look at it
- # [15:09] <hendry> jgraham: just a general enquiry to how the actual reporting is done. e.g. http://dvcs.w3.org/hg/html/file/tip/tests/submission
- # [15:09] <hendry> Philip`: i.e. how automation is best done :)
- # [15:10] <jgraham> hendry: Oh, like Philip` I haven't dared look at that too hard
- # [15:10] * Joins: bfrohs (~bfrohs@smtp.forewordinternal.com)
- # [15:11] <jgraham> There is a javascript thing in the repo somewhere that opens the tests in an iframe and lets people submit the results and builds that XML or something
- # [15:11] <hendry> jgraham: if you find it let me know
- # [15:12] <hendry> jgraham, Philip` if there are reporting / automated examples I could see, I would be grateful
- # [15:12] * Joins: Stikki (Stikki@dsl-pribrasgw1-fe85dd00-176.dhcp.inet.fi)
- # [15:12] <Philip`> http://test.w3.org/html/tests/harness/harness.htm
- # [15:12] <Philip`> You click pass/fail buttons 819 times and then click "test results" and then post it to a mailing list, I think
- # [15:12] <hendry> Philip`: ah ..
- # [15:13] <jgraham> hendry: Oh, Philip` beat me to it
- # [15:13] <jgraham> The whole thing is insane
- # [15:13] <jgraham> the most useful thing would be if people would stop spamming me with test results :(
- # [15:13] <Philip`> http://philip.html5.org/tests/canvas/suite/reportgenentry.html is my automated one but that's for a slightly obsolete version of the tests
- # [15:13] <Philip`> and also you can't submit the results anywhere
- # [15:13] <jgraham> But there must be something somewhere encouraging it
- # [15:14] <jgraham> Also, it is quite trivial to build an automated harness for the javascript tests
- # [15:14] <jgraham> Since it has an API specifically for that purpose
- # [15:14] <zewt> click a button 819 times? make a game out of it and people will pay to run your tests for you
- # [15:15] <hendry> jgraham: where is this API documented?
- # [15:15] <jgraham> hendry: http://dvcs.w3.org/hg/html/file/0be07106838c/tests/resources/testharness.js
- # [15:15] <jgraham> See where it says "external API"
- # [15:15] * Quits: MikeSmith (~MikeSmith@EM111-188-76-141.pool.e-mobile.ne.jp) (Read error: Connection reset by peer)
- # [15:15] <jgraham> zewt: Heh
- # [15:16] <jgraham> We should totally do that
- # [15:16] * Joins: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de)
- # [15:16] <jgraham> Make people pay to buy a test autoclicker than can submit 5 results for them
- # [15:16] <Philip`> Make an online game like The Typing of the Dead
- # [15:17] <jgraham> I was totally thinking farmville
- # [15:17] <Philip`> where instead of showing you a word you have to type in to kill zombies, it shows a test case in an iframe and you have to select pass/fail to kill zombies
- # [15:17] * Joins: MikeSmith (~MikeSmith@EM111-188-76-141.pool.e-mobile.ne.jp)
- # [15:18] <Philip`> The end-of-level boss can be a series of test cases submitted by Microsoft where it's really hard to figure out whether it passed or failed
- # [15:18] * Quits: Rik` (~Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Remote host closed the connection)
- # [15:18] <zewt> heh typing of the dead
- # [15:18] <zewt> someone had me playing that years ago, except it was the japanese version on DC
- # [15:18] <hendry> jgraham: don't quite understand that "external API" stuff, was expecting to see a func with XMLHttpRequest post
- # [15:19] <Philip`> "Test passes if the text 'PASS' appears to the left and the text 'Your browser does not support media elements.' does not appear anywhere on this page."
- # [15:19] <zewt> not being able to read any of it made the boss battles ... a challenge
- # [15:19] <Philip`> That text will always appear on that page, as part of the instructions
- # [15:20] <hendry> jgraham: so one implements result_callback to post results or something?
- # [15:21] <hendry> jgraham: i need an example i think
- # [15:22] * Joins: plainhao (~plainhao@208.75.85.237)
- # [15:28] * Joins: boaz (~boaz@75-150-66-254-NewEngland.hfc.comcastbusiness.net)
- # [15:30] * Parts: boaz (~boaz@75-150-66-254-NewEngland.hfc.comcastbusiness.net)
- # [15:31] * Joins: boaz (~boaz@75-150-66-254-NewEngland.hfc.comcastbusiness.net)
- # [15:32] * Parts: boaz (~boaz@75-150-66-254-NewEngland.hfc.comcastbusiness.net)
- # [15:33] * Joins: boaz (~boaz@75-150-66-254-NewEngland.hfc.comcastbusiness.net)
- # [15:34] * Quits: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de) (Ping timeout: 276 seconds)
- # [15:34] <Workshiva> Philip`: This test intentionally left failing
- # [15:34] * Joins: BlurstOfTimes (~blurstoft@168.203.117.36)
- # [15:37] * Parts: jeromegn (~jeromegn@206-248-138-74.dsl.teksavvy.com)
- # [15:38] * Joins: nimbupani (~Adium@c-24-18-47-160.hsd1.wa.comcast.net)
- # [15:40] * Joins: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de)
- # [15:47] * Joins: Rik` (~Rik`@mozilla-paris-253-99.cnt.nerim.net)
- # [15:49] <jgraham> Philip`: Hah
- # [15:50] * bga_ is now known as bga_|away
- # [15:51] <jgraham> hendry: If one loads the test in an iframe it will try to send the results to a function in the top-level browsing context called completion_callback
- # [15:51] * Joins: eric_carlson (~eric_carl@17.203.15.27)
- # [15:51] <jgraham> It might have been neater to use postMessage…
- # [15:51] <jgraham> In fact it might still be possible to change
- # [15:52] * Quits: kor_ (~kor@ip146-53-210-87.adsl2.static.versatel.nl) (Quit: kor_)
- # [15:53] <annevk> zcorpan, need any information on generating the spec?
- # [15:54] <annevk> I currently use (and change ED to WD somewhere and add -F date=2011-xx-xx when generating a copy for publication):
- # [15:54] <annevk> curl -u w3c-user:password -F file=@Overview.src.html -F group=none -F output=html -F method=file http://cgi.w3.org/member-bin/process.cgi -o Overview.html
- # [15:57] * Joins: kor_ (~kor@ip146-53-210-87.adsl2.static.versatel.nl)
- # [15:57] * Joins: tw2113 (~tw2113asw@169.231.106.216.unassigned.sdncommunications.com)
- # [15:57] * Quits: tw2113 (~tw2113asw@169.231.106.216.unassigned.sdncommunications.com) (Changing host)
- # [15:57] * Joins: tw2113 (~tw2113asw@fedora/tw2113)
- # [15:59] * bga_|away is now known as bga_
- # [15:59] * Joins: cying (~cying@c-24-23-135-168.hsd1.ca.comcast.net)
- # [16:10] <zcorpan> annevk: thanks
- # [16:11] * Joins: bentruyman (~bentruyma@li159-104.members.linode.com)
- # [16:12] * Joins: MikeSmith_ (~MikeSmith@EM114-48-76-233.pool.e-mobile.ne.jp)
- # [16:15] <zcorpan> where do i change ED to WD?
- # [16:15] * Quits: MikeSmith (~MikeSmith@EM111-188-76-141.pool.e-mobile.ne.jp) (Ping timeout: 240 seconds)
- # [16:15] * MikeSmith_ is now known as MikeSmith
- # [16:20] <zcorpan> the current version seems to be WD
- # [16:24] * Quits: matjas (~matjas@79.232-136-217.adsl-static.isp.belgacom.be) (Quit: zZz)
- # [16:26] <zcorpan> annevk: ^
- # [16:29] <annevk> I guess you can keep it that way
- # [16:29] <zcorpan> ok
- # [16:30] <annevk> but if someone wants you to change it back, change WD to ED in the "This Version:" URL in http://dev.w3.org/html5/html4-differences/Overview.src.html
- # [16:30] <annevk> everything else should adjust automatically
- # [16:31] <zcorpan> ok
- # [16:31] <annevk> if something breaks with the generator you probably need to contact Bert Bos or switch to Anolis
- # [16:31] <annevk> publication related questions are probably best directed to Mike Smith
- # [16:31] <zcorpan> i added myself as editor to see if it'd work
- # [16:32] <MikeSmith> yeah, I can help with pub stuff
- # [16:32] <zcorpan> cool
- # [16:33] <zcorpan> i guess i'm all set then
- # [16:34] <zcorpan> annevk: one more, what do you check when you update it? just the svn log?
- # [16:34] <annevk> yes
- # [16:34] <zcorpan> ok
- # [16:34] <annevk> I keep track of SVN numbers in the comments
- # [16:34] <zewt> how did this thread about microphone devices suddenly turn towards sh? heh
- # [16:34] <zewt> that may be the most nonsensical suggestion I've seen on the list yet
- # [16:35] <annevk> if you look at the HTML5 changelogs section it should be pretty simple to figure out
- # [16:35] <annevk> that is, if you look at the source
- # [16:35] * Quits: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de) (Ping timeout: 250 seconds)
- # [16:35] <annevk> feel free to make more ambitious changes though :)
- # [16:35] <annevk> such as defining the DOM HTML delta or some such
- # [16:35] <annevk> ;)
- # [16:36] <zcorpan> heh, don't worry, i won't :)
- # [16:37] <zcorpan> ok seeya
- # [16:38] <annevk> :)
- # [16:38] <zcorpan> btw i won't be in linköping this week
- # [16:38] <zcorpan> so i guess i won't seeya
- # [16:38] <zcorpan> anyway
- # [16:39] * Quits: zcorpan (~zcorpan@c-8d9ae355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
- # [16:39] <annevk> aaah
- # [16:41] * Joins: smaug____ (~chatzilla@cs181139127.pp.htv.fi)
- # [16:41] <annevk> Ms2ger, when you read this, jgraham has been given access to dom-core to commit some tests
- # [16:43] * Joins: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de)
- # [16:45] <annevk> zcorpan, you forgot "editor" under "Acknowledgments" :)
- # [16:52] * Quits: MrOpposite (~mropposit@unaffiliated/mropposite) (Ping timeout: 272 seconds)
- # [16:53] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 272 seconds)
- # [16:56] * Quits: MikeSmith (~MikeSmith@EM114-48-76-233.pool.e-mobile.ne.jp) (Ping timeout: 240 seconds)
- # [17:05] * Quits: maikmerten (~merten@ls5dhcp197.cs.uni-dortmund.de) (Remote host closed the connection)
- # [17:10] * Quits: Maurice (~ano@77.222.73.150) (Quit: Disconnected...)
- # [17:16] * Quits: thiessenp (~thiessenp@changeme.ebuddy.com) (Quit: thiessenp)
- # [17:16] <Rik`> "Error: Text run is not in Unicode Normalization Form C."
- # [17:16] <Rik`> what the hell does that mean?
- # [17:17] <jgraham> Dunno why it's an error
- # [17:17] <jgraham> But apart from that it means what it says, mostly
- # [17:17] <Workshiva> Because unicode is bad enough with NFC
- # [17:18] <jgraham> Rik`: It means that certain sequences of characters and combining characters are in docomposed form rather than single-codepoint form
- # [17:18] <jgraham> e.g. if you have an e character followed by an acute combining mark
- # [17:18] <Workshiva> If you have e.g. A followed by ring-above-symbol-whatnot instead of Å
- # [17:18] <jgraham> rather than an e-acute character
- # [17:19] <Rik`> jgraham: oh right, thanks !
- # [17:19] <jgraham> Rik`: Note that NFC doesn't mean that there aren't *any* combining chracters
- # [17:19] <jgraham> It just means that there aren't the ones in NFC
- # [17:19] <jgraham> (I believe that NFD is fully decomposed, however)
- # [17:20] <jgraham> http://unicode.org/reports/tr15/
- # [17:20] * Joins: tndH (~Rob@cpc15-seac19-2-0-cust232.7-2.cable.virginmedia.com)
- # [17:21] <jgraham> Also http://diveintomark.org/archives/2004/07/06/nfc seems quite relevant to your situation
- # [17:24] * Quits: cying (~cying@c-24-23-135-168.hsd1.ca.comcast.net) (Quit: cying)
- # [17:30] * Joins: mpt (~mpt@canonical/mpt)
- # [17:36] * Quits: matijsb (~matijsb@188.205.108.18) (Quit: Leaving.)
- # [17:38] * Quits: Stikki (Stikki@dsl-pribrasgw1-fe85dd00-176.dhcp.inet.fi) (Read error: Operation timed out)
- # [17:38] * Joins: Stikki (Stikki@dsl-pribrasgw1-fe85dd00-176.dhcp.inet.fi)
- # [17:43] * Joins: dave_levin (~dave_levi@74.125.59.68)
- # [17:51] * bga_ is now known as bga_|away
- # [17:52] * Quits: myakura (~myakura@p1182-ipbf4006marunouchi.tokyo.ocn.ne.jp) (Remote host closed the connection)
- # [17:54] * Quits: Lachy (~Lachlan@pat-tdc.opera.com) (Quit: This computer has gone to sleep)
- # [17:56] * Quits: webr3 (~nathan@host86-143-252-22.range86-143.btcentralplus.com) (Ping timeout: 240 seconds)
- # [17:57] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
- # [17:57] * Joins: Martijnc (~Martijnc@91.176.13.121)
- # [17:58] * Quits: Martijnc (~Martijnc@91.176.13.121) (Read error: Connection reset by peer)
- # [17:59] * Joins: Martijnc (~Martijnc@91.176.13.121)
- # [18:00] * Joins: webr3 (~nathan@host86-142-128-87.range86-142.btcentralplus.com)
- # [18:02] * dglazkov|away is now known as dglazkov
- # [18:05] * Joins: cying (~cying@c-24-23-135-168.hsd1.ca.comcast.net)
- # [18:06] <Rik`> still experiencing funny error messages
- # [18:06] <Rik`> Error: Bad value UserVoice.Popin.show(uservoiceOptions); return false; for attribute onclick on element a: invalid return
- # [18:06] <Rik`> why is can't it "return false" ?
- # [18:06] <zewt> i don't even know what language that is, heh
- # [18:06] * Quits: Stikki (Stikki@dsl-pribrasgw1-fe85dd00-176.dhcp.inet.fi) (Ping timeout: 246 seconds)
- # [18:07] <zewt> of course I didn't sleep last night and I'm in zombie mode, but
- # [18:08] * Quits: bentruyman (~bentruyma@li159-104.members.linode.com) (Ping timeout: 264 seconds)
- # [18:09] * bga_|away is now known as bga_
- # [18:11] * Joins: matjas (~matjas@91.182.141.162)
- # [18:14] * Joins: MikeSmith (~MikeSmith@EM114-48-76-233.pool.e-mobile.ne.jp)
- # [18:14] * Quits: nimbupani (~Adium@c-24-18-47-160.hsd1.wa.comcast.net) (Remote host closed the connection)
- # [18:16] * Quits: wolfman2000 (~wolfman20@rrcs-70-63-208-211.midsouth.biz.rr.com) (Remote host closed the connection)
- # [18:17] * Quits: rimantas (~rimliu@93.93.57.193) (Quit: Leaving)
- # [18:18] * Quits: Workshiva (~Dashiva@74.125.57.36) (Remote host closed the connection)
- # [18:21] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [18:22] * Joins: Workshiva (~Dashiva@74.125.57.36)
- # [18:27] * bga_ is now known as bga_|away
- # [18:29] * Joins: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [18:31] * Joins: ezoe (~ezoe@112-68-244-153f1.kyt1.eonet.ne.jp)
- # [18:34] * Quits: micheil (~micheil@69.198.183.141) (Quit: http://brandedcode.com | http://github.com/miksago)
- # [18:39] * Quits: MikeSmith (~MikeSmith@EM114-48-76-233.pool.e-mobile.ne.jp) (Ping timeout: 272 seconds)
- # [18:39] * bga_|away is now known as bga_
- # [18:40] * Quits: cying (~cying@c-24-23-135-168.hsd1.ca.comcast.net) (Quit: cying)
- # [18:40] <karlcow> http://my.opera.com/core/blog/2011/02/28/webgl-and-hardware-acceleration-2
- # [18:40] <Rik`> hsivonen: do you have any idea ?
- # [18:41] * Quits: webr3 (~nathan@host86-142-128-87.range86-142.btcentralplus.com)
- # [18:43] * bga_ is now known as bga_|away
- # [18:46] <annevk> fuck iTunes
- # [18:46] <annevk> bought Radiohead album in WAV because why not
- # [18:46] <annevk> drag into iTunes
- # [18:46] <annevk> iTunes does not play ball
- # [18:47] <annevk> after modifying song names and album information appropriately myself (because iTunes does not play ball) it does not allow me to change the frigging artwork
- # [18:47] <annevk> does this mean I now have to buy the MP3 version to get this to work?
- # [18:52] <matjas> try using iTunes to convert it to MP3
- # [18:58] * Quits: erlehmann (~erlehmann@82.113.99.11) (Quit: Ex-Chat)
- # [18:59] <hsivonen> Rik`: any idea about return false; in onclick? no, no idea
- # [18:59] <zewt> WAV is hard stuff
- # [19:01] * Quits: workmad3 (~workmad3@cspool123.cs.man.ac.uk) (Remote host closed the connection)
- # [19:03] * Joins: bentruyman (~bentruyma@li159-104.members.linode.com)
- # [19:03] <matjas> TabAtkins: http://asi.qfox.nl/ is pretty cool
- # [19:03] <zewt> annevk: the terms "type" and "name" with events are used of ambiguously in places
- # [19:04] <Rik`> so validator.nu says there is an error but validator.w3.org says it's ok
- # [19:04] <zewt> DOM Core refers to the event interface as the "type" and the event name as the "name", but the parameter to init*Event functions is "type" (refering to the name)
- # [19:05] <zewt> and specs seem inconsistent (in eventsource within "dispatch the event", step 3 uses "name" and step 4 uses "type" to--I think--refer to the same thing)
- # [19:08] * Quits: ezoe (~ezoe@112-68-244-153f1.kyt1.eonet.ne.jp) (Ping timeout: 252 seconds)
- # [19:11] <zewt> might be more consistent for DOM Core to always say "event that uses the Event interface" and never refer to that as "type" or "name"
- # [19:11] * Quits: davve__ (~davve@83.218.67.122) (Remote host closed the connection)
- # [19:11] <TabAtkins> Yus! I missed 6 ASIs and wasted 8 unnecessary. Still pretty good!
- # [19:11] <zewt> (I think "type" is sort of entrenched, due to the prototypes of all of the initEvent methods)
- # [19:12] <TabAtkins> Most of those wasted ones were me putting them after function declarations, which the rules didn't call out explicitly.
- # [19:12] <TabAtkins> (It's subsumed in the "hidden rules" it mentions, I guess.)
- # [19:13] <karlcow> hmmmm checking http://www.w3.org/TR/DOM-Level-3-Events/ too
- # [19:15] <zewt> i think DOM Events always uses "type" to refer to the event name, not "name"
- # [19:15] * Joins: jwalden (~waldo@2620:101:8003:200:222:68ff:fe15:af5c)
- # [19:15] * Quits: karlcow (~karl@nerval.la-grange.net) (Remote host closed the connection)
- # [19:16] <zewt> so yeah I'd also change the term "name" to "type", I think
- # [19:17] * Quits: tw2113 (~tw2113asw@fedora/tw2113) (Quit: Leaving)
- # [19:19] * Joins: Steve^ (~steve@cpc2-hari1-0-0-cust1111.hari.cable.virginmedia.com)
- # [19:23] * Joins: chriseppstein (~chris@209.119.65.162)
- # [19:31] * bga_|away is now known as bga_
- # [19:32] * Quits: richt (~richt@pat-tdc.opera.com) (Remote host closed the connection)
- # [19:32] * Joins: richt (~richt@pat-tdc.opera.com)
- # [19:35] * Joins: ZombieLoffe (~e@unaffiliated/zombieloffe)
- # [19:36] * Quits: richt (~richt@pat-tdc.opera.com) (Remote host closed the connection)
- # [19:47] * Quits: danbri (~danbri@cpc6-aztw25-2-0-cust83.aztw.cable.virginmedia.com) (Remote host closed the connection)
- # [19:50] * Quits: jeremyselier (~Jeremy@pro75-4-82-238-200-10.fbx.proxad.net) (Quit: jeremyselier)
- # [19:50] * Quits: tbassetto (~tbassetto@pro75-4-82-238-200-10.fbx.proxad.net) (Quit: tbassetto)
- # [19:54] * Joins: ap (~ap@17.203.15.167)
- # [19:55] * Joins: MrOpposite (~mropposit@unaffiliated/mropposite)
- # [20:00] * Joins: dbaron (~dbaron@nat/mozilla/x-rgfbmcpvfsqexesm)
- # [20:00] * Quits: jwalden (~waldo@2620:101:8003:200:222:68ff:fe15:af5c) (Quit: brb, hopefully)
- # [20:02] * Joins: jamesr_ (~jamesr@nat/google/x-mdjuphgvyvytfqke)
- # [20:03] * Joins: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
- # [20:04] * Quits: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Max SendQ exceeded)
- # [20:04] * Quits: jamesr_ (~jamesr@nat/google/x-mdjuphgvyvytfqke) (Client Quit)
- # [20:06] * Joins: jamesr_ (~jamesr@216.239.45.19)
- # [20:07] * Joins: jwalden (~waldo@2620:101:8003:200:221:6aff:fe6e:d10)
- # [20:09] <zewt> aren't custom events a bit of a namespace nightmare? as soon as people start using events with arbitrary names, adding new events to anything ever will cause backwards-compat problems
- # [20:11] * Quits: tndH (~Rob@cpc15-seac19-2-0-cust232.7-2.cable.virginmedia.com) (Ping timeout: 240 seconds)
- # [20:11] * Joins: tndH (~Rob@cpc15-seac19-2-0-cust232.7-2.cable.virginmedia.com)
- # [20:17] * Joins: kurrik (~kurrik@nat/google/x-uolippkzbqeegxnp)
- # [20:17] * bga_ is now known as bga_|away
- # [20:20] * Joins: micheil (~micheil@adsl-69-228-190-230.dsl.snfc21.pacbell.net)
- # [20:23] * Joins: jernoble (~jernoble@17.203.14.132)
- # [20:24] * Quits: jwalden (~waldo@2620:101:8003:200:221:6aff:fe6e:d10) (Ping timeout: 272 seconds)
- # [20:25] * Joins: jwalden (~waldo@2620:101:8003:200:221:6aff:fe6e:d10)
- # [20:28] <TabAtkins> Argh, how can someone in the leadership of the accessibility group write such inaccessible emails?
- # [20:30] <TabAtkins> I can't figure out who is saying what in the quoted part of this top-posted email, and I'm a fully-sighted user.
- # [20:31] * Joins: othermaciej (~mjs@17.246.16.177)
- # [20:31] * Quits: othermaciej (~mjs@17.246.16.177) (Client Quit)
- # [20:33] * Quits: roc (~chatzilla@121.98.230.221) (Ping timeout: 252 seconds)
- # [20:33] * bga_|away is now known as bga_
- # [20:37] * Joins: othermaciej (~mjs@17.246.16.177)
- # [20:42] * Joins: othermaciej_ (~mjs@17.203.15.144)
- # [20:44] * Quits: jamesr_ (~jamesr@216.239.45.19) (Quit: jamesr_)
- # [20:44] * Quits: othermaciej_ (~mjs@17.203.15.144) (Client Quit)
- # [20:49] * Joins: othermaciej_ (~mjs@2620:0:1b00:1191:ea06:88ff:fecf:6cf0)
- # [20:50] * Joins: jamesr_ (~jamesr@216.239.45.19)
- # [20:51] * Quits: tndH (~Rob@cpc15-seac19-2-0-cust232.7-2.cable.virginmedia.com) (Ping timeout: 240 seconds)
- # [20:51] * Joins: tndH (~Rob@cpc15-seac19-2-0-cust232.7-2.cable.virginmedia.com)
- # [20:58] * Joins: uf0 (deeznuts@80.244.247.158)
- # [21:00] * Quits: annevk (~annevk@5355737B.cm-6-6b.dynamic.ziggo.nl) (Quit: annevk)
- # [21:01] * Quits: Martijnc (~Martijnc@91.176.13.121) (Quit: Martijnc)
- # [21:01] <hober> TabAtkins: srsly
- # [21:03] <Hixie> kennyluck: please don't cross-post messages to the whatwg list, it causes thread fragmentation when people not on the list reply to the thread
- # [21:05] * Quits: Rik` (~Rik`@mozilla-paris-253-99.cnt.nerim.net) (Remote host closed the connection)
- # [21:08] * Quits: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net) (Quit: abarth)
- # [21:11] * Quits: jwalden (~waldo@2620:101:8003:200:221:6aff:fe6e:d10) (Quit: lunch)
- # [21:16] * Quits: johnd0e (deeznuts@cpe-68-174-70-216.nyc.res.rr.com)
- # [21:17] * Quits: matjas (~matjas@91.182.141.162) (Quit: Be back later)
- # [21:19] * Joins: sephr (~Eli@c-98-235-63-240.hsd1.pa.comcast.net)
- # [21:27] * Joins: jwalden (~waldo@2620:101:8003:200:222:68ff:fe15:af5c)
- # [21:31] * Joins: roc (~chatzilla@skycity-akl-nz.getin2net.com)
- # [21:33] * Joins: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
- # [21:33] * Quits: Silanus (~silanus@p5DDEBACA.dip.t-dialin.net) (Remote host closed the connection)
- # [21:34] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote host closed the connection)
- # [21:35] * Quits: othermaciej_ (~mjs@2620:0:1b00:1191:ea06:88ff:fecf:6cf0) (Quit: othermaciej_)
- # [21:37] * Joins: zcorpan (~zcorpan@c-8d9ae355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [21:37] <zcorpan> hsivonen: "There is an option to ignore the “legacy doctype” and “xml:lang” errors that Validator.nu reports for documents using an XHTML doctype" http://www.456bereastreet.com/archive/201102/html5_validator_extension_updates/
- # [21:39] * Joins: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a)
- # [21:39] * Quits: bentruyman (~bentruyma@li159-104.members.linode.com) (Quit: bentruyman)
- # [21:39] * Joins: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
- # [21:40] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote host closed the connection)
- # [21:40] * Joins: othermaciej_ (~mjs@2620:0:1b00:1191:ea06:88ff:fecf:6cf0)
- # [21:42] * Quits: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a) (Client Quit)
- # [21:42] * Quits: zcorpan (~zcorpan@c-8d9ae355.410-6-64736c14.cust.bredbandsbolaget.se) (Client Quit)
- # [21:42] * Joins: ezoe (~ezoe@61-205-124-158f1.kyt1.eonet.ne.jp)
- # [21:43] * Joins: SteveGL (~dev@174-21-221-107.tukw.qwest.net)
- # [21:49] * Joins: wolfman2000 (~wolfman20@152-20-183-27.rev.uncw.edu)
- # [21:54] * Quits: othermaciej_ (~mjs@2620:0:1b00:1191:ea06:88ff:fecf:6cf0) (Quit: othermaciej_)
- # [21:56] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 240 seconds)
- # [21:58] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [22:01] * Quits: karlcow (~karl@nerval.la-grange.net) (Remote host closed the connection)
- # [22:01] * Joins: karlushi (~karl@nerval.la-grange.net)
- # [22:03] * Joins: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
- # [22:06] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote host closed the connection)
- # [22:07] <kennyluck> Hixie: hmm... OK, but I was replying a mail that was cross-posted. What am I supposed to do?
- # [22:09] * Quits: davidb (~davidb@corp.tor1.mozilla.com) (Quit: davidb)
- # [22:10] * Joins: matijsb (~Adium@5353CD69.cm-6-4d.dynamic.ziggo.nl)
- # [22:12] <Hixie> kennyluck: figure out the best list to reply to, i guess :-)
- # [22:12] <Hixie> kennyluck: are you on whatwg?
- # [22:12] <kennyluck> Hixie: Yeah.
- # [22:12] <Hixie> k
- # [22:12] <zewt> only replying to one list is causing thread fragmentation, not replying to all :P
- # [22:13] <Hixie> yeah but it just encourages others to do the same :-)
- # [22:14] <zewt> crossposting between relevant lists is pretty ordinary--works fine as long as lists aren't subscriber-post-only (unfortunately, some lists are)
- # [22:14] <karlushi> You can minimize the damage of cross-posting by stopping the thread and replying to one list and then send an email to the other list pointing to the discussion. Reply-To: might help too. Though nothing perfect, beauty of humans.
- # [22:14] <zewt> (like that annoying PRNG thread that people expected everyone to subscribe to es-discuss for)
- # [22:14] <Hixie> zewt: yeah. whatwg is, for spam control reasons
- # [22:15] <zewt> speaking of spam control, maybe the spec feedback form should throw away comments that begin with "Please enter your feedback" :)
- # [22:16] * Quits: MrOpposite (~mropposit@unaffiliated/mropposite) (Ping timeout: 250 seconds)
- # [22:17] <kennyluck> Hmm... the email address I use everyday isn't the email address I use to subscribe to the whatwg list. I guess that's the reason why my letter doesn't show up on the whatwg list.
- # [22:18] <Hixie> zewt: is it common?
- # [22:19] <zewt> probably not common enough to actually spend time on it, though if I was the one who had to keep closing them I might get annoyed enough to, heh
- # [22:19] <Hixie> if it's happened more than twice i'm happy to add code for it, it'll take a second or two
- # [22:19] <Hixie> paste the urls to the cases where it happens and i'll deal with it
- # [22:20] <zewt> eg. http://www.w3.org/Bugs/Public/show_bug.cgi?id=12206
- # [22:20] * Quits: karlushi (~karl@nerval.la-grange.net) (Quit: Freedom - to walk free and own no superior.)
- # [22:21] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [22:21] <zewt> (i'm surprised those don't happen more often than they do)
- # [22:21] <Hixie> wow i wonder how _that_ happens
- # [22:22] <AryehGregor> Why is it so hard to traverse the DOM in tree order?
- # [22:22] <Hixie> six times so far
- # [22:22] <Hixie> crazy
- # [22:22] <AryehGregor> From JavaScript, I mean.
- # [22:22] * Hixie goes to block that case
- # [22:22] <AryehGregor> Would Node.nextNode be too much to ask?
- # [22:22] <zewt> is it hard?
- # [22:22] <Hixie> AryehGregor: Node.nextSibling?
- # [22:22] <AryehGregor> Hixie, what if it's the last child?
- # [22:22] <Hixie> AryehGregor: oh you mean including the next node
- # [22:22] <AryehGregor> Or what if it has a child?
- # [22:22] <gsnedders> AryehGregor: walk parentNode?
- # [22:22] <Hixie> AryehGregor: use a node iterator
- # [22:23] <AryehGregor> Hmm, let me look into that.
- # [22:23] <gsnedders> AryehGregor: NodeIterator?
- # [22:23] <AryehGregor> Is that available cross-browser these days?
- # [22:24] <gsnedders> AryehGregor: Non-IE, at least. It's in Acid3. I think IE9 supports it.
- # [22:24] <AryehGregor> This seems way more complicated than I want.
- # [22:24] * Joins: aho (~nya@fuld-590c7828.pool.mediaWays.net)
- # [22:24] * AryehGregor just does it manually
- # [22:24] <gsnedders> AryehGregor: If you want to do it for all documents, have fun with IE's non-tree documents.
- # [22:25] <zewt> write a nextNode(node) function, add it to the bag of helpers :)
- # [22:25] <AryehGregor> Yeah, that's what I did.
- # [22:25] <AryehGregor> gsnedders, well, if IE does that, it will just fail my tests, so too bad on it.
- # [22:25] <Hixie> make sure it fails and doesn't lock u
- # [22:25] <Hixie> p
- # [22:27] <jgraham> Locking up browsers is fun!
- # [22:27] <jgraham> But probably shouldn't be encouraged...
- # [22:28] <zewt> Hixie: maybe he's asking you to enter your feedback (to yourself)
- # [22:28] <Hixie> heh
- # [22:28] <zewt> that would be rather literal feedback
- # [22:29] <gsnedders> AryehGregor: Indeed, what Hixie said is the risk here. (Just following the circle.)
- # [22:30] <AryehGregor> Well, tests that time out fail automatically, right?
- # [22:30] <AryehGregor> Anyway, does IE9 in standards mode allow non-tree documents?
- # [22:30] <AryehGregor> Not like we're testing compatibility modes.
- # [22:30] * AryehGregor will worry about it when he gets to it
- # [22:30] <zewt> better to detect an infinite loop and fail quickly instead of waiting for a timeout and making the test set take forever
- # [22:30] <gsnedders> AryehGregor: I think not.
- # [22:31] <Hixie> we'll have to test compatibility modes in due course
- # [22:31] <AryehGregor> I doubt it.
- # [22:31] <jgraham> Boy is that going to be a fun discussion
- # [22:31] <AryehGregor> We'll probably never test compatibility modes.
- # [22:31] <AryehGregor> IE's, anyway.
- # [22:31] <jgraham> We should test doctype/no doctype at least
- # [22:31] <AryehGregor> Nobody has any real reason to want to emulate them.
- # [22:31] <AryehGregor> Well, maybe someday.
- # [22:32] <Hixie> the spec doesn't have compatibility modes, it just has one set of rules that include some differences based on the doctype
- # [22:32] <Hixie> so...
- # [22:32] <zewt> it's annoying that apparently only IE9 changes modes significantly with no doctype
- # [22:32] <gsnedders> Yeah, we should test standards/quirks.
- # [22:32] * Joins: MrOpposite (~mropposit@unaffiliated/mropposite)
- # [22:32] <gsnedders> But that's going to be painful enough.
- # [22:33] <jgraham> I'm not sure that intentionally putting IE in a compat mode to show that it doesn't follow standards in that mode really helps anyone
- # [22:33] <Hixie> i don't really care about IE
- # [22:33] <Hixie> it's not an IE issue
- # [22:33] <jgraham> But showing that it fails to follow ordinary quirks mode is fine
- # [22:33] <zewt> (every time I make a quick test HTML and I'm lazy and don't put a doctype, everything works fine in every browser ... except IE9, which falls to quirksmode)
- # [22:33] <Hixie> since they refuse to follow the spec for this anyway
- # [22:33] <Hixie> we still need to make sure the spec is useful for the browsers who _do_ want to follow it
- # [22:34] <gsnedders> Hixie: Then what is gained by testing it?
- # [22:34] <Hixie> IE isn't the only browser?
- # [22:34] <jgraham> Right, but it is reasonable to assume that <meta content=what-ever-the-magic-is> won't dpo anything magic in non-IE browsers
- # [22:34] <Hixie> zewt: i tried to add somethin to prevent the case you mentioned earlier
- # [22:34] <gsnedders> Hixie: But how likely are they to end up on the wrong code-path because of x-ua-compatible?
- # [22:35] <gsnedders> Hixie: cost/benefit doesn't seem to make it seem worthwhile, because the meta does nothing.
- # [22:35] <Hixie> jgraham: oh i wasn't suggesting having tests that check the IE thing
- # [22:35] <zewt> i don't expect other browsers to deliberately break when there's no doctype, but it'd be nice if there was *some* indication, so the problem doesn't lurk
- # [22:35] <Hixie> didn't mean to imply anything about X-UA-Compatible
- # [22:35] <jgraham> Hixie: It sounded like you were :)
- # [22:35] <gsnedders> Indeed. :)
- # [22:35] <Hixie> what did i say that sounded like that?
- # [22:35] * Hixie is confoosed
- # [22:35] <jgraham> 15:26 < Hixie> we'll have to test compatibility modes in due course
- # [22:35] <gsnedders> We should test everything in at least quirks/non-quirks. Dunno if we sohuld test everything in limit-quirked.
- # [22:36] <gsnedders> Hixie: "compatibility modes" is something I only ever hear wrt IE's modes
- # [22:36] <jgraham> "compatibility modes" in context sounds like the IEism
- # [22:36] <Hixie> jgraham: i meant the quirks mode thing, sorry
- # [22:36] <jgraham> not the spec thing
- # [22:36] <jgraham> Hixie: np
- # [22:36] * jgraham is less ambitious than gsnedders
- # [22:37] <Hixie> back in a bit, unch
- # [22:37] <gsnedders> jgraham: I think we want to check for everything that behaviour isn't changed by being in quirks
- # [22:37] * jgraham would settle for tests that just cover the areas where they should be the same
- # [22:37] <gsnedders> To avoid browsers changing too much in quirks
- # [22:37] <jgraham> er
- # [22:37] <jgraham> s/same/different/
- # [22:37] <jgraham> gsnedders: We can do that ofc
- # [22:37] <jgraham> But it seems like a lot of effort for not much gain
- # [22:38] <jgraham> (like: it won't just be a case of adding or removing <!doctype html> from the top of each html file)
- # [22:38] <gsnedders> I know.
- # [22:39] <gsnedders> It should be for a lot, though.
- # [22:39] <gsnedders> Very little changes per spec for quirks mode.
- # [22:39] <gsnedders> CSS would be a huge amount of work, but HTML5 wouldn't be.
- # [22:39] <jgraham> Lots of tests will do thjings like load documents in iframes
- # [22:39] <jgraham> Do you need to change the document in the iframe
- # [22:39] <jgraham> *So
- # [22:40] <jgraham> Which could be a data: uri
- # [22:40] <jgraham> So there is no automated approach that will be reliable
- # [22:40] <jgraham> So it will mean going through all submissions by hand
- # [22:40] <jgraham> Which is possible ofc
- # [22:41] <jgraham> It's not like it will be an impossible amount of work
- # [22:41] <TabAtkins> Hixie: While you're changing the comment verifier code, could you reject any feedback starting with a doctype too? For reasons unknown to me a lot of the spam is people just putting source-code for pages into the comment box, and I haven't seen a single bug legitimately start with a doctype.
- # [22:41] <gsnedders> jgraham: I would much rather do that, FWIW.
- # [22:41] <gsnedders> jgraham: Than having separate tests.
- # [22:41] <jgraham> gsnedders: Do what?
- # [22:41] <TabAtkins> Hixie: (You could probably get away with just rejecting anything starting with "<", possibly preceded by whitespace.)
- # [22:41] * Quits: msucan (~robod@89.123.152.6) (Quit: .)
- # [22:42] * Joins: doublec (~chris@203-97-204-82.dsl.clear.net.nz)
- # [22:42] * Quits: doublec (~chris@203-97-204-82.dsl.clear.net.nz) (Changing host)
- # [22:42] * Joins: doublec (~chris@unaffiliated/doublec)
- # [22:42] <gsnedders> jgraham: Having the same testsuite for both, pretty much.
- # [22:42] <jgraham> TabAtkins: <html> might be a better be
- # [22:42] <jgraham> gsnedders: If you can convince someone to pay for it, sure
- # [22:42] <jgraham> *bet
- # [22:42] <jgraham> At the moment we don't even have an automated harness
- # [22:42] <TabAtkins> jgraham: That wouldn't work - a good chunk of the relevant spam starts witha doctype, not <html>.
- # [22:42] <jgraham> So some proverb involving beggars and choosers comes to mind
- # [22:42] <gsnedders> jgraham: But an automated harness is needed by no browser vendor, so…
- # [22:43] <zewt> relevant spam - an uncommon sequence of words
- # [22:43] <gsnedders> jgraham: Whereas more tests benefit browser vendors.
- # [22:43] <TabAtkins> zewt: Meaning "the spam under discussion", of coruse.
- # [22:43] <zewt> i know, heh
- # [22:43] <jgraham> TabAtkins: I think I meant <!DOCTYPE | <html>
- # [22:43] <TabAtkins> jgraham: Oh, okay. Yeah, I suspect that would catch most of them. Though I don't think I've ever seen a legitimate bug starting with <, either.
- # [22:44] <jgraham> gsnedders: Doubling the number of tests just to test the same codepath twice in most cases doesn't sound that appealing to vendors
- # [22:44] <TabAtkins> Best, of course, would be setting up an approval queue that a few of us can hit and accept/reject things quickly and easily before hitting the bugzilla.
- # [22:45] <jgraham> It makes test runs take twice as long, doubles the number of regressions to investigate per bug, and takes time to implement
- # [22:45] * gsnedders doesn't feel like debating it now
- # [22:45] <jgraham> gsnedders: Clearly it is an axis along which browser behaviour can vary. But one presumes that in a sane browser the mode doesn't propogate everywhere
- # [22:46] <jgraham> So it doesn't seem more valuable then, say, making sure all tests pass if there is at least one script in the DOM
- # [22:46] <gsnedders> jgraham: We need some tests for things that quirks mode might obviously change, at the very least. And things it does change in any browsers in the past few years.
- # [22:46] <jgraham> gsnedders: Agreed entirely
- # [22:47] <gsnedders> How far we go is a question we'll need to discuss, though
- # [22:47] <AryehGregor> Okay, testing deleteContents() is kind of annoying.
- # [22:47] * Quits: micheil (~micheil@adsl-69-228-190-230.dsl.snfc21.pacbell.net) (Quit: http://brandedcode.com | http://github.com/miksago)
- # [22:47] <AryehGregor> Because it's a real pain to reset between tests . . .
- # [22:47] <AryehGregor> Especially since cloneNode() doesn't work on Documents for some obnoxious reason.
- # [22:47] <zewt> this is bugging me--aren't custom event names (with no requirement of any sane namespacing) going to cause backwards-compat issues in the future, because people will be using every conceivable verb as an event name?
- # [22:47] <jgraham> AryehGregor: Can you use try/catch/finally?
- # [22:48] <gsnedders> zewt: No moreso than creating new HTML elements.
- # [22:48] <AryehGregor> jgraham, how does that help when it successfully deletes a chunk of the document? I have to restore the document to its previous state somehow.
- # [22:48] <jgraham> try {/*do the test*/} catch(e) {throw e} finally {/*reset*/}
- # [22:48] <zewt> people aren't exactly encouraged to use arbitrary strings as HTML elements
- # [22:48] * Quits: smaug____ (~chatzilla@cs181139127.pp.htv.fi) (Quit: ChatZilla 0.9.86 [Firefox 4.0b12pre/20110222000907])
- # [22:48] <zewt> (rather, they're strongly discouraged from it)
- # [22:48] <AryehGregor> That's not the issue, the issue is I have to actually reset the document.
- # [22:48] <hober> name collisions just aren't that big of a deal in practice
- # [22:48] <gsnedders> zewt: Go read the IE blog :P
- # [22:49] <jgraham> AryehGregor: Well yes, I am somewhat assuming you have a way to create the initial state
- # [22:49] <jgraham> I recommend recreating all state from scratch between tests
- # [22:49] * Quits: FastJack (~fastjack@dumpstr.net) (Read error: Operation timed out)
- # [22:49] <zewt> also, one set of horrible backwards-compatibility black holes doesn't justify another :P
- # [22:49] <AryehGregor> That's what I'll have to do here, yes.
- # [22:49] <AryehGregor> For things that don't mutate the DOM, it's not really necessary.
- # [22:49] <jgraham> Right
- # [22:50] <jgraham> But in general it is good if errors from one test don't propogate into others
- # [22:50] <zewt> it's not a problem if people use event names with any sensible namespacing scheme, but there's no convention in place or anything
- # [22:50] <jgraham> (for some reason, I seem to recall that javascript libraries love making tests like that)
- # [22:50] <AryehGregor> I generally adopt the philosophy that if there are test failures, I'll look into them then.
- # [22:50] * AryehGregor realizes he can just use innerHTML to reset, nice
- # [22:52] * Joins: bentruyman (~bentruyma@li159-104.members.linode.com)
- # [22:52] <AryehGregor> (assuming my DOM is nice enough that it will round-trip, but if not, oh well)
- # [22:52] <jgraham> AryehGregor: Bear in mind that you are (hopefully) not the only consumer of your tests
- # [22:52] <AryehGregor> I'm testing all the consumers of my tests.
- # [22:52] * Joins: FastJack (~fastjack@dumpstr.net)
- # [22:52] <hober> zewt: if you don't want your names to collide, pick sufficiently interesting names.
- # [22:53] <zewt> but web specs generally don't make changes under the notion of "it's okay to break web pages if the developer was incompetent"
- # [22:55] <jgraham> AryehGregor: Right, but the ultimate consumer is some developer who gets a regression report telling them that a whole bunch of contentEditable tests failed with the changes they made
- # [22:55] <AryehGregor> I'm aware of that.
- # [22:58] <AryehGregor> Ugh, why can't Documents be cloned?
- # [22:59] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [23:01] <TabAtkins> AryehGregor: Because cloning is an abomination.
- # [23:01] <AryehGregor> Why?
- # [23:01] <TabAtkins> I should have added "...unto God."
- # [23:02] <AryehGregor> Why?
- # [23:02] <TabAtkins> I dunno, go ask the Bible.
- # [23:02] <TabAtkins> I didn't make the rules here.
- # [23:03] <AryehGregor> . . .
- # [23:05] <AryehGregor> You know, I just realized that restoring the document by overwriting the contents of the log isn't really that useful for testing purposes.
- # [23:05] <AryehGregor> I think I'm going to use an iframe.
- # [23:05] <AryehGregor> That seems a lot saner.
- # [23:05] * AryehGregor now has to figure out how iframes work, exactly, but that shouldn't be too hard
- # [23:06] <jgraham> As long as you remember that the load is async, all is good
- # [23:08] <jgraham> (which is pretty straightforward)
- # [23:12] <Hixie> TabAtkins: sure
- # [23:13] <Hixie> TabAtkins: on it
- # [23:15] * Parts: bfrohs (~bfrohs@smtp.forewordinternal.com)
- # [23:17] <TabAtkins> Hixie: Either my suggestion (reject if it starts with "<") or jgraham's (reject if it starts with "<!doctype" or "<html") would work.
- # [23:18] <AryehGregor> Reject if it starts with "<" sounds too broad.
- # [23:18] <TabAtkins> AryehGregor: I don't recall ever seeing a legitimate bug that started with "<".
- # [23:19] <Hixie> i rejected with a <, it'll only affect ms2ger
- # [23:19] <TabAtkins> Haha.
- # [23:19] <TabAtkins> I suppose starting a bug with a chat transcript may cause a problem.
- # [23:19] <Hixie> people should give context anyway
- # [23:20] <Hixie> i hate reading these bugs that just start without context so i've no idea wtf y'all are talking about until i'm half-way through
- # [23:20] <Hixie> then i have to reread it with context :-P
- # [23:20] <AryehGregor> TabAtkins, http://bit.ly/eAdCP7
- # [23:20] <Hixie> i've also updated the bug report form so it logs the user agent, hopefully we'll be able to see if there's any patterns there
- # [23:20] <TabAtkins> Hixie: That reminds me, I have a five-page paper expounding on the changes you should make to HTML.
- # [23:21] <Hixie> cool, mail it in
- # [23:21] <AryehGregor> E.g.: http://www.w3.org/Bugs/Public/show_bug.cgi?id=7746
- # [23:21] <Hixie> i'll stick it on top of the other 1600 pages :-P
- # [23:21] * Quits: matijsb (~Adium@5353CD69.cm-6-4d.dynamic.ziggo.nl) (Quit: Leaving.)
- # [23:21] <othermaciej> Hixie: 118 decision just posted
- # [23:21] <TabAtkins> Hixie: I was, um, joking about rambling context-less bugs. ^_^
- # [23:21] <othermaciej> Hixie: will 3 weeks extra time to draft a 119 counter-proposal be sufficient?
- # [23:21] <Hixie> TabAtkins: :-P
- # [23:22] <TabAtkins> AryehGregor: Okay, point taken. Shrug. They can start their bug with something else, or file it via bugzilla.
- # [23:22] <Hixie> othermaciej: one sec
- # [23:22] <AryehGregor> Is there a spec for how encoding names are supposed to be processed? (Apropos: http://blogs.msdn.com/b/ieinternals/archive/2011/02/28/script-error-c00ce56e-means-you-have-specified-an-invalid-charset-utf8-is-not-utf-8.aspx)
- # [23:22] * Quits: plainhao (~plainhao@208.75.85.237) (Quit: plainhao)
- # [23:23] <Hixie> othermaciej: doesn't that decision supercede issue 119 altogether?
- # [23:23] <Hixie> othermaciej: (awesome decision, btw)
- # [23:23] <Hixie> othermaciej: (didn't expect that to go that way at all)
- # [23:23] <othermaciej> Hixie: I have no idea, I don't remember what 119 is about
- # [23:24] * Quits: kal-EL_ (~jor-EL@host99-65-dynamic.21-79-r.retail.telecomitalia.it) (Quit: ChatZilla 0.9.86 [Firefox 3.6.13/20101203075014])
- # [23:24] <othermaciej> Hixie: did the relations with special meaning when repeated all get dropped?
- # [23:24] <Hixie> othermaciej: yes
- # [23:24] <othermaciej> it's just about "up"?
- # [23:25] <othermaciej> ok
- # [23:25] <Hixie> othermaciej: 118 drops index, up, first, and last. 119 is about up.
- # [23:25] <Hixie> othermaciej: allow me to make this easier on you. I retract any intent to object to 119. :-)
- # [23:26] <othermaciej> then I guess I should just post a call for consensus to close 119 by amicable resolution
- # [23:29] <Hixie> sounds good
- # [23:30] * Quits: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [23:34] * Joins: jdaggett (~jdaggett@y227145.dynamic.ppp.asahi-net.or.jp)
- # [23:38] * Joins: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no)
- # [23:39] * Quits: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no) (Client Quit)
- # [23:40] * Joins: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no)
- # [23:40] * bga_ is now known as bga_|away
- # [23:41] * Quits: wolfman2000 (~wolfman20@152-20-183-27.rev.uncw.edu) (Remote host closed the connection)
- # [23:46] * Quits: miketaylr (~miketaylr@206.217.92.186) (Quit: falafel)
- # [23:46] * Joins: tw2113 (~tw2113asw@169.231.106.216.unassigned.sdncommunications.com)
- # [23:46] * Quits: tw2113 (~tw2113asw@169.231.106.216.unassigned.sdncommunications.com) (Changing host)
- # [23:46] * Joins: tw2113 (~tw2113asw@fedora/tw2113)
- # [23:56] * Quits: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no) (Quit: Leaving)
- # [23:56] * Joins: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no)
- # [23:57] * Quits: jacobolus (~jacobolus@c-98-216-238-247.hsd1.ma.comcast.net) (Remote host closed the connection)
- # [23:58] * Quits: BlurstOfTimes (~blurstoft@168.203.117.36) (Remote host closed the connection)
- # [23:59] * Joins: davidb_ (~davidb@bas1-toronto06-2925210587.dsl.bell.ca)
- # Session Close: Tue Mar 01 00:00:00 2011
The end :)