Options:
- # Session Start: Thu Sep 20 00:00:00 2007
- # Session Ident: #html-wg
- # [00:09] * Quits: MikeSmith (MikeSmith@mcclure.w3.org) (Quit: Less talk, more pimp walk.)
- # [00:14] * Quits: Sander (svl@86.87.68.167) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [00:18] * Quits: briansuda_ (briansuda@194.144.106.194) (Quit: briansuda_)
- # [00:19] <Hixie> Philip: so the main problem is that we don't actually want scripting to run during the creation of the generated tree
- # [00:19] <Hixie> since it could _really_ fuck with the UA
- # [00:24] <Philip> Why wouldn't it work if UAs just followed the algorithm and ran the scripts in the text-expansion steps, and if the scripts modify the DOM then weird things may happen but that's just their problem?
- # [00:25] <Hixie> because you could trivially cause an infinite loop
- # [00:25] <Hixie> and the algorithm would never return
- # [00:28] <anne> how is this different from other inifite loops?
- # [00:28] <anne> such as those you can create with document.write()
- # [00:29] <Hixie> document.write() infinite loops always go all the way back to the UA's main event loop before recursing
- # [00:29] <Hixie> as far as i am aware
- # [00:31] <Philip> <div id="data"></div>
- # [00:31] <Philip> <datatemplate id="t">
- # [00:31] <Philip> <rule><div template="#t" ref="#data"></div></rule>
- # [00:31] <Philip> </datatemplate>
- # [00:31] <Philip> <div template="#t" ref="#data"></div>
- # [00:32] <Philip> Is that an infinite loop?
- # [00:32] <Hixie> yes, but again, it goes all the way back to the main event loop before recursing
- # [00:32] <Hixie> so the UA can still remain responsive
- # [00:33] <anne> depending on how you program it, it can always remain responsive, no?
- # [00:33] <Philip> <script>while(1);</script> is an infinite loop too, and UAs already cope with that
- # [00:34] <Hixie> Philip: yeah but that one doesn't involve interrupting UA code
- # [00:35] <Philip> Why can't UA code do the same that the JS interpreter does, to let the user cancel if it's taking too long?
- # [00:36] <Hixie> we could, but i'd be better to design it in such a way that that isn't an issue
- # [00:38] <Philip> Okay, if it can be done without introducing any new issues or making things worse for other constituencies then that would be better :-)
- # [00:43] * Joins: mjs (mjs@17.255.98.200)
- # [00:47] * Joins: mjs_ (mjs@17.203.14.225)
- # [00:48] * Quits: mjs (mjs@17.255.98.200) (Ping timeout)
- # [00:49] * Quits: hasather (hasather@90.227.221.48) (Client exited)
- # [01:11] * Disconnected
- # [01:12] * Attempting to rejoin channel #html-wg
- # [01:12] * Rejoined channel #html-wg
- # [01:12] * Topic is 'HTML WG http://www.w3.org/html/wg/ also logged: http://krijnhoetmer.nl/irc-logs/'
- # [01:12] * Set by DanC on Thu Sep 06 23:39:27
- # [01:12] * Quits: gsnedders (gsnedders@86.137.237.196) (Ping timeout)
- # [01:12] * Quits: anne (annevk@81.68.67.12) (Ping timeout)
- # [01:12] * Quits: krijnh (krijnhoetm@213.84.148.98) (Ping timeout)
- # [01:13] * Quits: beowulf (beowulf@194.74.230.217) (Ping timeout)
- # [01:14] * Joins: beowulf (beowulf@194.74.230.217)
- # [01:17] * Quits: billmason (billmason@69.30.57.156) (Quit: .)
- # [01:25] * Quits: tH (Rob@87.102.117.116) (Quit: ChatZilla 0.9.78.1-rdmsoft [XULRunner 1.8.0.9/2006120508])
- # [01:34] * Quits: gavin_ (gavin@99.226.75.20) (Ping timeout)
- # [01:36] * Joins: mjs (mjs@17.255.98.200)
- # [01:38] * Quits: mjs_ (mjs@17.203.14.225) (Ping timeout)
- # [01:39] * Joins: gavin_ (gavin@99.226.75.20)
- # [01:43] * Joins: matt (matt@128.30.52.30)
- # [01:45] * Joins: Lionheart (robin@66.57.69.65)
- # [01:56] * Parts: Lionheart (robin@66.57.69.65)
- # [02:03] * Joins: sbuluf (ypi@200.49.140.238)
- # [02:18] * Quits: kingryan (rking3@208.66.64.47) (Quit: kingryan)
- # [02:19] * Joins: mjs_ (mjs@17.203.14.225)
- # [02:21] * Quits: mjs (mjs@17.255.98.200) (Ping timeout)
- # [02:33] * Joins: heycam (cam@130.194.72.84)
- # [02:41] * Joins: MikeSmith (MikeSmith@mcclure.w3.org)
- # [02:51] * Joins: olivier (ot@128.30.52.30)
- # [03:13] <Philip> Actually, the &{...} syntax is rubbish since you'll usually have to write the <datatemplate> in XML to make it parse correctly when you're doing anything non-trivial, so the syntax should be optimised primarily for XML
- # [03:14] <Philip> (but I don't really like plain {...} because then you'd need some new way to write literal { characters)
- # [03:22] <Hixie> yeah i don't know what syntax to use really
- # [03:41] * Quits: gavin_ (gavin@99.226.75.20) (Ping timeout)
- # [03:43] * Quits: heycam (cam@130.194.72.84) (Quit: bye)
- # [03:46] * Joins: gavin_ (gavin@99.226.75.20)
- # [03:48] * Joins: heycam (cam@130.194.72.84)
- # [03:50] * Quits: schepers (schepers@128.30.52.30) (Quit: Trillian (http://www.ceruleanstudios.com)
- # [04:02] * Joins: Shunsuke (Shunsuke@123.176.107.50)
- # [04:02] * Quits: Shunsuke (Shunsuke@123.176.107.50) (Quit: Tiarra 0: SIGTERM received; exit)
- # [04:03] * Joins: Shunsuke (Shunsuke@123.176.107.50)
- # [04:10] * Quits: matt (matt@128.30.52.30) (Quit: matt)
- # [04:37] * Quits: mjs_ (mjs@17.203.14.225) (Quit: mjs_)
- # [04:37] * Quits: sbuluf (ypi@200.49.140.238) (Ping timeout)
- # [04:46] * Joins: sbuluf (khjulbh@200.49.140.174)
- # [05:49] * Quits: gavin_ (gavin@99.226.75.20) (Ping timeout)
- # [05:52] * Joins: mjs (mjs@64.81.48.145)
- # [05:54] * Joins: gavin_ (gavin@99.226.75.20)
- # [05:57] * Quits: MikeSmith (MikeSmith@mcclure.w3.org) (Quit: Less talk, more pimp walk.)
- # [06:44] * Quits: Lachy (chatzilla@124.170.65.144) (Quit: ChatZilla 0.9.78.1 [Firefox 2.0.0.6/2007072518])
- # [07:08] * Joins: Lachy (chatzilla@124.170.94.29)
- # [07:57] * Quits: gavin_ (gavin@99.226.75.20) (Ping timeout)
- # [08:02] * Joins: gavin_ (gavin@99.226.75.20)
- # [08:13] * Joins: Lachy_ (chatzilla@124.170.94.29)
- # [08:13] * Quits: Lachy (chatzilla@124.170.94.29) (Ping timeout)
- # [08:13] * Lachy_ is now known as Lachy
- # [08:16] * Joins: Sander (svl@86.87.68.167)
- # [09:09] * Quits: jmb (jmb@152.78.71.152) (Ping timeout)
- # [09:10] * Joins: jmb (jmb@152.78.71.152)
- # [09:28] * Joins: anne (annevk@81.68.67.12)
- # [09:30] * Quits: olivier (ot@128.30.52.30) (Quit: Leaving)
- # [09:52] * Quits: heycam (cam@130.194.72.84) (Quit: bye)
- # [10:04] * Quits: gavin_ (gavin@99.226.75.20) (Ping timeout)
- # [10:09] * Joins: gavin_ (gavin@99.226.75.20)
- # [10:22] * Joins: timbl (timbl@82.111.149.2)
- # [10:25] <anne> mjs, something like sql.onresult = ...; sql.execute(...)?
- # [10:25] <anne> and prolly sql.onerror
- # [10:26] <mjs> anne: or executeSql(callback, statement, arguments...)
- # [10:26] <anne> that's not really in line with other APIs
- # [10:27] <anne> although, timer APIs... :)
- # [10:28] <anne> I suppose it depends on whether you ever want to do more than a single thing with the results
- # [10:29] * Joins: heycam (cam@203.214.105.232)
- # [10:34] <mjs> I am not sure events make sense for this
- # [10:35] <mjs> if the only event is that you finished, I think a single callback that would have been the return value is better
- # [10:36] <anne> the other would be failure, but I suppose you can handle that in the callback as well
- # [10:36] <mjs> well, the sync version presumably expresses failure with a return value
- # [10:37] <anne> or throws, maybe, dunno
- # [10:37] <mjs> either is ok, but if there is a SQL object people will want things like the ability to "prepare" statements or rebind arguments
- # [10:38] <anne> failure doesn't seem to be addressed
- # [10:38] <anne> only if the amount of additional arguments doesn't match the amount of ? characters
- # [10:40] <anne> it doesn't really tell what to do with bogus SQL statements or SQL statements that are valid but are not supported for security reasons etc.
- # [10:40] <mjs> true
- # [10:40] <mjs> SQL statements can fail for all sorts of reasons
- # [10:40] <mjs> invalid row ID in a query for instance
- # [10:40] <anne> that too isn't addressed
- # [10:40] <mjs> are you gonna send this to the list?
- # [10:41] <anne> I suppose I can quickly e-mail the WHATWG, sure
- # [10:41] <mjs> thanks
- # [11:02] * Joins: zcorpan_ (zcorpan@88.131.66.80)
- # [11:06] * Joins: ROBOd (robod@89.123.53.137)
- # [11:13] * Quits: Thezilch (fuz007@68.52.119.203) (Connection reset by peer)
- # [11:16] * Joins: Thezilch (fuz007@68.52.119.203)
- # [12:11] * Quits: gavin_ (gavin@99.226.75.20) (Ping timeout)
- # [12:16] * Joins: gavin_ (gavin@99.226.75.20)
- # [12:41] * Quits: sbuluf (khjulbh@200.49.140.174) (Quit: sbuluf)
- # [13:31] * Joins: myakura (myakura@123.224.93.225)
- # [13:37] * Joins: olivier (ot@128.30.52.30)
- # [13:58] * Joins: tH_ (Rob@87.102.117.116)
- # [13:58] * tH_ is now known as tH
- # [14:01] * Joins: matt (matt@128.30.52.30)
- # [14:17] * Joins: gsnedders (gsnedders@86.137.237.196)
- # [14:18] * Quits: gavin_ (gavin@99.226.75.20) (Ping timeout)
- # [14:23] * Joins: gavin_ (gavin@99.226.75.20)
- # [14:45] * Quits: timbl (timbl@82.111.149.2) (Quit: timbl)
- # [15:45] * Joins: schepers (schepers@128.30.52.30)
- # [15:56] * Joins: karl (karlcow@128.30.52.30)
- # [16:08] * Quits: olivier (ot@128.30.52.30) (Quit: Leaving)
- # [16:26] * Quits: gavin_ (gavin@99.226.75.20) (Ping timeout)
- # [16:31] * Joins: gavin_ (gavin@99.226.75.20)
- # [16:32] * Joins: billmason (billmason@69.30.57.156)
- # [16:40] * Joins: hasather (hasather@90.227.221.48)
- # [16:42] * Quits: Lachy (chatzilla@124.170.94.29) (Quit: ChatZilla 0.9.78.1 [Firefox 2.0.0.6/2007072518])
- # [17:06] * Joins: Lionhear1 (robin@66.57.69.65)
- # [17:07] * Parts: Lionhear1 (robin@66.57.69.65)
- # [17:18] * Joins: hober (ted@68.107.112.172)
- # [17:23] * Joins: Lachy (chatzilla@124.170.94.29)
- # [17:23] * Quits: Lachy (chatzilla@124.170.94.29) (Quit: ChatZilla 0.9.78.1 [Firefox 2.0.0.6/2007072518])
- # [17:24] * Joins: Lachy (chatzilla@124.170.94.29)
- # [17:41] * Quits: karl (karlcow@128.30.52.30) (Quit: Where dwelt Ymir, or wherein did he find sustenance?)
- # [17:47] * drry is now known as drry0
- # [17:47] * drry0 is now known as drry_
- # [17:47] * drry_ is now known as drry_0
- # [17:47] * drry_0 is now known as drry0
- # [17:47] * drry0 is now known as drry__
- # [17:47] * drry__ is now known as drry___
- # [17:47] * drry___ is now known as drry_00
- # [17:47] * drry_00 is now known as drry____
- # [17:47] * drry____ is now known as drry00
- # [17:47] * drry00 is now known as drry_____
- # [17:47] * drry_____ is now known as drry__0
- # [17:47] * drry__0 is now known as drr______
- # [17:47] * drr______ is now known as drry___0
- # [17:47] * drry___0 is now known as dr_______
- # [17:47] * Quits: dr_______ (drry@211.9.170.225) (Quit: dr_______)
- # [17:49] * Joins: drry (drry@211.9.170.225)
- # [18:07] * Quits: myakura (myakura@123.224.93.225) (Quit: Leaving...)
- # [18:33] * Quits: gavin_ (gavin@99.226.75.20) (Ping timeout)
- # [18:38] * Joins: gavin_ (gavin@99.226.75.20)
- # [18:41] * Quits: schepers (schepers@128.30.52.30) (Client exited)
- # [19:03] * Joins: oedipus (oedipus@70.21.186.99)
- # [19:12] * Joins: Roger (roger@213.64.74.230)
- # [19:15] * Joins: Julian (chatzilla@217.91.35.233)
- # [19:54] * Quits: Roger (roger@213.64.74.230) (Quit: Roger)
- # [19:56] * Joins: dbaron (dbaron@63.245.220.241)
- # [19:57] * Quits: oedipus (oedipus@70.21.186.99) (Quit: oedipus)
- # [20:04] * Quits: mjs (mjs@64.81.48.145) (Quit: mjs)
- # [20:06] * Joins: Roger (roger@213.64.74.230)
- # [20:10] * Quits: Julian (chatzilla@217.91.35.233) (Ping timeout)
- # [20:40] * Quits: gavin_ (gavin@99.226.75.20) (Ping timeout)
- # [20:45] * Joins: gavin_ (gavin@99.226.75.20)
- # [21:03] * Joins: mjs (mjs@17.203.14.225)
- # [21:11] * Joins: kingryan (rking3@208.66.64.47)
- # [21:28] * Quits: gsnedders (gsnedders@86.137.237.196) (Quit: gsnedders)
- # [21:31] * Quits: zcorpan_ (zcorpan@88.131.66.80) (Ping timeout)
- # [21:34] * Joins: gsnedders (gsnedders@86.137.237.196)
- # [21:44] * Quits: mjs (mjs@17.203.14.225) (Quit: mjs)
- # [21:49] * Quits: Roger (roger@213.64.74.230) (Quit: Roger)
- # [21:58] * Quits: heycam (cam@203.214.105.232) (Ping timeout)
- # [22:15] * Joins: heycam (cam@203.214.12.23)
- # [22:18] * Quits: ROBOd (robod@89.123.53.137) (Quit: http://www.robodesign.ro )
- # [22:30] * Quits: matt (matt@128.30.52.30) (Quit: matt)
- # [22:47] * Quits: jgraham (jgraham@81.86.212.88) (Ping timeout)
- # [22:47] * Quits: gavin_ (gavin@99.226.75.20) (Ping timeout)
- # [22:52] * Joins: gavin_ (gavin@99.226.75.20)
- # [23:01] * Joins: jgraham (jgraham@81.86.209.202)
- # [23:04] * Joins: polin8 (polin8@75.71.72.175)
- # [23:05] * Joins: kingryan_ (rking3@208.66.64.47)
- # [23:06] * Quits: kingryan (rking3@208.66.64.47) (Ping timeout)
- # [23:16] * Quits: kingryan_ (rking3@208.66.64.47) (Quit: kingryan_)
- # [23:20] * Joins: kingryan (rking3@208.66.64.47)
- # [23:20] * Quits: kingryan (rking3@208.66.64.47) (Quit: kingryan)
- # [23:21] * Joins: kingryan (rking3@208.66.64.47)
- # [23:21] * Quits: kingryan (rking3@208.66.64.47) (Quit: kingryan)
- # [23:34] * Joins: mjs (mjs@17.203.14.225)
- # [23:34] * Joins: kingryan (rking3@208.66.64.47)
- # [23:43] * Joins: briansuda (briansuda@194.144.106.194)
- # [23:57] * Quits: mjs (mjs@17.203.14.225) (Ping timeout)
- # Session Close: Fri Sep 21 00:00:00 2007
The end :)