/irc-logs / freenode / #whatwg / 2014-08-13 / end

Options:

  1. # Session Start: Wed Aug 13 00:00:00 2014
  2. # Session Ident: #whatwg
  3. # [00:00] * Quits: tndrH (~Rob@cpc4-seac20-2-0-cust858.7-2.cable.virginm.net) (Quit: ChatZilla 0.9.90.1-rdmsoft [XULRunner 22.0/20130619132145])
  4. # [00:06] * Quits: ehsan (~ehsan@66.207.208.102) (Remote host closed the connection)
  5. # [00:07] * Quits: mpaarating (~mpaaratin@rrcs-97-78-217-146.se.biz.rr.com) (Quit: mpaarating)
  6. # [00:08] * Quits: lmclister (~lmclister@192.150.10.209)
  7. # [00:10] * Joins: lmclister (~lmclister@192.150.10.209)
  8. # [00:10] * Quits: lmclister (~lmclister@192.150.10.209) (Client Quit)
  9. # [00:12] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: :tiuQ tiuq sah woclrak)
  10. # [00:13] * Joins: lmclister (~lmclister@192.150.10.209)
  11. # [00:14] * Joins: jarek (~jarek@unaffiliated/jarek)
  12. # [00:16] * Joins: morrita_ (uid16889@gateway/web/irccloud.com/x-uolzydtkjnejpaqh)
  13. # [00:17] * Quits: lmclister (~lmclister@192.150.10.209) (Client Quit)
  14. # [00:21] * Quits: plutoniix (~plutoniix@node-zwr.pool-180-180.dynamic.totbb.net) (Quit: จรลี จรลา)
  15. # [00:24] * Quits: lilmonkey (~colin@pdpc/supporter/professional/riven) (Ping timeout: 250 seconds)
  16. # [00:25] * Joins: lmclister (~lmclister@192.150.10.209)
  17. # [00:25] * Joins: Lachy (~Lachy@cm-84.215.104.248.getinternet.no)
  18. # [00:25] * Quits: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2) (Ping timeout: 250 seconds)
  19. # [00:25] * Quits: zenparsing (~zenparsin@97-81-81-172.dhcp.athn.ga.charter.com)
  20. # [00:26] * Joins: lilmonkey (~colin@5ED090B0.cm-7-1c.dynamic.ziggo.nl)
  21. # [00:26] * Quits: lilmonkey (~colin@5ED090B0.cm-7-1c.dynamic.ziggo.nl) (Changing host)
  22. # [00:26] * Joins: lilmonkey (~colin@pdpc/supporter/professional/riven)
  23. # [00:31] * Quits: karbassi (~karbassi@li62-206.members.linode.com) (Remote host closed the connection)
  24. # [00:33] * Joins: jdaggett (~jdaggett@103.5.142.58)
  25. # [00:33] * Joins: ehsan (~ehsan@24-212-207-29.cable.teksavvy.com)
  26. # [00:34] * Quits: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net) (Remote host closed the connection)
  27. # [00:37] * Joins: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2)
  28. # [00:38] * Quits: GPHemsley (~GPHemsley@pdpc/supporter/student/GPHemsley) (Quit: This computer has gone to sleep)
  29. # [00:39] * Quits: rafaelrinaldi (~textual@B12E8B43.dynamic.spo.dsl.tesa.net.br) (Quit: My Mac Mini has gone to sleep. ZZZzzz…)
  30. # [00:45] * Quits: tantek (~tantek@corp-nat.p2p.sfo1.mozilla.com) (Quit: tantek)
  31. # [00:47] * Joins: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net)
  32. # [00:47] * Quits: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net) (Remote host closed the connection)
  33. # [00:48] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  34. # [00:50] * Joins: kriskowal (~kriskowal@66-215-92-194.dhcp.psdn.ca.charter.com)
  35. # [00:50] * Joins: tantek (~tantek@172.56.31.45)
  36. # [00:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 255 seconds)
  37. # [00:53] * Quits: benjamingr (uid23465@gateway/web/irccloud.com/x-tjcilzhumtiokarg) (Quit: Connection closed for inactivity)
  38. # [01:02] * Quits: jarek (~jarek@unaffiliated/jarek) (Quit: jarek)
  39. # [01:07] * Quits: abinader (sid21713@gateway/web/irccloud.com/x-fvobwacaiqncqohj)
  40. # [01:13] * Quits: tantek (~tantek@172.56.31.45) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
  41. # [01:15] * Joins: tantek (~tantek@172.56.31.45)
  42. # [01:15] * Joins: karbassi (~karbassi@li62-206.members.linode.com)
  43. # [01:18] * Quits: guybedford (~guybedfor@cpe-107-184-128-210.socal.res.rr.com) (Ping timeout: 264 seconds)
  44. # [01:19] * Quits: othermaciej (~mjs@17.114.218.77) (Quit: othermaciej)
  45. # [01:27] * Joins: guybedford (~guybedfor@172.56.16.147)
  46. # [01:31] * Quits: tantek (~tantek@172.56.31.45) (Ping timeout: 272 seconds)
  47. # [01:33] * Joins: tantek (~tantek@172.56.39.121)
  48. # [01:33] * Quits: satazor (~satazor@123.87.37.188.rev.vodafone.pt)
  49. # [01:36] * Quits: roc (~chatzilla@121-99-88-229.bng1.tvc.orcon.net.nz) (Remote host closed the connection)
  50. # [01:39] * Joins: seventh (seventh@128.90.90.226)
  51. # [01:40] * Joins: roven (~roven@78-20-24-80.access.telenet.be)
  52. # [01:40] * Quits: ehsan (~ehsan@24-212-207-29.cable.teksavvy.com) (Quit: Leaving...)
  53. # [01:40] * Quits: karbassi (~karbassi@li62-206.members.linode.com) (Remote host closed the connection)
  54. # [01:44] * Quits: roven (~roven@78-20-24-80.access.telenet.be) (Ping timeout: 260 seconds)
  55. # Session Close: Wed Aug 13 01:48:11 2014
  56. #
  57. # Session Start: Wed Aug 13 01:48:11 2014
  58. # Session Ident: #whatwg
  59. # [01:48] * Disconnected
  60. # [01:49] * Attempting to rejoin channel #whatwg
  61. # [01:49] * Rejoined channel #whatwg
  62. # [01:49] * Topic is 'http://www.whatwg.org/ — logs: http://krijnhoetmer.nl/irc-logs/ & http://logbot.glob.com.au/ — stats: http://gavinsharp.com/irc/whatwg.html — Please leave your sense of logic at the door, thanks!'
  63. # [01:49] * Set by annevk!~annevk@207.218.72.65 on Tue Mar 25 11:47:32
  64. # [01:50] * Quits: krijnhoetmer_ (~krijnhoet@ip4da4a84d.direct-adsl.nl) (Ping timeout: 250 seconds)
  65. # [01:52] * Quits: jdaggett (~jdaggett@103.5.142.58) (Quit: jdaggett)
  66. # [01:52] * Quits: tantek (~tantek@172.56.39.121) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
  67. # [01:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 272 seconds)
  68. # [02:00] * Quits: lmclister (~lmclister@192.150.10.209)
  69. # [02:01] * Quits: jernoble (~jernoble@17.202.45.163) (Quit: Computer has gone to sleep.)
  70. # [02:04] * Quits: willchan (willchan@nat/google/x-dtckktubyxjuihfl) (Ping timeout: 240 seconds)
  71. # [02:06] * Quits: Maurice` (copyman@5ED5617C.cm-7-6b.dynamic.ziggo.nl)
  72. # [02:06] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
  73. # [02:12] * Quits: ap (~ap@17.202.44.214)
  74. # [02:14] * Joins: jernoble (~jernoble@76.74.153.49)
  75. # [02:16] * Joins: roc (~chatzilla@2001:cb0:b202:232:2677:3ff:fece:dc64)
  76. # [02:16] * Joins: willchan (willchan@nat/google/x-jvmdjmwbvjhezjqs)
  77. # [02:18] * Quits: smaug____ (~chatzilla@a91-154-44-207.elisa-laajakaista.fi) (Ping timeout: 260 seconds)
  78. # [02:26] * Quits: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2) (Ping timeout: 250 seconds)
  79. # [02:32] * abarth|gardener is now known as abarth
  80. # [02:35] <Hixie_> jorendorff: what's a Module Instance Object?
  81. # [02:35] <jorendorff> Hixie_: === a Module Object.
  82. # [02:36] <Hixie_> http://people.mozilla.org/~jorendorff/es6-draft.html#sec-module-exotic-objects ?
  83. # [02:36] <jorendorff> yup
  84. # [02:36] <Hixie_> so, how does JS code create an object that has "all the internal data properties of a Module Instance Object"?
  85. # [02:37] <Hixie_> (context: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-linkdynamicmodules step 1.d)
  86. # [02:37] <jorendorff> Hixie_: the only way to do that is with newModule
  87. # [02:37] <Hixie_> ah, ok
  88. # [02:37] * Quits: say2joe (~say2joe@rrcs-76-79-68-2.west.biz.rr.com) (Quit: Leaving.)
  89. # [02:38] * Joins: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2)
  90. # [02:40] * Joins: jdaggett (~jdaggett@61-121-216-2.bitcat.net)
  91. # [02:41] <Hixie_> man, linking is really complicated
  92. # [02:42] <SamB> Hixie_: and you aren't even talking about ELF
  93. # [02:48] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  94. # [02:48] <Hixie_> i'm amused that CreateModuleLinkageRecord creates an object, not a record...
  95. # [02:54] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 272 seconds)
  96. # [02:56] <Hixie_> jorendorff: any idea what CreateImportBinding is?
  97. # [03:07] * Joins: plutoniix (~plutoniix@210.213.57.70)
  98. # [03:11] * Joins: jacobolus (~jacobolus@12.155.174.194)
  99. # [03:13] * Quits: bnicholson (~bnicholso@2620:101:80fc:224:7e7a:91ff:fe25:a5c6) (Ping timeout: 240 seconds)
  100. # [03:15] * Quits: jernoble (~jernoble@76.74.153.49) (Quit: Computer has gone to sleep.)
  101. # [03:16] * Joins: Goplat (~goplat@reactos/developer/Goplat)
  102. # [03:18] * Joins: tantek (~tantek@70-36-139-41.dsl.dynamic.sonic.net)
  103. # [03:25] * Quits: jeremyj (~jeremyj@17.202.49.56) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  104. # [03:26] * Quits: ambv (~ambv@206.108.217.134) (Quit: sys.exit(0) # computer went to sleep)
  105. # [03:29] * Quits: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com) (Read error: Connection reset by peer)
  106. # [03:29] * Joins: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com)
  107. # [03:37] * Quits: dbaron (~dbaron@2620:101:80fb:224:c4f5:a1a1:8d47:80a6) (Ping timeout: 250 seconds)
  108. # [03:41] * Joins: roven (~roven@78-20-24-80.access.telenet.be)
  109. # [03:45] * Quits: roven (~roven@78-20-24-80.access.telenet.be) (Ping timeout: 240 seconds)
  110. # [03:46] * Quits: Phaw (sid455@gateway/web/irccloud.com/x-tlmuakgkclthahen) (Read error: Connection reset by peer)
  111. # [03:46] * Joins: Phaw (sid455@gateway/web/irccloud.com/x-bzslvhzwvqkadqtl)
  112. # [03:47] * Krinkle is now known as Krinkle|detached
  113. # [03:47] * Joins: bnicholson (~bnicholso@24.130.57.109)
  114. # [03:49] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  115. # [03:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 260 seconds)
  116. # [03:55] * Quits: jwalden (~waldo@2620:101:80fc:224:7e7a:91ff:fe25:a5a3) (Quit: ChatZilla 0.9.87-8.1450hg.fc20 [XULRunner 30.0/20140605102323])
  117. # [04:00] * Joins: karlcow (~karl@nerval.la-grange.net)
  118. # [04:05] * Joins: jernoble (~jernoble@162.217.73.171)
  119. # [04:06] * Joins: ambv (~ambv@173.252.71.129)
  120. # [04:06] * Quits: weinig (~weinig@17.202.50.84) (Quit: weinig)
  121. # [04:10] * Quits: dawhite (~dawhite@74.118.22.223) (Ping timeout: 272 seconds)
  122. # [04:14] * Quits: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com) (Ping timeout: 250 seconds)
  123. # [04:22] * Quits: jernoble (~jernoble@162.217.73.171) (Quit: Computer has gone to sleep.)
  124. # [04:24] * Quits: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2) (Ping timeout: 250 seconds)
  125. # [04:28] * Joins: dbaron (~dbaron@50-0-128-161.dsl.dynamic.sonic.net)
  126. # [04:38] * Joins: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2)
  127. # [04:46] * Quits: ambv (~ambv@173.252.71.129) (Quit: sys.exit(0) # computer went to sleep)
  128. # [04:49] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  129. # [04:52] * Joins: lmclister (~lmclister@c-98-210-38-110.hsd1.ca.comcast.net)
  130. # [04:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 260 seconds)
  131. # [04:58] * Quits: jacobolus (~jacobolus@12.155.174.194) (Read error: Connection reset by peer)
  132. # [04:58] * Joins: jacobolus (~jacobolus@12.155.174.194)
  133. # [05:03] * Quits: tantek (~tantek@70-36-139-41.dsl.dynamic.sonic.net) (Quit: tantek)
  134. # [05:10] * Joins: KevinMarks (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net)
  135. # [05:29] * Quits: jacobolus (~jacobolus@12.155.174.194) (Remote host closed the connection)
  136. # [05:41] * Joins: roven (~roven@78-20-24-80.access.telenet.be)
  137. # [05:46] * Quits: roven (~roven@78-20-24-80.access.telenet.be) (Ping timeout: 250 seconds)
  138. # [05:49] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  139. # [05:51] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Quit: sicking)
  140. # [05:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 260 seconds)
  141. # [06:00] * Quits: guybedford (~guybedfor@172.56.16.147) (Ping timeout: 255 seconds)
  142. # [06:06] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
  143. # [06:08] * Joins: jernoble (~jernoble@162.217.73.171)
  144. # [06:15] * Joins: jungkees (uid24208@gateway/web/irccloud.com/x-mnesepkmpkqjwuzt)
  145. # [06:20] * Joins: L0TExp (~Test@85.15.43.126)
  146. # [06:28] * Quits: jernoble (~jernoble@162.217.73.171) (Quit: Computer has gone to sleep.)
  147. # [06:32] * Joins: ambv (~ambv@173.252.71.129)
  148. # [06:36] * Joins: sicking (~sicking@c-98-210-159-193.hsd1.ca.comcast.net)
  149. # [06:37] * Joins: tommyliu (~tommyliu@li568-208.members.linode.com)
  150. # [06:39] * Joins: tommyli__ (~tommyliu@li341-69.members.linode.com)
  151. # [06:42] * Quits: tommyliu (~tommyliu@li568-208.members.linode.com) (Ping timeout: 240 seconds)
  152. # [06:47] * Joins: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net)
  153. # [06:47] * Quits: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net) (Remote host closed the connection)
  154. # [06:48] * Joins: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net)
  155. # [06:48] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  156. # [06:51] * Quits: ambv (~ambv@173.252.71.129) (Quit: sys.exit(0) # computer went to sleep)
  157. # [06:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 264 seconds)
  158. # [07:01] * Joins: BigBangUDR (~Thunderbi@103.249.181.147)
  159. # [07:14] * Quits: BigBangUDR (~Thunderbi@103.249.181.147) (Ping timeout: 260 seconds)
  160. # [07:29] * zcorpan found http://lists.w3.org/Archives/Public/public-html-a11y/2014Jun/0115.html
  161. # [07:32] <zcorpan> <img src="logo" alt="W3C" longdesc="data:text/html;charset=utf-8;,%3C!DOCTYPE%20html%3E
  162. # [07:32] <zcorpan> %3Chtml%3E%3Chead%3E%3Ctitle%3EDescription%20of%20the%20W3C%20Logo%3C/title%3E%3C/head%3E
  163. # [07:32] <zcorpan> %3Cbody%3E%3Cp%3EA%20blue%20capital%20letter%20%22W%22%20with%20kerning%20so%20it%20
  164. # [07:32] <zcorpan> touches%20a%20blue%203%2C%20followed%20by%20a%20black%20shadow%20of%20a%20white%20
  165. # [07:32] <zcorpan> capital%20letter%20C%20all%20on%20a%20white%20background%3C/body%3E%3C/html%3E">
  166. # [07:33] * Joins: tommyliu (~tommyliu@183.37.158.188)
  167. # [07:33] * Joins: BigBangUDR (~Thunderbi@103.249.181.147)
  168. # [07:33] <SamB> zcorpan: crazyness!
  169. # [07:35] * Quits: tommyliu (~tommyliu@183.37.158.188) (Remote host closed the connection)
  170. # [07:35] <gsnedders> Go home, you're drunk.
  171. # [07:36] * Joins: tommyliu_ (~tommyliu@li341-69.members.linode.com)
  172. # [07:36] * Quits: tommyli__ (~tommyliu@li341-69.members.linode.com) (Ping timeout: 250 seconds)
  173. # [07:42] * Quits: lmclister (~lmclister@c-98-210-38-110.hsd1.ca.comcast.net)
  174. # [07:43] * Joins: roven (~roven@78-20-24-80.access.telenet.be)
  175. # [07:44] <zcorpan> http://www.w3.org/TR/2014/CR-html-longdesc-20140812/ also introduces the img.longdesc IDL attribute, in addition to the existing img.longDesc http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dom-img-longdesc
  176. # [07:45] <zcorpan> good times
  177. # [07:47] * Quits: roven (~roven@78-20-24-80.access.telenet.be) (Ping timeout: 240 seconds)
  178. # [07:48] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  179. # [07:49] * Quits: sicking (~sicking@c-98-210-159-193.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
  180. # [07:53] * Joins: sicking (~sicking@c-98-210-159-193.hsd1.ca.comcast.net)
  181. # [07:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 264 seconds)
  182. # [07:54] * Joins: tommyl___ (~tommyliu@61.144.248.40)
  183. # [07:55] * Quits: tommyliu_ (~tommyliu@li341-69.members.linode.com) (Read error: Connection reset by peer)
  184. # [08:05] * Quits: Goplat (~goplat@reactos/developer/Goplat) (Remote host closed the connection)
  185. # [08:35] * hayato_gardening is now known as hayato
  186. # [08:39] * Joins: zdobersek (~zan@109.201.152.243)
  187. # [08:42] * Quits: tommyl___ (~tommyliu@61.144.248.40) (Remote host closed the connection)
  188. # [08:42] * Quits: Smylers (~smylers@host86-163-17-51.range86-163.btcentralplus.com) (Quit: Leaving.)
  189. # [08:42] * Joins: tommyliu_ (~tommyliu@li341-69.members.linode.com)
  190. # [08:44] * Quits: roc (~chatzilla@2001:cb0:b202:232:2677:3ff:fece:dc64) (Remote host closed the connection)
  191. # [08:48] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  192. # [08:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 250 seconds)
  193. # [08:57] * Joins: benjamingr (uid23465@gateway/web/irccloud.com/x-duzrwcqahypmvaox)
  194. # [09:03] * Joins: Ducki_ (~Ducki@191.233.66.1)
  195. # [09:04] * Joins: markkes (~markkes@62.207.90.201)
  196. # [09:05] * Joins: davidyezsetz (~davidyezs@mail1.powerflasher.de)
  197. # [09:05] * Quits: Ducki (~Ducki@191.233.66.1) (Ping timeout: 240 seconds)
  198. # [09:06] * Joins: tommyl___ (~tommyliu@183.37.158.188)
  199. # [09:09] * Quits: tommyliu_ (~tommyliu@li341-69.members.linode.com) (Ping timeout: 246 seconds)
  200. # [09:11] * Joins: hango (~zihanliu@bas5-ottawa10-3096713902.dsl.bell.ca)
  201. # [09:12] * Joins: cbr_ (~admin@145.36.150.83.chzhher77.rootnet.ch)
  202. # [09:16] * Parts: hango (~zihanliu@bas5-ottawa10-3096713902.dsl.bell.ca)
  203. # [09:17] * Joins: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se)
  204. # [09:23] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Remote host closed the connection)
  205. # [09:23] * Quits: tommyl___ (~tommyliu@183.37.158.188) (Remote host closed the connection)
  206. # [09:24] * Joins: tommyliu (~tommyliu@li568-208.members.linode.com)
  207. # [09:25] * Quits: L0TExp (~Test@85.15.43.126) (Quit: Leaving.)
  208. # [09:25] * Joins: tav_ (~tav`@host86-185-186-93.range86-185.btcentralplus.com)
  209. # [09:27] * Quits: sicking (~sicking@c-98-210-159-193.hsd1.ca.comcast.net) (Quit: sicking)
  210. # [09:27] * Quits: tav (~tav`@host86-161-105-55.range86-161.btcentralplus.com) (Ping timeout: 244 seconds)
  211. # [09:27] * tav_ is now known as tav
  212. # [09:28] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
  213. # [09:29] * Quits: dbaron (~dbaron@50-0-128-161.dsl.dynamic.sonic.net) (Ping timeout: 245 seconds)
  214. # [09:34] * Quits: BigBangUDR (~Thunderbi@103.249.181.147) (Quit: BigBangUDR)
  215. # [09:40] * Joins: Ms2ger (~Ms2ger@5.222-242-81.adsl-dyn.isp.belgacom.be)
  216. # [09:45] <annevk> "If the longdesc document proceeds to CR and beyond, I believe the credibility of this WG will be materially harmed."
  217. # [09:46] <Ms2ger> The HTMLWG?
  218. # [09:49] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  219. # [09:50] <annevk> Hixie_: https://github.com/slightlyoff/ServiceWorker/issues/410 can't think of any problems with this offhand
  220. # [09:51] <wilhelm_> What happens if you put <picture><p>your random longdesc text here</p></picture>?
  221. # [09:51] * Joins: tommyl___ (~tommyliu@183.37.158.188)
  222. # [09:51] * wilhelm_ goes off to actually read the <picture> spec.
  223. # [09:51] * Quits: tommyliu (~tommyliu@li568-208.members.linode.com) (Read error: Connection reset by peer)
  224. # [09:52] <annevk> Hixie_: never mind
  225. # [09:52] * Joins: cheron (~cheron@unaffiliated/cheron)
  226. # [09:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 255 seconds)
  227. # [09:58] * Quits: Lachy (~Lachy@cm-84.215.104.248.getinternet.no) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  228. # [09:58] * Joins: roc (~chatzilla@121-99-88-229.bng1.tvc.orcon.net.nz)
  229. # [09:59] * Joins: sicking (~sicking@c-98-210-159-193.hsd1.ca.comcast.net)
  230. # [10:04] * Quits: sicking (~sicking@c-98-210-159-193.hsd1.ca.comcast.net) (Ping timeout: 260 seconds)
  231. # [10:19] * Quits: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2) (Ping timeout: 250 seconds)
  232. # [10:19] * Joins: Smylers (~smylers@host86-163-17-51.range86-163.btcentralplus.com)
  233. # [10:31] * Joins: Lachy (~Lachy@213.166.174.2)
  234. # [10:31] * Joins: GPHemsley (~GPHemsley@pdpc/supporter/student/GPHemsley)
  235. # [10:34] * Joins: BigBangUDR (~Thunderbi@103.249.181.147)
  236. # [10:39] * Joins: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2)
  237. # [10:48] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  238. # [10:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 260 seconds)
  239. # [11:02] * Joins: Lachy__ (~Lachy@tmo-106-232.customers.d1-online.com)
  240. # [11:03] * Joins: Maurice` (copyman@5ED5617C.cm-7-6b.dynamic.ziggo.nl)
  241. # [11:04] * Quits: Lachy (~Lachy@213.166.174.2) (Ping timeout: 245 seconds)
  242. # [11:15] * Quits: zcorpan_ (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Quit: Bye)
  243. # [11:24] * Joins: Lachy (~Lachy@213.166.174.2)
  244. # [11:25] * Joins: barnabywalters (~barnabywa@46-239-239-203.tal.is)
  245. # [11:25] * Quits: Lachy__ (~Lachy@tmo-106-232.customers.d1-online.com) (Read error: No route to host)
  246. # [11:29] <zcorpan> anyone remember if chrome or firefox have ever logged warnings in the console about html parse errors?
  247. # [11:30] <zcorpan> wilhelm_: same as <span><p>your random longdesc text here</p></span>
  248. # [11:30] <zcorpan> hsivonen: ^
  249. # [11:30] <gsnedders> zcorpan: Firefox never has
  250. # [11:30] <gsnedders> https://bugzilla.mozilla.org/show_bug.cgi?id=878364
  251. # [11:31] * Quits: jdaggett (~jdaggett@61-121-216-2.bitcat.net) (Quit: jdaggett)
  252. # [11:31] * Joins: adactio (~adactio@212.42.170.121)
  253. # [11:31] <zcorpan> gsnedders: thx
  254. # [11:31] <gsnedders> I don't think Chrome has either
  255. # [11:31] <gsnedders> jgraham: might know?
  256. # [11:32] * Joins: KevinMarks2 (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net)
  257. # [11:33] <jgraham> I don't think anyone ever has
  258. # [11:33] <gsnedders> Presto did.
  259. # [11:33] <zcorpan> yeah
  260. # [11:34] <jgraham> For which kinds of errors?
  261. # [11:34] <Ms2ger> Firefox points them out in view source
  262. # [11:34] <gsnedders> jgraham: You're the one who should know this!
  263. # [11:34] * Quits: KevinMarks (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net) (Ping timeout: 246 seconds)
  264. # [11:34] <jgraham> I remember presto having a link to the validator, but not actual error reporting. Obviously I'm wrong though
  265. # [11:35] <zcorpan> jgraham: i think basically all html parser errors
  266. # [11:35] <zcorpan> like "Doctype declaration has invalid format "
  267. # [11:35] <zcorpan> or "Illegal content before DOCTYPE, or DOCTYPE missing " for about:blank :-)
  268. # [11:36] <gsnedders> I think it was all parse errors, but I'm not really sure. I wasn't really around Lkpg by that point to overhear.
  269. # [11:37] <jgraham> I can't see that with 12.16/Linux
  270. # [11:37] <jgraham> Or the web suddenly fixed all its parse errors
  271. # [11:38] * Joins: smaug____ (~chatzilla@a91-154-44-207.elisa-laajakaista.fi)
  272. # [11:38] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: :tiuQ tiuq sah woclrak)
  273. # [11:39] <jgraham> did we stop doing this when the new parser landed?
  274. # [11:40] <gsnedders> did you load the page with the dev tools open?
  275. # [11:40] <jgraham> Yes
  276. # [11:40] <jgraham> I got a lot of CSS errors
  277. # [11:41] <zcorpan> i think you're looking at the wrong console
  278. # [11:41] <gsnedders> oh, it's in opera:config
  279. # [11:41] <gsnedders> opera:config#UserPrefs|ShowHTMLParsingErrors
  280. # [11:41] <gsnedders> IIRC the intention was to have no pref and have it shown when the dev tools were open
  281. # [11:42] * Quits: GPHemsley (~GPHemsley@pdpc/supporter/student/GPHemsley) (Quit: This computer has gone to sleep)
  282. # [11:42] <jgraham> I'm not sure that was the intention
  283. # [11:43] <jgraham> But OK, old Opera has it, but not by default
  284. # [11:44] * Joins: roven (~roven@78-20-24-80.access.telenet.be)
  285. # [11:48] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  286. # [11:49] * Quits: roven (~roven@78-20-24-80.access.telenet.be) (Ping timeout: 250 seconds)
  287. # [11:51] * Quits: tommyl___ (~tommyliu@183.37.158.188) (Remote host closed the connection)
  288. # [11:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 250 seconds)
  289. # [11:54] <zcorpan> oh, didn't know i had that pref on (or that it existed)
  290. # [11:55] <gsnedders> I just wondered why I wasn't getting any parse errors and looked in opera:config
  291. # [11:57] * Joins: scor (~scor@drupal.org/user/52142/view)
  292. # [12:03] * Quits: Lachy (~Lachy@213.166.174.2) (*.net *.split)
  293. # [12:03] * Quits: Ducki_ (~Ducki@191.233.66.1) (*.net *.split)
  294. # [12:03] * Quits: TabAtkins (sid11559@gateway/web/irccloud.com/x-bpycejmmibsfrnhb) (*.net *.split)
  295. # [12:03] * Quits: eric_carlson (~eric@17.202.43.125) (*.net *.split)
  296. # [12:03] * Quits: malcolmva (~malcolmva@c-67-180-198-144.hsd1.ca.comcast.net) (*.net *.split)
  297. # [12:03] * Quits: mven (~textual@169.241.49.57) (*.net *.split)
  298. # [12:03] * Quits: manu (~manu@216.252.204.51) (*.net *.split)
  299. # [12:07] <JakeA> annevk: might be pedantic, but the as* methods, some suggest reading the data as a particular format (text, JSON, formData) whilst others return a different view of the raw data (ArrayBuffer, Blob). I guess XHR has the same issue, maybe not worth worrying about.
  300. # [12:10] * Joins: Lachy (~Lachy@213.166.174.2)
  301. # [12:10] * Joins: Ducki_ (~Ducki@191.233.66.1)
  302. # [12:10] * Joins: TabAtkins (sid11559@gateway/web/irccloud.com/x-bpycejmmibsfrnhb)
  303. # [12:10] * Joins: eric_carlson (~eric@17.202.43.125)
  304. # [12:10] * Joins: malcolmva (~malcolmva@c-67-180-198-144.hsd1.ca.comcast.net)
  305. # [12:10] * Joins: mven (~textual@169.241.49.57)
  306. # [12:10] * Joins: manu (~manu@216.252.204.51)
  307. # [12:27] * Quits: Lachy (~Lachy@213.166.174.2) (*.net *.split)
  308. # [12:27] * Quits: Ducki_ (~Ducki@191.233.66.1) (*.net *.split)
  309. # [12:27] * Quits: TabAtkins (sid11559@gateway/web/irccloud.com/x-bpycejmmibsfrnhb) (*.net *.split)
  310. # [12:27] * Quits: eric_carlson (~eric@17.202.43.125) (*.net *.split)
  311. # [12:27] * Quits: malcolmva (~malcolmva@c-67-180-198-144.hsd1.ca.comcast.net) (*.net *.split)
  312. # [12:27] * Quits: mven (~textual@169.241.49.57) (*.net *.split)
  313. # [12:27] * Quits: manu (~manu@216.252.204.51) (*.net *.split)
  314. # [12:28] * Joins: espadrine (~ttyl@LMontsouris-656-01-02-84.w80-12.abo.wanadoo.fr)
  315. # [12:31] * Quits: plutoniix (~plutoniix@210.213.57.70) (Quit: จรลี จรลา)
  316. # [12:34] * Joins: Lachy (~Lachy@213.166.174.2)
  317. # [12:34] * Joins: Ducki_ (~Ducki@191.233.66.1)
  318. # [12:34] * Joins: TabAtkins (sid11559@gateway/web/irccloud.com/x-bpycejmmibsfrnhb)
  319. # [12:34] * Joins: eric_carlson (~eric@17.202.43.125)
  320. # [12:34] * Joins: malcolmva (~malcolmva@c-67-180-198-144.hsd1.ca.comcast.net)
  321. # [12:34] * Joins: mven (~textual@169.241.49.57)
  322. # [12:34] * Joins: manu (~manu@216.252.204.51)
  323. # [12:40] * Quits: beowulf (~sstewart@host81-147-184-33.range81-147.btcentralplus.com) (Read error: Connection reset by peer)
  324. # [12:46] * Joins: beowulf (~sstewart@host86-168-39-181.range86-168.btcentralplus.com)
  325. # [12:46] <annevk> JakeA: you could also see it as bytes, text, JSON, form data, with different types for bytes
  326. # [12:46] <annevk> JakeA: if we ever get a true Unicode string we might add an accessor for that too
  327. # [12:48] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  328. # [12:49] <jgraham> (fwiw I believe Rust has a nice convention that as_* methods are zero-cost and things that aren't just returning a different view of the underlying data are not called as_. Something like that might be nice, but I guess the ship sailed)
  329. # [12:49] <JakeA> annevk: yeah, I guess it's readAsJSON vs readIntoBlob
  330. # [12:49] <JakeA> Although the latter suggests you provide a blob to read into
  331. # [12:49] * Quits: Smylers (~smylers@host86-163-17-51.range86-163.btcentralplus.com) (Quit: Leaving.)
  332. # [12:50] * Joins: dmital (2ee58dc4@gateway/web/cgi-irc/kiwiirc.com/ip.46.229.141.196)
  333. # [12:51] <annevk> I think it's both the same really
  334. # [12:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 246 seconds)
  335. # [12:53] <smaug____> does html spec define reusing of Window objects ?
  336. # [12:54] <JakeA> asJSON reads as JSON and returns js obj. asBlob reads as binary and returns Blob. asText reads as UTF8 and returns string.
  337. # [12:54] <annevk> smaug____: there's only reuse of a WindowProxy object
  338. # [12:55] <annevk> smaug____: which is somewhat defined, though the details of WindowProxy leave to be desired
  339. # [12:55] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
  340. # [12:57] * Quits: cbr_ (~admin@145.36.150.83.chzhher77.rootnet.ch) (Quit: cbr_)
  341. # [12:58] * Quits: jcgregorio (jcgregorio@nat/google/x-iviwqufzbcidarpg) (Ping timeout: 240 seconds)
  342. # [13:00] * Joins: smaug_____ (~chatzilla@37-219-4-16.nat.bb.dnainternet.fi)
  343. # [13:00] * Quits: smaug____ (~chatzilla@a91-154-44-207.elisa-laajakaista.fi) (Ping timeout: 250 seconds)
  344. # [13:00] * Quits: smaug_____ (~chatzilla@37-219-4-16.nat.bb.dnainternet.fi) (Client Quit)
  345. # [13:00] * Joins: smaug____ (~chatzilla@37-219-4-16.nat.bb.dnainternet.fi)
  346. # [13:01] <smaug____> hmm, so there is the initial about:blank right before the new page is loaded
  347. # [13:01] <smaug____> and at least in Gecko the Window is reused
  348. # [13:02] <smaug____> assuming about:blank and the new page are coming from the same domain
  349. # [13:04] <annevk> about:blank is different
  350. # [13:06] <annevk> smaug____: see e.g. this note: "In general, there is a 1-to-1 mapping from the Window object to the Document object. There are two exceptions. First, a Window can be reused for the presentation of a second Document in the same browsing context, such that the mapping is then 1-to-2. This occurs when a browsing context is navigated from the initial about:blank Document to another, with replacement enabled. Second, a Document can end u
  351. # [13:06] <annevk> p being reused for several Window objects when the document.open() method is used, such that the mapping is then many-to-1."
  352. # [13:07] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 240 seconds)
  353. # [13:07] <smaug____> ok, so spec is like Gecko here
  354. # [13:07] <smaug____> ok
  355. # [13:08] * smaug____ is just wondering the behavior of .localStorage
  356. # [13:08] <smaug____> in case Window is reused
  357. # [13:08] * Joins: cbr_ (~admin@145.36.150.83.chzhher77.rootnet.ch)
  358. # [13:09] <smaug____> aha, " Each Document object must have a separate object for its Window's localStorage attribute."
  359. # [13:10] * Joins: jcgregorio (jcgregorio@nat/google/x-kjpeuhlzndyrddzd)
  360. # [13:16] * gsnedders looks utterly confused at getting email from jgraham reviewing html5lib stuff
  361. # [13:16] <gsnedders> jgraham: are you ill? :P
  362. # [13:17] <jgraham> gsnedders: who knows!
  363. # [13:17] * Quits: davidyezsetz (~davidyezs@mail1.powerflasher.de) (Quit: davidyezsetz)
  364. # [13:21] * Joins: tommyliu (~tommyliu@li568-208.members.linode.com)
  365. # [13:21] * Quits: tommyliu (~tommyliu@li568-208.members.linode.com) (Remote host closed the connection)
  366. # [13:21] * Quits: Lachy (~Lachy@213.166.174.2) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  367. # [13:23] * Joins: Lachy (~Lachy@213.166.174.2)
  368. # [13:23] * Quits: mven (~textual@169.241.49.57) (Ping timeout: 246 seconds)
  369. # [13:26] <zcorpan> did someone define mime type parsing?
  370. # [13:27] <zcorpan> http://mimesniff.spec.whatwg.org/#parsing-a-mime-type ... a lot of red boxes
  371. # [13:31] * Joins: mpt (~mpt@canonical/mpt)
  372. # [13:31] * Parts: dmital (2ee58dc4@gateway/web/cgi-irc/kiwiirc.com/ip.46.229.141.196)
  373. # [13:33] * Quits: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se) (Remote host closed the connection)
  374. # [13:34] <annevk> zcorpan: yes :-(
  375. # [13:34] * Joins: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se)
  376. # [13:38] * Quits: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se) (Ping timeout: 244 seconds)
  377. # [13:39] * Joins: jdaggett (~jdaggett@ae031063.dynamic.ppp.asahi-net.or.jp)
  378. # [13:39] <annevk> zcorpan: care to fix it?
  379. # [13:40] <annevk> zcorpan: there's a bunch of issues there
  380. # [13:40] <zcorpan> maybe. currently looking at behavior of the type attribute in general
  381. # [13:40] <zcorpan> seems like it's a mess even ignoring the issue of mime type parsing
  382. # [13:44] <annevk> yeah, there's a number of problems
  383. # [13:44] <annevk> e.g. with whether or not parameters should block or not, whether it's just string matching
  384. # [13:44] <zcorpan> yep
  385. # [13:44] <annevk> or ASCII case-insensitive string matching
  386. # [13:44] <zcorpan> trim or not
  387. # [13:44] <annevk> <style> and <script> are different I think
  388. # [13:44] <zcorpan> empty string equals absent attribute or not
  389. # [13:44] * Joins: davidyezsetz (~davidyezs@mail1.powerflasher.de)
  390. # [13:45] <annevk> string matching of sorts is the best I think
  391. # [13:45] <annevk> e.g. registry based, no parameters
  392. # [13:45] * Joins: roven (~roven@78-20-24-80.access.telenet.be)
  393. # [13:45] <annevk> for new attributes
  394. # [13:46] * Joins: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se)
  395. # [13:48] * Joins: scor (scor@nat/acquia/x-dvmxglufeduvrpij)
  396. # [13:48] * Quits: scor (scor@nat/acquia/x-dvmxglufeduvrpij) (Changing host)
  397. # [13:48] * Joins: scor (scor@drupal.org/user/52142/view)
  398. # [13:49] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  399. # [13:49] * Quits: scor (scor@drupal.org/user/52142/view) (Client Quit)
  400. # [13:49] * Quits: roven (~roven@78-20-24-80.access.telenet.be) (Ping timeout: 245 seconds)
  401. # [13:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 272 seconds)
  402. # [13:57] * Joins: scor (scor@drupal.org/user/52142/view)
  403. # [13:57] * Quits: davidyezsetz (~davidyezs@mail1.powerflasher.de) (Quit: davidyezsetz)
  404. # [13:57] * Joins: davidyezsetz (~davidyezs@mail1.powerflasher.de)
  405. # [13:58] * Joins: smaug_____ (~chatzilla@a91-154-44-207.elisa-laajakaista.fi)
  406. # [13:59] * Quits: smaug_____ (~chatzilla@a91-154-44-207.elisa-laajakaista.fi) (Client Quit)
  407. # [14:00] * Quits: smaug____ (~chatzilla@37-219-4-16.nat.bb.dnainternet.fi) (Ping timeout: 245 seconds)
  408. # [14:02] * Quits: davidyezsetz (~davidyezs@mail1.powerflasher.de) (Ping timeout: 260 seconds)
  409. # [14:05] * Joins: smaug____ (~chatzilla@a91-154-44-207.elisa-laajakaista.fi)
  410. # [14:14] * Joins: plutoniix (~plutoniix@node-jzn.pool-101-108.dynamic.totbb.net)
  411. # [14:16] * Joins: davidyezsetz (~davidyezs@mail1.powerflasher.de)
  412. # [14:21] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Remote host closed the connection)
  413. # [14:23] * Quits: benjamingr (uid23465@gateway/web/irccloud.com/x-duzrwcqahypmvaox) (Quit: Connection closed for inactivity)
  414. # [14:26] * Joins: zenparsing (~zenparsin@97-81-81-172.dhcp.athn.ga.charter.com)
  415. # [14:27] * Joins: tj_vantoll (~Adium@2601:4:5380:2ec:21e7:86a:a458:f182)
  416. # [14:35] * Joins: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com)
  417. # [14:38] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 260 seconds)
  418. # [14:46] * Joins: zcorpan_ (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
  419. # [14:46] * Quits: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com) (Ping timeout: 264 seconds)
  420. # [14:46] <Ms2ger> gsnedders, maybe relevant: https://twitter.com/csoghoian/status/499402368694616064
  421. # [14:48] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  422. # [14:49] * Joins: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com)
  423. # [14:49] * Joins: mpaarating (~mpaaratin@rrcs-97-78-217-146.se.biz.rr.com)
  424. # [14:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 260 seconds)
  425. # [14:56] <Ms2ger> Oh, heh
  426. # [14:57] <Ms2ger> I thought WorkerLocation_host.htm would test that the browser supports WorkerLocation.host
  427. # [14:58] <Ms2ger> But it only tests WorkerLocation.host and Location.host both, or neither
  428. # [15:00] <Ms2ger> Hmm
  429. # [15:02] <Ms2ger> Given new Worker("support/WorkerLocation.js?")
  430. # [15:02] <Ms2ger> What is location.search?
  431. # [15:02] <Ms2ger> annevk, ^
  432. # [15:07] <caitp> don't you discard the search query if they're not used in a relative url, when resolving a relative url?
  433. # [15:13] * Quits: stalled (~stalled@unaffiliated/stalled) (Ping timeout: 245 seconds)
  434. # [15:14] * Quits: lerc (~quassel@121-74-5-229.telstraclear.net) (Ping timeout: 255 seconds)
  435. # [15:16] * Quits: zenparsing (~zenparsin@97-81-81-172.dhcp.athn.ga.charter.com)
  436. # [15:16] <JakeA> What's the benefit of sharedWorker.port vs sharedWorker.postMessage and sharedWorker.onmessage?
  437. # [15:20] <annevk> Ms2ger: the spec doesn't say?
  438. # [15:21] <annevk> caitp: nope
  439. # [15:21] * Joins: newtron_ (~newtron@199.71.174.203)
  440. # [15:21] <annevk> JakeA: there's no sharedWorker.postMessage
  441. # [15:22] <JakeA> yes
  442. # [15:22] <JakeA> but why? Why was .port a better idea?
  443. # [15:22] <caitp> are you serious? if window.location is `https://foo.com/path/index.html?search=puppies`, and I create a worker with a relative uri `resources/worker.js`, the resolved URI would still contain `?search=puppies`? that seems dumb
  444. # [15:22] * Joins: josemanuel (~josemanue@188.Red-88-26-144.staticIP.rima-tde.net)
  445. # [15:23] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  446. # [15:24] <annevk> caitp: oh no, if your relative URL does not contain a query component it won't get one
  447. # [15:24] <annevk> JakeA: good question
  448. # [15:25] <caitp> that makes more sense :>
  449. # [15:25] <annevk> Ms2ger was asking about something else
  450. # [15:25] <annevk> JakeA: I assume it is related to GC
  451. # [15:26] <annevk> JakeA: smaug____ might know and Hixie_ otherwise
  452. # [15:27] <JakeA> Cheers. serviceworker has .postMessage and .onmessage, but maybe there's some reason it should be .port
  453. # [15:27] * smaug____ doesn't know. He was against all the ports
  454. # [15:29] <jgraham> Hixie_ had some idea of using ports passed over channels for some kind of object capability system. But I don't know if that's related to this
  455. # [15:32] * Joins: mpt (~mpt@nat/canonical/x-firxrrisvmagxxhk)
  456. # [15:32] * Quits: mpt (~mpt@nat/canonical/x-firxrrisvmagxxhk) (Changing host)
  457. # [15:32] * Joins: mpt (~mpt@canonical/mpt)
  458. # [15:32] <annevk> JakeA: it seems like we should have good reasons to diverge from the existing pattern for shared workers since we are copying them mostly
  459. # [15:32] <gsnedders> Ms2ger: only vaguely; doesn't address why they have it at all!
  460. # [15:33] <JakeA> annevk: I don't think we're coping sharedworker all that much. The lifecycle is different is very different
  461. # [15:33] <JakeA> copying*
  462. # [15:33] <annevk> JakeA: well the global inherits from it
  463. # [15:33] <annevk> JakeA: and architecture-wise in browsers there's quite a bit of sharing as I understand it
  464. # [15:34] <JakeA> annevk: We're not inheriting from the global
  465. # [15:34] <JakeA> annevk: We don't want onconnect or name
  466. # [15:35] <JakeA> annevk: I take the point about sharing, but the terminating and spinning up just-in-time is very different to sharedworker
  467. # [15:36] * Joins: stalled (~stalled@unaffiliated/stalled)
  468. # [15:36] <Ms2ger> annevk, oh, the spec does say, but I guess I misread it when implementing
  469. # [15:36] <annevk> Oh I see
  470. # [15:36] <Ms2ger> annevk, or did it change recently?
  471. # [15:36] <annevk> Ms2ger: define recently
  472. # [15:36] * Quits: josemanuel (~josemanue@188.Red-88-26-144.staticIP.rima-tde.net) (Quit: Saliendo)
  473. # [15:37] <Ms2ger> annevk, since end of June
  474. # [15:37] * Joins: zenparsing (~zenparsin@97-81-81-172.dhcp.athn.ga.charter.com)
  475. # [15:37] <annevk> Ms2ger: there was https://github.com/whatwg/url/commit/f3bd39040ee1a2aabe0863879f2fc74f17c3b0f0
  476. # [15:37] <annevk> Ms2ger: but that doesn't really affect this
  477. # [15:38] <Ms2ger> No
  478. # [15:38] <Ms2ger> Weird
  479. # [15:39] <annevk> JakeA: I think it would be good to talk the current design through with Hixie_
  480. # [15:39] <annevk> JakeA: or maybe file bugs on HTML that make API reuse easier
  481. # [15:40] <annevk> JakeA: e.g. service worker not having to define IDL for postMessage or even defining postMessage seems sensible
  482. # [15:40] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 272 seconds)
  483. # [15:40] <annevk> JakeA: and HTML is certainly not fixed
  484. # [15:41] * Ms2ger fixes Servo
  485. # [15:41] <JakeA> annevk: we're not defining postMessage at the moment, we're inheriting from Worker to get it
  486. # [15:42] <annevk> JakeA: but Worker has things we don't want
  487. # [15:42] <annevk> JakeA: so coordinating with Hixie_ to get a subset interface would be good
  488. # [15:42] <JakeA> terminate, yeah. Hmm
  489. # [15:43] * Joins: TallTed (~Thud@63.119.36.36)
  490. # [15:46] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Remote host closed the connection)
  491. # [15:46] * Joins: roven (~roven@78-20-24-80.access.telenet.be)
  492. # [15:47] <annevk> added my suggestion in the issue
  493. # [15:51] <annevk> JakeA: we're planning on adding caches for documents
  494. # [15:51] <annevk> JakeA: but we worry that window.caches might break
  495. # [15:51] * Quits: roven (~roven@78-20-24-80.access.telenet.be) (Ping timeout: 272 seconds)
  496. # [15:51] <JakeA> annevk: yeah, figured that might be the case
  497. # [15:51] <JakeA> annevk: is it just that it's too short & potentially ambiguous a name?
  498. # [15:52] * Joins: juandopazo (~juandopaz@64.211.65.178)
  499. # [15:52] <annevk> JakeA: mostly that it might clash with existing content in some way
  500. # [15:52] <wanderview> right now I have it behind a pref at window.navigator.caches
  501. # [15:53] <annevk> JakeA: e.g. if someone has <p id=caches> <script> caches.textContent = "global object so bad" </script>
  502. # [15:53] <annevk> (<p id=navigator> <script> navigator.textContent = "global object so bad" </script> fails)
  503. # [15:54] * Quits: Ducki_ (~Ducki@191.233.66.1) (Ping timeout: 246 seconds)
  504. # [15:54] <wanderview> I guess not crucial to get right now as its not spec'd, just wanted to know what we were leaning towards so I could make my prefed-off thing match
  505. # [15:54] * Quits: TallTed (~Thud@63.119.36.36)
  506. # [15:55] * Joins: Ducki (~Ducki@191.233.66.1)
  507. # [15:56] <annevk> so fetch() is always on the global at the moment
  508. # [15:56] <JakeA> navigator.caches isn't end of the world. window.resourceCaches is… probably worse
  509. # [15:56] <JakeA> but yeah, fetch has the same issue
  510. # [15:57] <annevk> fetchStore ftw
  511. # [15:57] <JakeA> :sadface:
  512. # [15:57] <JakeA> that was a dark time
  513. # [16:00] <wanderview> annevk: why isn't this a problem for fetch as well? should we move it to window.navigator.fetch?
  514. # [16:01] * Joins: karlcow (~karl@nerval.la-grange.net)
  515. # [16:01] <JakeA> navigator - the *other* dumping ground
  516. # [16:02] <zcorpan_> just call it XMLHttpFetch
  517. # [16:03] <JakeA> haha
  518. # [16:03] <JakeA> resourceFetch resourceCaches
  519. # [16:03] * JakeA is sick in mouth
  520. # [16:04] <annevk> wanderview: the idea was to be bold and brave
  521. # [16:04] <annevk> wanderview: until we move to navigator
  522. # [16:04] <annevk> wanderview: with tail between our legs
  523. # [16:04] <annevk> or some such
  524. # [16:05] <wanderview> I'm not particularly advocating that... just seems like a similarly common word to "caches"
  525. # [16:05] <annevk> I guess we should try putting both on Window and see
  526. # [16:05] * Joins: mpt (~mpt@canonical/mpt)
  527. # [16:06] <wanderview> ok, I'll stick it on window
  528. # [16:06] <wanderview> behind a pref
  529. # [16:06] <wanderview> in my local patch queue, not committed to any repo
  530. # [16:07] * Joins: marcosc (~marcosc@135-23-143-163.cpe.pppoe.ca)
  531. # [16:09] * Joins: TallTed (~Thud@63.119.36.36)
  532. # [16:09] <JakeA> I'm doing a quick search for id="caches" and id="fetch", see how many pages have it
  533. # [16:10] * Quits: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se) (Remote host closed the connection)
  534. # [16:10] <annevk> JakeA: not sure if that's the only possible problem
  535. # [16:11] <annevk> JakeA: I'm a bit hazy on compat hazards when it comes to adding new things to the global
  536. # [16:12] <JakeA> agreed, it's just a vague indicator
  537. # [16:13] <zcorpan_> view-source:http://fuskator.com uses id="fetch" (site is NSFW)
  538. # [16:14] * zenparsing goes and invents a proper module system to supplant the global object, oh wait... : \
  539. # [16:15] <zcorpan_> didn't find other id=fetch or caches but i didn't let the grep finish
  540. # [16:16] * Quits: zcorpan_ (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Remote host closed the connection)
  541. # [16:16] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  542. # [16:17] <annevk> bit annoyed with a lot of the module stuff happening in private
  543. # [16:19] <zenparsing> don't get me started annevk : )
  544. # [16:19] * Quits: Lachy (~Lachy@213.166.174.2) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  545. # [16:20] * Quits: BigBangUDR (~Thunderbi@103.249.181.147) (Quit: BigBangUDR)
  546. # [16:20] * Joins: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se)
  547. # [16:23] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 272 seconds)
  548. # [16:24] * Quits: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2) (Ping timeout: 260 seconds)
  549. # [16:25] * Joins: boogyman (~boogyman@38.88.11.131)
  550. # [16:25] * Quits: boogyman (~boogyman@38.88.11.131) (Changing host)
  551. # [16:25] * Joins: boogyman (~boogyman@pdpc/supporter/professional/boogyman)
  552. # [16:25] <Domenic> window.fetch -> window.JSONSpdyRequest kthxbai
  553. # [16:27] * Joins: Areks_home (~Areks@128-72-254-245.broadband.corbina.ru)
  554. # [16:33] * Joins: mven (~textual@ip68-104-38-84.lv.lv.cox.net)
  555. # [16:33] * Quits: mven (~textual@ip68-104-38-84.lv.lv.cox.net) (Max SendQ exceeded)
  556. # [16:34] * Joins: mven (~textual@ip68-104-38-84.lv.lv.cox.net)
  557. # [16:34] * Joins: ehsan (~ehsan@2001:450:1f:224:7f:7353:fae4:d88d)
  558. # [16:36] * Quits: karlcow (~karl@nerval.la-grange.net) (Ping timeout: 246 seconds)
  559. # [16:37] * Joins: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2)
  560. # [16:38] * Quits: jdaggett (~jdaggett@ae031063.dynamic.ppp.asahi-net.or.jp) (Quit: jdaggett)
  561. # [16:39] * Joins: Lachy (~Lachy@213.166.174.2)
  562. # [16:39] * Quits: mven (~textual@ip68-104-38-84.lv.lv.cox.net) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  563. # [16:45] * Joins: benjamingr (uid23465@gateway/web/irccloud.com/x-ezxreyxbuxnhmbeb)
  564. # [16:49] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  565. # [16:50] * Quits: Lachy (~Lachy@213.166.174.2) (Read error: Connection reset by peer)
  566. # [16:50] * Joins: Lachy__ (~Lachy@213.166.174.2)
  567. # [16:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 260 seconds)
  568. # [16:54] <JakeA> Domenic: requestPermission - should it reject if permission is denied, or resolve with "false"
  569. # [16:55] * Quits: Lachy__ (~Lachy@213.166.174.2) (Read error: Connection reset by peer)
  570. # [16:55] <Domenic> JakeA: that naming could go either way, but I think we have historically leaned toward reject
  571. # [16:55] <JakeA> Cheers
  572. # [16:56] * Joins: izhak (~izhak@92.248.142.152)
  573. # [16:56] * Joins: Lachy (~Lachy@tmo-097-36.customers.d1-online.com)
  574. # [16:56] * Quits: stalled (~stalled@unaffiliated/stalled) (Ping timeout: 245 seconds)
  575. # [16:56] * Joins: sballesteros (uid39846@gateway/web/irccloud.com/x-uogrtllhrblxdnot)
  576. # [16:58] * Joins: karlcow (~karl@nerval.la-grange.net)
  577. # [17:02] * Joins: Lachy__ (~Lachy@213.166.174.2)
  578. # [17:02] * Quits: Lachy__ (~Lachy@213.166.174.2) (Read error: Connection reset by peer)
  579. # [17:02] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
  580. # [17:02] * Joins: Lachy__ (~Lachy@213.166.174.2)
  581. # [17:03] * Quits: Lachy (~Lachy@tmo-097-36.customers.d1-online.com) (Read error: Connection reset by peer)
  582. # [17:04] * Quits: mpaarating (~mpaaratin@rrcs-97-78-217-146.se.biz.rr.com) (Quit: mpaarating)
  583. # [17:06] * Quits: izhak (~izhak@92.248.142.152) (Ping timeout: 244 seconds)
  584. # [17:07] * Quits: Ducki (~Ducki@191.233.66.1) (Ping timeout: 240 seconds)
  585. # [17:09] * Joins: sicking (~sicking@c-98-210-159-193.hsd1.ca.comcast.net)
  586. # [17:14] * Joins: izhak (~izhak@92.248.142.152)
  587. # [17:16] * Quits: izhak (~izhak@92.248.142.152) (Remote host closed the connection)
  588. # [17:17] * Joins: ambv (~ambv@173.252.71.129)
  589. # [17:18] * Joins: stalled (~stalled@unaffiliated/stalled)
  590. # [17:18] * Joins: izhak (~izhak@92.248.142.152)
  591. # [17:20] * Quits: jungkees (uid24208@gateway/web/irccloud.com/x-mnesepkmpkqjwuzt) (Quit: Connection closed for inactivity)
  592. # [17:21] <annevk> Domenic: JakeA: https://github.com/slightlyoff/ServiceWorker/issues/413
  593. # [17:21] <JakeA> already there
  594. # [17:23] * Joins: jernoble (~jernoble@76.74.153.49)
  595. # [17:23] * Quits: izhak (~izhak@92.248.142.152) (Ping timeout: 244 seconds)
  596. # [17:24] * Joins: izhak (~izhak@92.248.142.152)
  597. # [17:25] * Joins: Smylers (~smylers@host86-163-17-51.range86-163.btcentralplus.com)
  598. # [17:26] * Joins: dawhite (~dawhite@74.118.22.223)
  599. # [17:26] * Krinkle|detached is now known as Krinkle
  600. # [17:27] * Joins: ndkrempel (ndkrempel@nat/google/x-mbskmslhlmblwtvz)
  601. # [17:28] * Quits: ndkrempel (ndkrempel@nat/google/x-mbskmslhlmblwtvz) (Client Quit)
  602. # [17:29] <annevk> need streams sorted \o/
  603. # [17:30] * Quits: izhak (~izhak@92.248.142.152) (Remote host closed the connection)
  604. # [17:30] * Joins: ndkrempel (ndkrempel@nat/google/x-xklfdyjcdncdsobj)
  605. # [17:30] * Joins: izhak (~izhak@92.248.142.152)
  606. # [17:32] * Quits: cbr_ (~admin@145.36.150.83.chzhher77.rootnet.ch) (Quit: cbr_)
  607. # [17:32] * Joins: hemanth (~hemanth@122.166.182.198)
  608. # [17:34] * Quits: izhak (~izhak@92.248.142.152) (Remote host closed the connection)
  609. # [17:34] * Joins: izhak (~izhak@92.248.142.152)
  610. # [17:35] * Quits: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se) (Remote host closed the connection)
  611. # [17:39] * Quits: izhak (~izhak@92.248.142.152) (Client Quit)
  612. # [17:39] * Quits: espadrine (~ttyl@LMontsouris-656-01-02-84.w80-12.abo.wanadoo.fr) (Ping timeout: 264 seconds)
  613. # [17:39] * Joins: BigBangUDR (~Thunderbi@115.246.110.185)
  614. # [17:40] * Joins: dbaron (~dbaron@50-0-128-161.dsl.dynamic.sonic.net)
  615. # [17:41] * Quits: BigBangUDR (~Thunderbi@115.246.110.185) (Client Quit)
  616. # [17:41] <JakeA> annevk: I'm not following #413. We have request for input, response for output. You can provide a readable stream for the request body.
  617. # [17:43] <ehsan> JakeA: good catch on MessagePort btw
  618. # [17:44] <JakeA> ehsan: I think there's more. Window has postMessage & onmessage too. It loops back, but I don't think that matters
  619. # [17:44] <ehsan> JakeA: ah, yes, Window!
  620. # [17:45] <ehsan> commented on the bug
  621. # [17:45] * Joins: lmclister (~lmclister@192.150.10.209)
  622. # [17:45] * Quits: smaug____ (~chatzilla@a91-154-44-207.elisa-laajakaista.fi) (Ping timeout: 260 seconds)
  623. # [17:46] * Quits: markkes (~markkes@62.207.90.201) (Quit: markkes)
  624. # [17:47] * Quits: hemanth (~hemanth@122.166.182.198) (Quit: This computer has gone to sleep)
  625. # [17:47] * Joins: roven (~roven@78-20-24-80.access.telenet.be)
  626. # [17:47] * Joins: BigBangUDR (~Thunderbi@115.246.110.185)
  627. # [17:49] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  628. # [17:49] <annevk> JakeA: request has both input and output
  629. # [17:49] <annevk> JakeA: response has both input and output
  630. # [17:49] * Quits: Lachy__ (~Lachy@213.166.174.2) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  631. # [17:49] * Joins: hemanth (~hemanth@122.166.182.198)
  632. # [17:50] * Joins: mpaarating (~mpaaratin@rrcs-97-78-217-146.se.biz.rr.com)
  633. # [17:51] * Quits: Smylers (~smylers@host86-163-17-51.range86-163.btcentralplus.com) (Quit: Leaving.)
  634. # [17:52] * Quits: roven (~roven@78-20-24-80.access.telenet.be) (Ping timeout: 246 seconds)
  635. # [17:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 245 seconds)
  636. # [17:53] <Domenic> It depends on if you're on the server or client, is the way I think about (based on my Node background)
  637. # [17:53] <annevk> foolip: sorry about the fullscreen stuff, obviously my head isn't in it
  638. # [17:54] <Domenic> (I wonder if other HTTP frameworks have similar nomenclature... checking)
  639. # [17:54] <annevk> Perhaps what Request and Response expose should just depend on what side of the fence people are on, but that would make them slightly less generic
  640. # [17:55] <Domenic> Inside the server (service worker) you want both
  641. # [17:55] <annevk> Well, and that wouldn't work if you wanted to pass a Request through
  642. # [17:55] <annevk> Or pass a Response through
  643. # [17:55] <annevk> Right
  644. # [17:55] <annevk> foolip: do you mind that I just keep trying?
  645. # [17:55] * Joins: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se)
  646. # [17:59] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
  647. # [17:59] * Quits: BigBangUDR (~Thunderbi@115.246.110.185) (Quit: BigBangUDR)
  648. # [18:03] * Quits: Garbee (uid21171@gateway/web/irccloud.com/x-vrxcuvbomlfhygaj) (Read error: Connection reset by peer)
  649. # [18:04] * Joins: Garbee (uid21171@gateway/web/irccloud.com/x-uqkvgmrushvgmgtk)
  650. # [18:05] <Domenic> getSnapshots()? hmm
  651. # [18:09] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Ping timeout: 255 seconds)
  652. # [18:10] * Joins: smaug____ (~chatzilla@a91-154-44-207.elisa-laajakaista.fi)
  653. # [18:10] <annevk> Domenic: wut?
  654. # [18:11] * Quits: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se) (Remote host closed the connection)
  655. # [18:11] <annevk> fricking Twitter, overrides CMD+T
  656. # [18:11] * Joins: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se)
  657. # [18:13] <caitp> >> can't reproduce
  658. # [18:14] * Quits: jernoble (~jernoble@76.74.153.49) (Quit: Computer has gone to sleep.)
  659. # [18:14] * Quits: davidyezsetz (~davidyezs@mail1.powerflasher.de) (Quit: davidyezsetz)
  660. # [18:15] * Joins: estellevw (~estellewy@209.49.66.106)
  661. # [18:16] * Quits: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se) (Ping timeout: 245 seconds)
  662. # [18:16] <annevk> Domenic: read and write instead of input and output?
  663. # [18:16] * Joins: tantek (~tantek@70-36-139-41.dsl.dynamic.sonic.net)
  664. # [18:18] <kriskowal> in my experience, you only need readable “body” streams for both requests and responses
  665. # [18:18] * Phaw is now known as Phae
  666. # [18:18] * Joins: bholley (~bholley@199.73.115.45)
  667. # [18:18] <kriskowal> uploading is a matter of constructing a readable stream that will produce the upload on demand
  668. # [18:19] <JakeA> kriskowal: like https://github.com/slightlyoff/ServiceWorker/issues/413#issuecomment-52071152?
  669. # [18:19] * Joins: jsbell (jsbell@nat/google/x-yyhbkqcqtycpicvc)
  670. # [18:19] <Domenic> yes, you can design a stream system where there is nothing to represent things you write to
  671. # [18:19] <Domenic> besides functions that accept readable streams
  672. # [18:20] <kriskowal> though if you *want* to write with a producer style, you can always use a buffer, generate on the in side, vend the output as the request body
  673. # [18:21] <Domenic> yes, the point of designing a writable stream abstraction is so that nobody has to write their own buffering code
  674. # [18:21] <JakeA> Domenic: could make Request.streamed(url, opts, function(inputStream) { }) which returns a Request
  675. # [18:22] <JakeA> and Response.streamed that does the same but for response
  676. # [18:23] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
  677. # [18:23] <Domenic> I don't understand what those do
  678. # [18:24] * Quits: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2) (Ping timeout: 260 seconds)
  679. # [18:25] <JakeA> You write/pipe to inputStream, it comes out of the .body stream
  680. # [18:25] <kriskowal> i wrote a sketch of an object buffer the other day, http://kriskowal.github.io/gtor/docs/promise-buffer.html
  681. # [18:25] * Quits: CvP (~CvP@27.147.199.131) (Quit: [ UPP ] > all)
  682. # [18:25] <kriskowal> still working on a byte buffer with the same interface
  683. # [18:25] <Domenic> The thing is, there is an actual writable socket underlying the HTTP request body. You want to expose that as directly as possible.
  684. # [18:27] <kriskowal> I think that’s a dubious assumption.
  685. # [18:27] <kriskowal> I mean, clearly there are people that do want that, but I am not sure it is good for them.
  686. # [18:28] <kriskowal> There’s a tension between having applications factor nicely and being able to squeeze that last milisecond out of the system.
  687. # [18:28] * Joins: ap (~ap@17.202.44.214)
  688. # [18:29] <kriskowal> If you expose the request as a writable stream, you necessarily end up with Node.js/Connect style applications, with request and response arguments
  689. # [18:29] * Quits: hemanth (~hemanth@122.166.182.198) (Quit: This computer has gone to sleep)
  690. # [18:29] * Joins: CvP (~CvP@27.147.199.131)
  691. # [18:29] <kriskowal> and of course it’s trivial to construct a Promise CGI-like abstraction atop that foundation
  692. # [18:33] <kriskowal> and vice versa
  693. # [18:34] <Domenic> annevk: req.body.read.read()/req.body.write.write()?
  694. # [18:35] <annevk> amazing
  695. # [18:36] <annevk> kriskowal: what you're saying sounds much more like what I'd like to see
  696. # [18:37] <annevk> given how high-level promises can be, why can't streams
  697. # [18:37] * Joins: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2)
  698. # [18:38] <kriskowal> i have about a month to do whatever i want, so i’ve been writing and article on the subject, with code sketches
  699. # [18:38] <JakeA> I really think the writable stream of a request should be revealed by constructor function like resolve/reject in promises
  700. # [18:38] <kriskowal> i just got it to the point that there aren’t any todo comments, but a lot of further work intended…
  701. # [18:38] <kriskowal> been hoping it would be useful in this context https://github.com/kriskowal/gtor/blob/master/README.md
  702. # [18:39] <Domenic> JakeA: why not make it public?
  703. # [18:39] * Joins: izhak (~izhak@92.248.142.152)
  704. # [18:39] <kriskowal> async generators are going to look like the revealing constructor pattern
  705. # [18:39] <Domenic> JakeA: it's an interesting idea
  706. # [18:39] <annevk> kriskowal: cool, will try to read that later (evening here)
  707. # [18:40] * Quits: boogyman (~boogyman@pdpc/supporter/professional/boogyman) (Quit: Leaving.)
  708. # [18:40] <JakeA> Isn't the writable stream of the request for the creator of the request?
  709. # [18:40] <Domenic> Yeah, now that I think about it, that's probably true, isn't it...
  710. # [18:40] <annevk> makes sense, true for response too
  711. # [18:40] <kriskowal> body: async *function () { await yield chunk; await yield chunk; await yield chunk; }
  712. # [18:41] <kriskowal> i suspect that those awaits should be implicit, but not sure.
  713. # [18:41] * Joins: boogyman (~boogyman@38.88.11.131)
  714. # [18:41] * Quits: boogyman (~boogyman@38.88.11.131) (Changing host)
  715. # [18:41] * Joins: boogyman (~boogyman@pdpc/supporter/professional/boogyman)
  716. # [18:42] <annevk> kriskowal: you have some plan for feeding the whole thing back into TC39?
  717. # [18:42] <Domenic> so /* client*/ new Request(url, { method: "POST", streamer(body => { readableSource.pipeTo(body); }) })
  718. # [18:42] <kriskowal> the revealing constructor would look like new PromiseIterator(function (doyield, doawait, doreturn, dothrow) {})
  719. # [18:42] <annevk> kriskowal: Mark?
  720. # [18:42] <JakeA> In the current design you could provide a null transform stream as the body of the request, but a factory method could make that easier
  721. # [18:42] <Domenic> streamer needs a better name
  722. # [18:42] <Domenic> I don't see the factory method thing
  723. # [18:43] <Domenic> Just the constructor seems fine
  724. # [18:43] <kriskowal> annevk: not sure what you’re asking
  725. # [18:44] <JakeA> Domenic: you're a fan of overloading right? We've already got a body option that can take a stream, blob, string etc, it could take a function
  726. # [18:44] <annevk> kriskowal: TC39 is reportedly working on async generators
  727. # [18:44] <Domenic> ;_;
  728. # [18:45] <JakeA> (I don't know if I'm serious or not)
  729. # [18:45] <Domenic> It does solve the "what if I put body and streamer in the same object" problem...
  730. # [18:45] <kriskowal> JakeA: bad smell here
  731. # [18:45] * JakeA wafts
  732. # [18:45] <Domenic> if we had a better name for streamer I would feel better refuting the overload
  733. # [18:46] <kriskowal> annevk: yeah, Domenic informed me that they are asking questions about async generators. i think they’re on the right track based on reading the presentation, and you’ll see what i think in that paper i linked
  734. # [18:47] * Joins: jernoble (~jernoble@17.202.45.163)
  735. # [18:48] <Domenic> streamer reminds me of https://twitter.com/ChromerShow
  736. # [18:48] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  737. # [18:48] <kriskowal> tell me again what streamer does?
  738. # [18:50] <Domenic> it gives you access to the writable side of the body stream
  739. # [18:51] * Joins: abinader (sid21713@gateway/web/irccloud.com/x-vfiscbxluvxcbzuj)
  740. # [18:54] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 260 seconds)
  741. # [18:54] <kriskowal> so, you know how we fought hard to make sure all the promise libs split the promsie and resolver?
  742. # [18:54] <kriskowal> so that you could pass the observer capability without implicitly passing the resolver capability
  743. # [18:55] <kriskowal> this is a situation where the same design pattern applies
  744. # [18:55] <kriskowal> the input is the resolver, the output is the observer
  745. # [18:55] * Quits: lmclister (~lmclister@192.150.10.209) (Read error: Connection reset by peer)
  746. # [18:56] <kriskowal> but it sort-of doesn’t apply because streams are cooperative and information necessarily flows both directions for congestion control purposes
  747. # [18:56] <kriskowal> and because streams are cancelable
  748. # [18:56] <kriskowal> for that reason, it *might* be acceptable for the tangled pair to expose input.output and output.input
  749. # [18:57] <kriskowal> and i could see a generator/writer having a method like streamer. i’ll think about the name.
  750. # [18:59] <JakeA> kriskowal: the streamer option is only settable on construct. You give it a function that's called back with the writable stream
  751. # [18:59] * Joins: lmclister (~lmclister@192.150.10.209)
  752. # [18:59] <JakeA> So it's very much like promises
  753. # [19:00] * kriskowal looks at the syntax
  754. # [19:01] <JakeA> new Request(url, { streamer: function(writableStream){...} })
  755. # [19:02] <kriskowal> to be exactly analogous to a promise…
  756. # [19:02] * Joins: d45611 (~d45611@unaffiliated/d45611)
  757. # [19:03] <kriskowal> new Request(url, {body: new Reader(function (write, close, abort) {}) // where write means yield, close means return, and abort means throw
  758. # [19:04] * Joins: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se)
  759. # [19:04] <kriskowal> and probably should be called ByteReader or Uint8Reader
  760. # [19:04] <kriskowal> well, depending on the content type
  761. # [19:05] <kriskowal> and of course an immediately invoked async generator should be isomorphic to a reader
  762. # [19:06] * Quits: boogyman (~boogyman@pdpc/supporter/professional/boogyman) (Quit: Leaving.)
  763. # [19:06] <kriskowal> which i believe should be {next():Promise<{value:T, done:Boolean}>, throw(Error):Promise<Iteration<T>>}
  764. # [19:07] * Parts: adactio (~adactio@212.42.170.121)
  765. # [19:09] <JakeA> Is Reader an alternative proposal for the ReadableStream constructor or something different?
  766. # [19:10] <JakeA> You can already provide a readable stream as the body option for a response. I think Domenic is looking for something that can be piped to.
  767. # [19:13] <kriskowal> it’s an abstract idea, but serves the same role as ReadableStream
  768. # [19:13] <kriskowal> it’s really a promise iterator
  769. # [19:13] <kriskowal> and a promise buffer is an {in, out} pair of promise generator and promise iterator
  770. # [19:14] <kriskowal> so if you were to var buffer = new Buffer(); and return new Request(url, {body: buffer.out}), you could then write to buffer.in
  771. # [19:14] <kriskowal> or pipe to buffer.in
  772. # [19:15] <kriskowal> and by “pipe” i mean readable.forEach(writable.yield, writable).then(writable.return, writable)
  773. # [19:16] <kriskowal> or just readable.pipeTo(writable, {close: true}) in Domenic’s parlance
  774. # [19:21] * Quits: barnabywalters (~barnabywa@46-239-239-203.tal.is) (Quit: barnabywalters)
  775. # [19:22] * Quits: lmclister (~lmclister@192.150.10.209) (Read error: Connection reset by peer)
  776. # [19:22] * Joins: lmclister (~lmclister@192.150.10.209)
  777. # [19:23] * Parts: retornam (~retornam@unaffiliated/retornam)
  778. # [19:25] * Quits: lmclister (~lmclister@192.150.10.209) (Read error: Connection reset by peer)
  779. # [19:25] * Joins: lmclister (~lmclister@192.150.10.209)
  780. # [19:25] * Joins: weinig (~weinig@17.245.28.10)
  781. # [19:28] * Quits: weinig (~weinig@17.245.28.10) (Client Quit)
  782. # [19:28] * Quits: sicking (~sicking@c-98-210-159-193.hsd1.ca.comcast.net) (Quit: sicking)
  783. # [19:29] * Joins: barnabywalters (~barnabywa@89.17.128.127)
  784. # [19:29] * Quits: barnabywalters (~barnabywa@89.17.128.127) (Client Quit)
  785. # [19:30] * Joins: BigBangUDR (~Thunderbi@101.61.144.213)
  786. # [19:31] <zenparsing> kriskowal reading your general theory - i've been thinking along similar lines, producer/consumer with a promise-based buffer (pipe) as a separate mediating abstraction
  787. # [19:32] * Quits: BigBangUDR (~Thunderbi@101.61.144.213) (Client Quit)
  788. # [19:32] <kriskowal> yeah, it will work
  789. # [19:33] <kriskowal> though, just as with promises, there is some overhead to the approach
  790. # [19:33] <kriskowal> and just as with promises, it’s usually acceptable
  791. # [19:33] * Joins: weinig (~weinig@17.202.50.223)
  792. # [19:33] <kriskowal> but not always. i’m sympathetic to the call to expose a lower level core.
  793. # [19:34] * Joins: barnabywalters (~barnabywa@89.17.128.127)
  794. # [19:34] * Joins: espadrine (~ttyl@AMontsouris-158-1-63-250.w92-128.abo.wanadoo.fr)
  795. # [19:35] <TabAtkins> See, for example, http://www.xanthir.com/b4PV0
  796. # [19:36] * Quits: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com) (Ping timeout: 264 seconds)
  797. # [19:37] * Joins: weinig_ (~weinig@17.114.216.57)
  798. # [19:37] * Joins: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com)
  799. # [19:38] * Quits: weinig (~weinig@17.202.50.223) (Read error: Connection reset by peer)
  800. # [19:38] * weinig_ is now known as weinig
  801. # [19:41] <kriskowal> TabAtkins: yeah, same germ of an idea
  802. # [19:41] <kriskowal> i would only name things somewhat differently
  803. # [19:41] <kriskowal> but there certainly is a tension between single and plural names
  804. # [19:42] <kriskowal> and whether time series values are singular or plural
  805. # [19:42] <TabAtkins> Right, I'd make different choices on names now too.
  806. # [19:42] <kriskowal> which just comes down to whether plural is spatial or temporal or both
  807. # [19:42] <TabAtkins> Name more of the helper methods FooMap, etc.
  808. # [19:42] <kriskowal> yeah, map is the plural of then
  809. # [19:42] <TabAtkins> Well, flatMap is.
  810. # [19:43] <kriskowal> i might agree :P
  811. # [19:43] <kriskowal> i would only use the term “stream” in situations with pressure and lossless ordered values
  812. # [19:44] <kriskowal> i’m favoring signal and behavior for pull and pull lossy time series data
  813. # [19:44] <kriskowal> but, my thoughts are very fluid atm
  814. # [19:44] <kriskowal> and the pun wasn’t intended, but i don’t mind enjoying it anyway
  815. # [19:47] * Parts: d45611 (~d45611@unaffiliated/d45611) ("Goodbye....")
  816. # [19:47] <zenparsing> kriskowal i might think that a buffer would be able to move data to more than one consumer. no?
  817. # [19:48] <kriskowal> zenparsing: depends on what you mean
  818. # [19:48] * Joins: roven (~roven@78-20-24-80.access.telenet.be)
  819. # [19:48] <kriskowal> if you were to share the output with multiple consumers, they would round-robin
  820. # [19:48] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  821. # [19:49] <kriskowal> but if you mean that they would all see the entire output, you would need to explicitly fork the stream, and all the consumers would be providing pressure
  822. # [19:49] <zenparsing> yes - the second meaning
  823. # [19:49] <kriskowal> a round-robin would effectively relieve pressure on the buffer, but a fork would probably increase the pressure
  824. # [19:50] <kriskowal> at least, the pressure would be the maximum of the forks
  825. # [19:50] <zenparsing> yes exactly
  826. # [19:50] <kriskowal> i have a note to sketch reader.fork()
  827. # [19:51] <zenparsing> that might make sense if you wanted to fork binary input from a file and write tar and zip to separate files, or something like that
  828. # [19:51] <zenparsing> the max pressure would fit in that case
  829. # [19:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 245 seconds)
  830. # [19:53] * Quits: roven (~roven@78-20-24-80.access.telenet.be) (Ping timeout: 260 seconds)
  831. # [19:53] * Quits: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se) (Remote host closed the connection)
  832. # [19:53] * Quits: tj_vantoll (~Adium@2601:4:5380:2ec:21e7:86a:a458:f182) (Quit: Leaving.)
  833. # [19:53] * Quits: benjamingr (uid23465@gateway/web/irccloud.com/x-ezxreyxbuxnhmbeb) (Quit: Connection closed for inactivity)
  834. # [19:54] * Joins: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se)
  835. # [19:56] <zenparsing> you could probably write it much more elegantly, but this is where i headed: https://github.com/zenparsing/streamware/blob/master/src/Pipe.js#L131
  836. # [19:58] * Quits: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se) (Ping timeout: 260 seconds)
  837. # [19:59] * Joins: boogyman (~boogyman@38.88.11.131)
  838. # [19:59] * Quits: boogyman (~boogyman@38.88.11.131) (Changing host)
  839. # [19:59] * Joins: boogyman (~boogyman@pdpc/supporter/professional/boogyman)
  840. # [20:00] * Joins: tj_vantoll (~Adium@c-98-250-130-237.hsd1.mi.comcast.net)
  841. # [20:01] * Quits: boogyman (~boogyman@pdpc/supporter/professional/boogyman) (Client Quit)
  842. # [20:01] * Quits: karlcow (~karl@nerval.la-grange.net) (Ping timeout: 260 seconds)
  843. # [20:08] * Joins: roven (~roven@78-20-24-80.access.telenet.be)
  844. # [20:08] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
  845. # [20:09] <kriskowal> zenparsing: just a sketch, and only covers object transport https://gist.github.com/kriskowal/5bf27a3c734951d2b838
  846. # [20:10] <kriskowal> working with byte buffers is necessarily more messy
  847. # [20:11] <kriskowal> i took a stab at writing a byte buffer with the same interface, but i’ll have to go at it again later.
  848. # [20:13] <kriskowal> i think that byte buffers just necessitate some different hidden internals that take the fast path, but use the promise buffer machinery for anything that is not a byte buffer to byte buffer interaction
  849. # [20:13] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Client Quit)
  850. # [20:15] <zenparsing> thanks for the gist - i need to finish reading your article before commenting intelligent-like : )
  851. # [20:17] * Joins: zcorpan_ (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
  852. # [20:17] <zenparsing> the thing about byte buffers, is that (i think) you want to reuse the underlying memory as much as possible
  853. # [20:20] <kriskowal> yes, so you have a circular queue backed by a uint8array. yield blocks until there’s room to write your chunk, next blocks until there’s enough content to generate a chunk (which is somewhat arbitrary but length>0, length>min || closed)
  854. # [20:20] * Joins: Smylers (~smylers@host86-163-17-51.range86-163.btcentralplus.com)
  855. # [20:21] * Quits: zcorpan_ (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Ping timeout: 240 seconds)
  856. # [20:22] <zenparsing> yep - and you might also want the circular queue length (total mem allocated to the pipe) to grow or shrink within bounds
  857. # [20:25] * Quits: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2) (Ping timeout: 260 seconds)
  858. # [20:30] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
  859. # [20:35] <TabAtkins> Byte buffers dont' want to use the same interface as object streams.
  860. # [20:35] * Quits: CvP (~CvP@27.147.199.131) (Disconnected by services)
  861. # [20:36] * Joins: xCG (~CvP@27.147.199.131)
  862. # [20:36] * xCG is now known as CvP
  863. # [20:37] * Joins: kriskowal_ (~kriskowal@66-215-92-194.dhcp.psdn.ca.charter.com)
  864. # [20:37] * Joins: smaug_____ (~chatzilla@a91-154-44-207.elisa-laajakaista.fi)
  865. # [20:37] * Joins: mattur_ (sid16049@gateway/web/irccloud.com/x-szxcsgezgkngztxq)
  866. # [20:37] * Joins: dshwang_ (~dshwang@134.134.139.74)
  867. # [20:37] * Joins: sspi_ (uid34681@gateway/web/irccloud.com/x-xxymdulyjbxwuztw)
  868. # [20:38] * Joins: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2)
  869. # [20:40] * Joins: lerc (~quassel@121-74-5-229.telstraclear.net)
  870. # [20:43] * Joins: othermaciej (~mjs@c-50-136-134-16.hsd1.ca.comcast.net)
  871. # [20:44] * Joins: fredy_ (~fredy@snf-535807.vm.okeanos.grnet.gr)
  872. # [20:44] * Quits: smaug____ (~chatzilla@a91-154-44-207.elisa-laajakaista.fi) (*.net *.split)
  873. # [20:44] * Quits: KevinMarks2 (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net) (*.net *.split)
  874. # [20:44] * Quits: cheron (~cheron@unaffiliated/cheron) (*.net *.split)
  875. # [20:44] * Quits: kriskowal (~kriskowal@66-215-92-194.dhcp.psdn.ca.charter.com) (*.net *.split)
  876. # [20:44] * Quits: fredy (~fredy@snf-535807.vm.okeanos.grnet.gr) (*.net *.split)
  877. # [20:44] * Quits: mpt (~mpt@canonical/mpt) (*.net *.split)
  878. # [20:44] * Quits: zdobersek (~zan@109.201.152.243) (*.net *.split)
  879. # [20:44] * Quits: mattur (sid16049@gateway/web/irccloud.com/x-gdjdsuxbbnpmraey) (*.net *.split)
  880. # [20:44] * Quits: sspi (sid34681@gateway/web/irccloud.com/x-ijphvhhviejbpmgl) (*.net *.split)
  881. # [20:44] * Quits: dshwang (~dshwang@134.134.139.74) (*.net *.split)
  882. # [20:44] * Quits: ivan\ (~ivan@unaffiliated/ivan/x-000001) (*.net *.split)
  883. # [20:44] * Quits: jory (~jory@supercu.be) (*.net *.split)
  884. # [20:45] * mattur_ is now known as mattur
  885. # [20:45] * kriskowal_ is now known as kriskowal
  886. # [20:45] * Joins: jory (~jory@supercu.be)
  887. # [20:46] * Joins: BigBangUDR (~Thunderbi@115.246.144.185)
  888. # [20:46] * Quits: BigBangUDR (~Thunderbi@115.246.144.185) (Client Quit)
  889. # [20:46] * sspi_ is now known as sspi
  890. # [20:46] <wanderview> JakeA: ping
  891. # [20:48] * Joins: KevinMarks (~yaaic@2607:fb90:50f:126e:ee45:97e1:f38d:771b)
  892. # [20:49] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  893. # [20:49] <wanderview> JakeA: is the CacheStorage caches attribute per-origin or per-domain? all I currently see in the spec is "Caches are not shared across domains", although none of the algorithms for cache explicitly mention an origin/domain check
  894. # [20:49] * Quits: othermaciej (~mjs@c-50-136-134-16.hsd1.ca.comcast.net) (Quit: othermaciej)
  895. # [20:50] <JakeA> wanderview: good point. Origin, like IDB
  896. # [20:50] * Joins: mpt (~mpt@nat/canonical/x-opmhukdsdehwibjp)
  897. # [20:50] * Quits: mpt (~mpt@nat/canonical/x-opmhukdsdehwibjp) (Changing host)
  898. # [20:50] * Joins: mpt (~mpt@canonical/mpt)
  899. # [20:50] <wanderview> JakeA: cool, I'll write an issue to clarify that in the spec
  900. # [20:51] * Joins: zdobersek (~zan@109.201.152.243)
  901. # [20:52] <wanderview> https://github.com/slightlyoff/ServiceWorker/issues/415
  902. # [20:52] <wanderview> thanks
  903. # [20:53] * Joins: cheron (~cheron@unaffiliated/cheron)
  904. # [20:53] * Quits: zenparsing (~zenparsin@97-81-81-172.dhcp.athn.ga.charter.com)
  905. # [20:53] * Quits: dbaron (~dbaron@50-0-128-161.dsl.dynamic.sonic.net) (Quit: 8403864 bytes have been tenured, next gc will be global.)
  906. # [20:53] <JakeA> wanderview: cheers!
  907. # [20:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 260 seconds)
  908. # [20:54] * Quits: Smylers (~smylers@host86-163-17-51.range86-163.btcentralplus.com) (Quit: Leaving.)
  909. # [20:54] * Joins: jeremyj (~jeremyj@17.202.49.56)
  910. # [20:54] <kriskowal> i think i have caught up with JakeA’s idea of allowing body to be a function
  911. # [20:54] * Joins: ivan\ (~ivan@unaffiliated/ivan/x-000001)
  912. # [20:55] <kriskowal> the way i got here…
  913. # [20:55] <kriskowal> i sketched a promise buffer as an {in, out} promise generator and iterator pair
  914. # [20:56] <JakeA> kriskowal: 1% battery so sorry if late reply
  915. # [20:56] <kriskowal> np, working on the narrative…
  916. # [20:56] * Joins: Smylers (~smylers@host86-163-17-51.range86-163.btcentralplus.com)
  917. # [20:56] <kriskowal> a deferred is conceptually an {in, out} {resolver, promise} pair
  918. # [20:57] * Quits: Smylers (~smylers@host86-163-17-51.range86-163.btcentralplus.com) (Client Quit)
  919. # [20:57] <kriskowal> but in that case, we have decided to be very output centric. we expose Promise only, and the constructor reveals the input side
  920. # [20:57] * Joins: zenparsing (~zenparsin@97-81-81-172.dhcp.athn.ga.charter.com)
  921. # [20:58] * Quits: yoav (~yoav@sdo26-1-78-245-148-181.fbx.proxad.net) (Ping timeout: 272 seconds)
  922. # [20:58] <kriskowal> if streams are a plural analog of Promise, then we would probably expose new Stream(function (_yield, _return, _throw) {}) in the same way we expose new Promise(function (_return, _throw) {})
  923. # [20:59] <kriskowal> and we could expose Stream.buffer() -> {in, out} in the same way we could expose Promise.defer() -> {in, out} or {resolver, promise}
  924. # [20:59] <kriskowal> which would lead us toward new Request/Response(… {body: new Stream(function (_yield, _return, _throw) {})})
  925. # [20:59] <kriskowal> but that would introduce a layer of buffering that Domenic and his constituents would like to avoid
  926. # [21:00] <kriskowal> and that layer of buffering could be eliminated by unwrapping the revealing constructor like new Request(url, {body: function (_yield, _return, _throw) {}})
  927. # [21:00] <kriskowal> which is actually quite elegant
  928. # [21:01] <kriskowal> JakeA: end of line
  929. # [21:03] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Quit: Bye)
  930. # [21:03] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
  931. # [21:03] * Quits: estellevw (~estellewy@209.49.66.106) (Read error: Connection reset by peer)
  932. # [21:04] * Quits: weinig (~weinig@17.114.216.57) (Quit: weinig)
  933. # [21:05] * Joins: weinig (~weinig@17.114.216.57)
  934. # [21:08] <Hixie_> jorendorff: why are instantiate and translate diffrent hooks?
  935. # [21:09] <jorendorff> translate is a totally different thing
  936. # [21:10] <jorendorff> translate converts code from some other language to JS
  937. # [21:13] * Joins: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se)
  938. # [21:13] * Quits: izhak (~izhak@92.248.142.152) (Ping timeout: 240 seconds)
  939. # [21:15] * Joins: BigBangUDR (~Thunderbi@115.246.144.185)
  940. # [21:16] * Quits: BigBangUDR (~Thunderbi@115.246.144.185) (Client Quit)
  941. # [21:17] * Joins: KevinMarks_ (~KevinMark@c-67-164-14-200.hsd1.ca.comcast.net)
  942. # [21:19] * Joins: ShaneHudson (~ShaneHuds@2.30.121.218)
  943. # [21:20] * Quits: bholley (~bholley@199.73.115.45) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  944. # [21:21] <Hixie_> jorendorff: sure but why couldn't that happen in instantiate? Just have instantiate return either a string or an object, instead of undefined or an object.
  945. # [21:23] <jorendorff> Hixie_: oh - well the reason there are different hooks to begin with, is that the theory is people will want to hack the loader
  946. # [21:23] <Hixie_> sure, but why those two hooks? Why not three? or one?
  947. # [21:24] <Hixie_> i don't understand the value of separating thoe
  948. # [21:24] <Hixie_> the browser doesn't do any work between them, does it?
  949. # [21:24] <jorendorff> i don't know. samth and wycats know more about them
  950. # [21:24] <Hixie_> it just passes the results of one into the other one
  951. # [21:24] <jorendorff> Hixie_: the loader doesn't do any work between those two... i don't think
  952. # [21:24] * Joins: boogyman (~boogyman@38.88.11.131)
  953. # [21:24] * Quits: boogyman (~boogyman@38.88.11.131) (Changing host)
  954. # [21:24] * Joins: boogyman (~boogyman@pdpc/supporter/professional/boogyman)
  955. # [21:24] <wycats> in theory we could have had one giant async hook
  956. # [21:24] <jorendorff> right, and i would have liked that
  957. # [21:24] <jorendorff> but
  958. # [21:24] <wycats> the idea is to break up the process into a number of steps that it makes sense to override
  959. # [21:25] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Remote host closed the connection)
  960. # [21:25] <wycats> so if someone wants to write a translation plugin, they don't need to opt into a separate plugin architecture (like require.js) to do that
  961. # [21:25] <jorendorff> yeah
  962. # [21:25] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
  963. # [21:26] <Hixie_> wycats: when would you have one bit of code overriding translate and another independent bit of code overriding instantiate?
  964. # [21:26] <wycats> translate might be used for security
  965. # [21:26] <wycats> or for example to compile CS to JS
  966. # [21:26] <wycats> but once CoffeeScript is compiled to JS, the normal instantiate rules apply
  967. # [21:26] <wycats> and you may want your compiled CoffeeScript to use an instantiate hook separately defined for AMD compat
  968. # [21:27] <wycats> (AMD written in CoffeeScript)
  969. # [21:27] * Quits: cheron (~cheron@unaffiliated/cheron) (Remote host closed the connection)
  970. # [21:28] * fredy_ is now known as fredy
  971. # [21:28] <wycats> I honestly don't have a ton of time right this second (or most seconds) :/
  972. # [21:29] * fredy is now known as Guest2845
  973. # [21:29] <wycats> realtime chat is great if you can swing it
  974. # [21:29] <wycats> I have a job and whatnot
  975. # [21:29] <wycats> I can try to schedule time to hop in and chat -- gonna be hard to do on an ad hoc basis when tagged in
  976. # [21:29] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Ping timeout: 240 seconds)
  977. # [21:33] * Joins: Lachy (~Lachy@cm-84.215.104.248.getinternet.no)
  978. # [21:33] * Quits: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se) (Remote host closed the connection)
  979. # [21:34] <jorendorff> Hixie_: I think virtually every conceivable use case for translate will not also want to overload instantiate
  980. # [21:34] <jorendorff> they're pretty independent
  981. # [21:34] <jorendorff> about as independent as you can get
  982. # [21:34] * Joins: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se)
  983. # [21:35] * Joins: estellevw (~estellewy@209.49.66.106)
  984. # [21:37] * Quits: weinig (~weinig@17.114.216.57) (Quit: weinig)
  985. # [21:41] * daleharvey__ is now known as daleharvey
  986. # [21:45] * Joins: weinig (~weinig@17.114.216.57)
  987. # [21:46] * Joins: jwalden (~waldo@corp.mtv2.mozilla.com)
  988. # [21:46] * Quits: Lachy (~Lachy@cm-84.215.104.248.getinternet.no) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  989. # [21:48] * Quits: abinader (sid21713@gateway/web/irccloud.com/x-vfiscbxluvxcbzuj)
  990. # [21:49] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  991. # [21:49] * Quits: KevinMarks_ (~KevinMark@c-67-164-14-200.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
  992. # [21:49] <Hixie_> jorendorff: fair enough. It's hard for me to tell since the spec doesn't give any examples or anything explaining why you'd want to use the features.
  993. # [21:51] <jorendorff> yeah, allen's view is that if you give any kind of rationale or even description of what something does, someone will interpret that as normative and do something stupid with it
  994. # [21:51] <jorendorff> therefore, paint over the signposts
  995. # [21:52] <jorendorff> i'm told HTML has in fact seen that vexing phenomenon, though (thankfully) you've not chosen the same response
  996. # [21:52] <Ms2ger> Someone will, certainly
  997. # [21:52] <Ms2ger> More people will benefit, though
  998. # [21:53] <Hixie_> in the HTML spec we just try to paint "NOT NORMATIVE" signs eveywhere
  999. # [21:53] <Ms2ger> And sometimes it catches bugs where the normative text doesn't specify what it means to
  1000. # [21:53] <Hixie_> at this point we have bigger problems from the fact that the w3c is forking the spec than from the non-normative content
  1001. # [21:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 250 seconds)
  1002. # [21:53] <jorendorff> Hixie_: if this Loader stuff ever actually takes off, the translate hook is where you go to monkeypatch new *language features* into older browsers
  1003. # [21:54] * Joins: othermaciej (~mjs@17.114.218.77)
  1004. # [21:54] <Hixie_> jorendorff: and instantiate?
  1005. # [21:54] * Guest2845 is now known as fredy
  1006. # [21:54] <jorendorff> dherman had a gist illustrating this, but i forget where it was :(
  1007. # [21:55] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Quit: sicking)
  1008. # [21:55] <jorendorff> Hixie_: well :( instantiate is an upgrade path --- it lets you load non-ES6 modules and use them with an 'import' decl, just like ES6 modules.
  1009. # [21:55] <jorendorff> Hixie_: so you can have a hybrid app, you don't have to make a Big Leap to es6 modules
  1010. # [21:56] <Hixie_> kinda like translating from old-ES to new-ES? :-)
  1011. # [21:56] <Hixie_> so i think my biggest problem with reusing the ES6 module loader thing to define the Web's dependency system is that there's no good way for me to declare dependencies before the 'fetch' hook. I really need a way to predeclare the dependencies somehow.
  1012. # [21:56] <jorendorff> Hixie_: touche
  1013. # [21:56] <Hixie_> (even for ES6 modules)
  1014. # [21:57] <Hixie_> like, say you want to import a style sheet. In 'locate' I figure out you mean the <link>, in 'fetch' I tell the <link> "ok, time to go fetch your stuff" and I chain their promise onto the "fetch" result
  1015. # [21:57] <Hixie_> translate's a no-op
  1016. # [21:57] <Hixie_> and in instantiate I can finally say "oh by the way, this style sheet depends on that one over there"
  1017. # [21:57] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
  1018. # [21:57] <Hixie_> by which time it's too late
  1019. # [21:58] * Quits: mpaarating (~mpaaratin@rrcs-97-78-217-146.se.biz.rr.com) (Quit: mpaarating)
  1020. # [21:58] <Hixie_> I really want "locate" or "fetch" to be able to add dependencies
  1021. # [22:00] * Hixie_ wonders what "execute" is supposd to do
  1022. # [22:00] * Quits: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se) (Remote host closed the connection)
  1023. # [22:01] * Joins: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se)
  1024. # [22:02] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Remote host closed the connection)
  1025. # [22:03] <zenparsing> as in instantiateResult.execute?
  1026. # [22:11] * Joins: Smylers (~smylers@host86-163-17-51.range86-163.btcentralplus.com)
  1027. # [22:12] * Quits: ShaneHudson (~ShaneHuds@2.30.121.218) (Ping timeout: 246 seconds)
  1028. # [22:13] * Quits: bnicholson (~bnicholso@24.130.57.109) (Quit: Leaving)
  1029. # [22:14] * Joins: bnicholson (~bnicholso@24.130.57.109)
  1030. # [22:18] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
  1031. # [22:19] * Quits: barnabywalters (~barnabywa@89.17.128.127) (Quit: barnabywalters)
  1032. # [22:24] * Quits: zenparsing (~zenparsin@97-81-81-172.dhcp.athn.ga.charter.com)
  1033. # [22:25] * Joins: KevinMarks2 (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net)
  1034. # [22:25] * Quits: jeremyj (~jeremyj@17.202.49.56) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  1035. # [22:27] * Quits: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2) (Ping timeout: 250 seconds)
  1036. # [22:27] * Krinkle is now known as Krinkle|detached
  1037. # [22:27] * Joins: ShaneHudson (~ShaneHuds@2.30.121.218)
  1038. # [22:29] * Joins: Lachy (~Lachy@cm-84.215.104.248.getinternet.no)
  1039. # [22:32] * Joins: zenparsing (~zenparsin@97-81-81-172.dhcp.athn.ga.charter.com)
  1040. # [22:33] * Quits: scor (scor@drupal.org/user/52142/view) (Quit: scor)
  1041. # [22:34] * Quits: TallTed (~Thud@63.119.36.36)
  1042. # [22:37] * Quits: zdobersek (~zan@109.201.152.243) (Quit: Leaving.)
  1043. # [22:39] * Quits: roc (~chatzilla@121-99-88-229.bng1.tvc.orcon.net.nz) (Remote host closed the connection)
  1044. # [22:40] * Joins: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2)
  1045. # [22:44] * Joins: lilmonkey` (~colin@5ED090B0.cm-7-1c.dynamic.ziggo.nl)
  1046. # [22:44] * Quits: lilmonkey` (~colin@5ED090B0.cm-7-1c.dynamic.ziggo.nl) (Changing host)
  1047. # [22:44] * Joins: lilmonkey` (~colin@pdpc/supporter/professional/riven)
  1048. # [22:44] * Joins: jeremyj (~jeremyj@17.202.49.56)
  1049. # [22:44] * Quits: estellevw (~estellewy@209.49.66.106) (Quit: estellevw)
  1050. # [22:45] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Quit: sicking)
  1051. # [22:47] * Quits: zenparsing (~zenparsin@97-81-81-172.dhcp.athn.ga.charter.com)
  1052. # [22:48] * Quits: lilmonkey (~colin@pdpc/supporter/professional/riven) (Ping timeout: 260 seconds)
  1053. # [22:48] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  1054. # [22:51] * Joins: estellevw (~estellewy@209.49.66.106)
  1055. # [22:53] * Quits: Areks_home (~Areks@128-72-254-245.broadband.corbina.ru) (Ping timeout: 260 seconds)
  1056. # [22:54] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 272 seconds)
  1057. # [23:00] * Quits: jensnockert (~jensnocke@s83-179-51-171.cust.tele2.se) (Ping timeout: 264 seconds)
  1058. # [23:02] * Quits: othermaciej (~mjs@17.114.218.77) (Quit: othermaciej)
  1059. # [23:03] * Quits: weinig (~weinig@17.114.216.57) (Quit: weinig)
  1060. # [23:04] * Quits: Ms2ger (~Ms2ger@5.222-242-81.adsl-dyn.isp.belgacom.be) (Quit: nn)
  1061. # [23:04] * Joins: benjamingr (uid23465@gateway/web/irccloud.com/x-rgtsuezklyjohuey)
  1062. # [23:05] * Joins: dbaron (~dbaron@2620:101:80fb:224:c4f5:a1a1:8d47:80a6)
  1063. # [23:05] * Quits: boogyman (~boogyman@pdpc/supporter/professional/boogyman) (Quit: Leaving.)
  1064. # [23:05] * Quits: ap (~ap@17.202.44.214)
  1065. # [23:05] * Joins: ap (~ap@17.202.44.214)
  1066. # [23:13] <Hixie_> zenparsing: yeah
  1067. # [23:14] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
  1068. # [23:14] * Joins: cwilso__ (sid10206@gateway/web/irccloud.com/x-asmhnkhuyocjtrpx)
  1069. # [23:14] * Joins: hayato_gardening (sid20728@gateway/web/irccloud.com/x-uwtyzgwqvfwfzgek)
  1070. # [23:15] * Joins: ojanm (sid5519@gateway/web/irccloud.com/x-plugdyqswqbhdhes)
  1071. # [23:15] * Joins: kirjs__ (sid25169@gateway/web/irccloud.com/x-tgkodpwgilksggjp)
  1072. # [23:15] * Joins: roc (~chatzilla@2001:cb0:b202:232:2677:3ff:fece:dc64)
  1073. # [23:15] * Joins: scottjehl______ (sid3055@gateway/web/irccloud.com/x-zrdmobjahgrewjcv)
  1074. # [23:16] * Quits: scheib (sid4467@gateway/web/irccloud.com/x-pqkggggkymiidoqj) (Ping timeout: 260 seconds)
  1075. # [23:16] * Quits: birtles_ (sid16523@gateway/web/irccloud.com/x-tprnyeoekarrfyfe) (Ping timeout: 260 seconds)
  1076. # [23:16] * Quits: scottjehl_____ (sid3055@gateway/web/irccloud.com/x-hzskwqryrgxjgnva) (Ping timeout: 260 seconds)
  1077. # [23:16] * Quits: kirjs_ (sid25169@gateway/web/irccloud.com/x-fjjglznckkyoaehw) (Ping timeout: 260 seconds)
  1078. # [23:16] * Quits: hayato (sid20728@gateway/web/irccloud.com/x-ujwlalufirnewzao) (Ping timeout: 260 seconds)
  1079. # [23:16] * Quits: cwilso_ (sid10206@gateway/web/irccloud.com/x-fvzpwqhclklvmley) (Ping timeout: 260 seconds)
  1080. # [23:16] * Quits: ojan (sid5519@gateway/web/irccloud.com/x-nmpggfmzflxvxvyx) (Ping timeout: 260 seconds)
  1081. # [23:16] * scottjehl______ is now known as scottjehl_____
  1082. # [23:16] * hayato_gardening is now known as hayato
  1083. # [23:16] * cwilso__ is now known as cwilso_
  1084. # [23:16] * ojanm is now known as ojan
  1085. # [23:18] * Joins: scheib (sid4467@gateway/web/irccloud.com/x-whrxjydisnovjofz)
  1086. # [23:18] * Joins: birtles_ (sid16523@gateway/web/irccloud.com/x-twrfwvnridmsrrru)
  1087. # [23:18] * Quits: juandopazo (~juandopaz@64.211.65.178) (Read error: Connection reset by peer)
  1088. # [23:19] * Quits: tj_vantoll (~Adium@c-98-250-130-237.hsd1.mi.comcast.net) (Quit: Leaving.)
  1089. # [23:25] * Joins: bholley (~bholley@199.73.115.45)
  1090. # [23:35] <Hixie_> jorendorff: do you know what instantiateResult.execute is supposed to do?
  1091. # [23:36] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
  1092. # [23:38] <kriskowal> Hixie_: can you point me at what you’re looking at for reference?
  1093. # [23:38] <Hixie_> http://people.mozilla.org/~jorendorff/es6-draft.html
  1094. # [23:39] <kriskowal> thanks
  1095. # [23:39] <Hixie_> (and http://www.gliffy.com/go/publish/6040024 is my conversion of that to a flowchart)
  1096. # [23:42] <kriskowal> this is my implementation of something similar for commonjs in the browser https://github.com/montagejs/mr/blob/v2/common.js#L93-L208
  1097. # [23:42] * Quits: roven (~roven@78-20-24-80.access.telenet.be) (Remote host closed the connection)
  1098. # [23:42] <kriskowal> but you want definitive answers, not educated guesses, so i’ll lurk
  1099. # [23:43] <Hixie_> something similar to what?
  1100. # [23:43] <kriskowal> a loader
  1101. # [23:43] <Hixie_> i'm happy with educated guesses :-)
  1102. # [23:43] <Hixie_> i'm not sure how to interpret that code in the context of the question about instantiateResult.execute though
  1103. # [23:44] <kriskowal> right
  1104. # [23:44] <kriskowal> i believe that execute is equivalent to calling the module factory function
  1105. # [23:44] <kriskowal> so all dependencies have been linked, and it’s just a matter of stepping through the module
  1106. # [23:45] <Hixie_> so say the module is an <img>. What should the execute callback do? nothing?
  1107. # [23:45] <kriskowal> right, nothing
  1108. # [23:45] <Hixie_> how about a style sheet. Should execute be the thing that adds it to the list of active sheets?
  1109. # [23:45] <kriskowal> eh, perhaps set the default exports to whatever is appropriate
  1110. # [23:45] * Quits: jeremyj (~jeremyj@17.202.49.56) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  1111. # [23:45] <kriskowal> style sheets are an interesting case because they have their own internal notions of dependency
  1112. # [23:46] <kriskowal> but if style sheets were integrated, i would expect @import() to be resolved by the loader
  1113. # [23:46] <Hixie_> well that is exactly what i'm trying to spec right now
  1114. # [23:46] <kriskowal> and i would expect that the order of execution would be important for priority
  1115. # [23:47] <kriskowal> i would expect that a loaded but not executed style sheet would have no effect. not sure whether that’s possible in the context of ES6 modules though.
  1116. # [23:47] * Joins: jeremyj (~jeremyj@17.202.49.56)
  1117. # [23:49] * Joins: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp)
  1118. # [23:49] <Hixie_> jorendorff: while i'm at it, in "15.2.4.1 LoadModule(loader, name, options) Abstract Operation", step 9 refers to "source", but that doesn't seem to have ever been declared? what is it set to?
  1119. # [23:53] * Quits: kochi_home (~kochi_hom@FL1-122-133-198-67.kng.mesh.ad.jp) (Ping timeout: 264 seconds)
  1120. # [23:54] * Joins: scor (~scor@c-24-2-162-32.hsd1.ma.comcast.net)
  1121. # [23:54] * Quits: scor (~scor@c-24-2-162-32.hsd1.ma.comcast.net) (Changing host)
  1122. # [23:54] * Joins: scor (~scor@drupal.org/user/52142/view)
  1123. # [23:58] * Quits: scor (~scor@drupal.org/user/52142/view) (Client Quit)
  1124. # Session Close: Thu Aug 14 00:00:01 2014

The end :)