/irc-logs / w3c / #testing / 2013-09-27 / end

Options:

  1. # Session Start: Fri Sep 27 00:00:00 2013
  2. # Session Ident: #testing
  3. # [00:04] * Quits: AutomatedTester (~AutomatedTester@public.cloak) (Ping timeout: 180 seconds)
  4. # [00:11] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  5. # [00:12] * Joins: zcorpan (~zcorpan@public.cloak)
  6. # [00:19] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  7. # [00:50] * Quits: tobie (tobie@public.cloak) (Ping timeout: 180 seconds)
  8. # [00:55] * Joins: mdas (~mdas@public.cloak)
  9. # [00:57] * Quits: mdas (~mdas@public.cloak) (Client closed connection)
  10. # [00:57] * Joins: mdas (~mdas@public.cloak)
  11. # [01:04] * Quits: mdas (~mdas@public.cloak) (Ping timeout: 180 seconds)
  12. # [02:13] * heycam|away is now known as heycam
  13. # [02:29] * Quits: ArtB (~abarsto@public.cloak) ("Leaving.")
  14. # [02:36] * Quits: thayakawa (~thayakawa@public.cloak) (Ping timeout: 180 seconds)
  15. # [02:37] * Quits: jhammel (~jhammel@public.cloak) ("leaving")
  16. # [03:05] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
  17. # [03:05] * Joins: rhauck (~Adium@public.cloak)
  18. # [03:11] * heycam is now known as heycam|away
  19. # [03:12] * Quits: rhauck (~Adium@public.cloak) (Ping timeout: 180 seconds)
  20. # [03:15] * heycam|away is now known as heycam
  21. # [03:16] * heycam is now known as heycam|away
  22. # [03:30] * heycam|away is now known as heycam
  23. # [03:34] * Joins: mdas (~mdas@public.cloak)
  24. # [03:35] * Quits: mdas (~mdas@public.cloak) (Client closed connection)
  25. # [03:35] * Joins: mdas (~mdas@public.cloak)
  26. # [03:42] * Quits: mdas (~mdas@public.cloak) (Ping timeout: 180 seconds)
  27. # [04:45] * Joins: rhauck (~Adium@public.cloak)
  28. # [05:51] * heycam is now known as heycam|away
  29. # [06:21] * heycam|away is now known as heycam
  30. # [06:24] * Joins: rhauck1 (~Adium@public.cloak)
  31. # [06:27] * Joins: thayakawa (~thayakawa@public.cloak)
  32. # [06:30] * Quits: rhauck (~Adium@public.cloak) (Ping timeout: 180 seconds)
  33. # [07:53] * Quits: thayakawa (~thayakawa@public.cloak) (Ping timeout: 180 seconds)
  34. # [09:27] * Joins: darobin (rberjon@public.cloak)
  35. # [09:38] * Joins: tobie (tobie@public.cloak)
  36. # [10:01] * Joins: zcorpan (~zcorpan@public.cloak)
  37. # [10:02] * heycam is now known as heycam|away
  38. # [10:34] * Joins: Lachy (~Lachy@public.cloak)
  39. # [10:35] * Joins: gitbot (~gitbot@public.cloak)
  40. # [10:35] -gitbot:#testing- [web-platform-tests] jungkees opened pull request #353: XMLHttpRequest test fixes 2 (master...xhrfix) https://github.com/w3c/web-platform-tests/pull/353
  41. # [10:35] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  42. # [10:44] * Joins: Ms2ger (~Ms2ger@public.cloak)
  43. # [10:56] * Quits: rhauck1 (~Adium@public.cloak) (Client closed connection)
  44. # [11:09] * Joins: AutomatedTester (~AutomatedTester@public.cloak)
  45. # [11:20] * Quits: tobie (tobie@public.cloak)
  46. # [11:21] * Joins: tobie (tobie@public.cloak)
  47. # [11:24] * Joins: gitbot (~gitbot@public.cloak)
  48. # [11:24] -gitbot:#testing- [web-platform-tests] Ms2ger opened pull request #354: Allow the uncaught exception in EventTarget-dispatchEvent.html. (master...EventTarget-dispatchEvent-exn) https://github.com/w3c/web-platform-tests/pull/354
  49. # [11:24] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  50. # [11:43] * Quits: AutomatedTester (~AutomatedTester@public.cloak) (Client closed connection)
  51. # [11:57] * Joins: AutomatedTester (~AutomatedTester@public.cloak)
  52. # [12:10] * Joins: abarsto (~abarsto@public.cloak)
  53. # [12:10] * abarsto is now known as ArtB
  54. # [12:16] * Joins: gitbot (~gitbot@public.cloak)
  55. # [12:16] -gitbot:#testing- [web-platform-tests] jgraham closed pull request #354: Allow the uncaught exception in EventTarget-dispatchEvent.html. (master...EventTarget-dispatchEvent-exn) https://github.com/w3c/web-platform-tests/pull/354
  56. # [12:16] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  57. # [13:20] * Quits: AutomatedTester (~AutomatedTester@public.cloak) (Client closed connection)
  58. # [13:34] * Joins: gitbot (~gitbot@public.cloak)
  59. # [13:34] -gitbot:#testing- [web-platform-tests] Ms2ger opened pull request #355: Add a test for DOMTokenList's stringifier. (master...DOMTokenList-stringifier) https://github.com/w3c/web-platform-tests/pull/355
  60. # [13:34] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  61. # [13:42] * Joins: gitbot (~gitbot@public.cloak)
  62. # [13:42] -gitbot:#testing- [web-platform-tests] Ms2ger opened pull request #356: Work around the fact that idlharness.js doesn't support DOMTimeStamp yet. (master...DOMTimeStamp-idlharness-workaround) https://github.com/w3c/web-platform-tests/pull/356
  63. # [13:42] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  64. # [13:42] * Joins: scott_gonzalez (~scott_gonzalez@public.cloak)
  65. # [15:12] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  66. # [15:12] * Joins: zcorpan (~zcorpan@public.cloak)
  67. # [15:14] * Joins: AutomatedTester (~AutomatedTester@public.cloak)
  68. # [15:14] * Quits: tobie (tobie@public.cloak)
  69. # [15:19] * Joins: tobie (tobie@public.cloak)
  70. # [15:19] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  71. # [15:20] * Quits: tobie (tobie@public.cloak)
  72. # [15:44] * Joins: zcorpan (~zcorpan@public.cloak)
  73. # [15:54] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  74. # [15:57] * Quits: Lachy (~Lachy@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
  75. # [15:58] * Joins: Lachy (~Lachy@public.cloak)
  76. # [16:42] * Joins: mdas (~mdas@public.cloak)
  77. # [16:54] * Joins: thayakawa (~thayakawa@public.cloak)
  78. # [17:25] * Joins: zcorpan (~zcorpan@public.cloak)
  79. # [17:36] <jgraham> So
  80. # [17:36] <jgraham> SSL
  81. # [17:36] <jgraham> And
  82. # [17:36] <jgraham> Server names
  83. # [17:36] <jgraham> It seems that
  84. # [17:36] <jgraham> Perhaps
  85. # [17:36] <jgraham> Localhost
  86. # [17:36] <jgraham> is magic
  87. # [17:37] <jgraham> Or maybe
  88. # [17:37] <jgraham> It is not quite that
  89. # [17:37] <jgraham> But
  90. # [17:37] <jgraham> We might
  91. # [17:37] <jgraham> Need
  92. # [17:37] <jgraham> A different
  93. # [17:37] <jgraham> Name
  94. # [17:37] <jgraham> And
  95. # [17:37] <jgraham> A
  96. # [17:37] <jgraham> Solution
  97. # [17:37] <jgraham> For
  98. # [17:37] <jgraham> Certificates
  99. # [17:37] <jgraham> So
  100. # [17:37] <jgraham> We can
  101. # [17:37] <jgraham> Have
  102. # [17:37] <jgraham> HTTPS
  103. # [17:38] <jgraham> And
  104. # [17:38] <jgraham> I
  105. # [17:38] <jgraham> Don't know
  106. # [17:38] <jgraham> How
  107. # [17:38] <jgraham> To
  108. # [17:38] <jgraham> Solve
  109. # [17:38] <jgraham> This
  110. # [17:38] <jgraham> So
  111. # [17:38] <jgraham> Instead
  112. # [17:38] <jgraham> I
  113. # [17:38] <jgraham> Am Writing
  114. # [17:38] <jgraham> In this
  115. # [17:38] <jgraham> Annoying
  116. # [17:38] <jgraham> Way
  117. # [17:40] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  118. # [17:41] * Joins: zcorpan (~zcorpan@public.cloak)
  119. # [17:48] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  120. # [17:59] * Joins: tobie (tobie@public.cloak)
  121. # [18:09] * Joins: shepazu (schepers@public.cloak)
  122. # [18:16] <jgraham> So running tests from web-platform.test rather than localhost seems to be a win
  123. # [18:16] <jgraham> Not sure how to achieve that without forcing people to edit their hosts file though
  124. # [18:30] <andreastt> “Localhost\nis magic\nOr maybe\nIt is not quite that” is almost poetry, jgraham.
  125. # [18:33] <jgraham> Kind of went downhill from there really
  126. # [18:33] <jgraham> Anyway, in the interests of "small problems I can actually solve"
  127. # [18:34] <jgraham> Given a request object and a response object, where would you put an api to store values that can be picked up by future requests
  128. # [18:34] <jgraham> Something like storeValue(path, key, value), getValue(request, key)
  129. # [18:35] <jgraham> Where path would be something like a prefix match for paths that were allowed to read the value
  130. # [18:35] <jgraham> and might default to request.path or something
  131. # [18:35] <andreastt> I have not really been following this discussion at all, I fear I am of very little help.
  132. # [18:35] <jgraham> This isn't really apropos anything
  133. # [18:35] <andreastt> (Life has been chaotic, to say the least, recently.)
  134. # [18:35] <jgraham> and is a question for anyone who cares to answer really
  135. # [18:37] <andreastt> Well, assuming you're in the same program context and it's arbitrary data it sounds as though you need a unique identifier for the first request you receive, for the retriever to later pick it up.
  136. # [18:38] <andreastt> (I'm not being terribly helpful, am I?)
  137. # [18:39] <jgraham> Well that's the key. Which you get to set. The problem is that I don't really have a good place to hang this API. It isn't really related to the request or the response, but is intended to store stuff for future responses
  138. # [18:39] <jgraham> But it's sort of helpful if it knows about the request data
  139. # [18:39] <jgraham> So I guess for practical reasons it could go there
  140. # [18:41] <jgraham> request.store(key, value)
  141. # [18:41] <andreastt> What's the problem here? That the server doesn't support statefulness? If the key is unique, what's the problem of storing it in a separate keystore instance altogether?
  142. # [18:42] <andreastt> Is it to retrieve the key in the response?
  143. # [18:42] <jgraham> The problem is to provide an API that allows for statefulness beyond simple HTTP
  144. # [18:43] <jgraham> Roughly like https://developer.mozilla.org/en/docs/Mochitest#How_do_I_keep_state_across_loads_of_different_server-side_scripts.3F
  145. # [18:43] <jgraham> Although I think I can do a little better by allowing the path to be specified rather than just the request path
  146. # [18:44] <jgraham> However the overall server API looks like
  147. # [18:44] <andreastt> Pass along the UID via parameter to the response, access the global keystore?
  148. # [18:44] <jgraham> def main(request, response):
  149. # [18:44] <jgraham> #do stuff
  150. # [18:44] <jgraham> return status, headers, body
  151. # [18:45] * Joins: jhammel (~jhammel@public.cloak)
  152. # [18:45] <jgraham> So a typical script gets a request object and a response object
  153. # [18:45] <jgraham> and I'm not really setting state for either the request or the response
  154. # [18:45] <jgraham> But for *future* requests/responses
  155. # [18:46] <jgraham> So hanging the API off either of those objects doesn't seem that nice
  156. # [18:47] <jgraham> But other possibilities like making you import state; state.store(request, key, value) seem harder to implement
  157. # [18:47] <jgraham> and perhaps no nicer
  158. # [18:48] <andreastt> Yeah, that's what I was thinking, something like state.store(request.uuid(), key, store).
  159. # [18:48] <andreastt> Last store should've been value.
  160. # [18:48] <andreastt> But yes,
  161. # [18:54] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
  162. # [18:58] * Joins: rhauck (~Adium@public.cloak)
  163. # [19:00] <jgraham> Thanks. Not sure I will go with that option, but it was helpful anyway :)
  164. # [19:14] * Quits: tobie (tobie@public.cloak)
  165. # [19:24] * jhammel is now known as jhammel|dog
  166. # [20:58] * Joins: tobie (tobie@public.cloak)
  167. # [21:00] * Quits: tobie (tobie@public.cloak)
  168. # [21:01] * Quits: mdas (~mdas@public.cloak) (Client closed connection)
  169. # [21:02] * Joins: mdas (~mdas@public.cloak)
  170. # [21:09] * Quits: mdas (~mdas@public.cloak) (Ping timeout: 180 seconds)
  171. # [21:19] * Joins: tobie (tobie@public.cloak)
  172. # [21:24] * Quits: Ms2ger (~Ms2ger@public.cloak) ("nn")
  173. # [21:46] * Quits: jhammel|dog (~jhammel@public.cloak) ("leaving")
  174. # [21:52] * Quits: tobie (tobie@public.cloak)
  175. # [21:52] * Joins: jhammel (~jhammel@public.cloak)
  176. # [22:01] * Parts: jhammel (~jhammel@public.cloak) (jhammel)
  177. # [22:04] * Quits: ArtB (~abarsto@public.cloak) ("Leaving.")
  178. # [22:10] * Quits: stearns (~anonymous@public.cloak) (stearns)
  179. # [22:12] * Joins: stearns (~anonymous@public.cloak)
  180. # [22:12] * Quits: bhill (~Brad@public.cloak) (Client closed connection)
  181. # [22:18] * Joins: bhill (~Brad@public.cloak)
  182. # [23:12] * Quits: thayakawa (~thayakawa@public.cloak) (" HydraIRC -> http://www.hydrairc.com <- Po-ta-to, boil em, mash em, stick em in a stew.")
  183. # [23:29] * Quits: Lachy (~Lachy@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
  184. # [23:51] * Joins: mdas (~mdas@public.cloak)
  185. # [23:56] * Joins: jimevans (~jimevans@public.cloak)
  186. # Session Close: Sat Sep 28 00:00:00 2013

The end :)