Options:
- # Session Start: Fri Sep 27 00:00:00 2013
- # Session Ident: #testing
- # [00:04] * Quits: AutomatedTester (~AutomatedTester@public.cloak) (Ping timeout: 180 seconds)
- # [00:11] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [00:12] * Joins: zcorpan (~zcorpan@public.cloak)
- # [00:19] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [00:50] * Quits: tobie (tobie@public.cloak) (Ping timeout: 180 seconds)
- # [00:55] * Joins: mdas (~mdas@public.cloak)
- # [00:57] * Quits: mdas (~mdas@public.cloak) (Client closed connection)
- # [00:57] * Joins: mdas (~mdas@public.cloak)
- # [01:04] * Quits: mdas (~mdas@public.cloak) (Ping timeout: 180 seconds)
- # [02:13] * heycam|away is now known as heycam
- # [02:29] * Quits: ArtB (~abarsto@public.cloak) ("Leaving.")
- # [02:36] * Quits: thayakawa (~thayakawa@public.cloak) (Ping timeout: 180 seconds)
- # [02:37] * Quits: jhammel (~jhammel@public.cloak) ("leaving")
- # [03:05] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
- # [03:05] * Joins: rhauck (~Adium@public.cloak)
- # [03:11] * heycam is now known as heycam|away
- # [03:12] * Quits: rhauck (~Adium@public.cloak) (Ping timeout: 180 seconds)
- # [03:15] * heycam|away is now known as heycam
- # [03:16] * heycam is now known as heycam|away
- # [03:30] * heycam|away is now known as heycam
- # [03:34] * Joins: mdas (~mdas@public.cloak)
- # [03:35] * Quits: mdas (~mdas@public.cloak) (Client closed connection)
- # [03:35] * Joins: mdas (~mdas@public.cloak)
- # [03:42] * Quits: mdas (~mdas@public.cloak) (Ping timeout: 180 seconds)
- # [04:45] * Joins: rhauck (~Adium@public.cloak)
- # [05:51] * heycam is now known as heycam|away
- # [06:21] * heycam|away is now known as heycam
- # [06:24] * Joins: rhauck1 (~Adium@public.cloak)
- # [06:27] * Joins: thayakawa (~thayakawa@public.cloak)
- # [06:30] * Quits: rhauck (~Adium@public.cloak) (Ping timeout: 180 seconds)
- # [07:53] * Quits: thayakawa (~thayakawa@public.cloak) (Ping timeout: 180 seconds)
- # [09:27] * Joins: darobin (rberjon@public.cloak)
- # [09:38] * Joins: tobie (tobie@public.cloak)
- # [10:01] * Joins: zcorpan (~zcorpan@public.cloak)
- # [10:02] * heycam is now known as heycam|away
- # [10:34] * Joins: Lachy (~Lachy@public.cloak)
- # [10:35] * Joins: gitbot (~gitbot@public.cloak)
- # [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
- # [10:35] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
- # [10:44] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [10:56] * Quits: rhauck1 (~Adium@public.cloak) (Client closed connection)
- # [11:09] * Joins: AutomatedTester (~AutomatedTester@public.cloak)
- # [11:20] * Quits: tobie (tobie@public.cloak)
- # [11:21] * Joins: tobie (tobie@public.cloak)
- # [11:24] * Joins: gitbot (~gitbot@public.cloak)
- # [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
- # [11:24] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
- # [11:43] * Quits: AutomatedTester (~AutomatedTester@public.cloak) (Client closed connection)
- # [11:57] * Joins: AutomatedTester (~AutomatedTester@public.cloak)
- # [12:10] * Joins: abarsto (~abarsto@public.cloak)
- # [12:10] * abarsto is now known as ArtB
- # [12:16] * Joins: gitbot (~gitbot@public.cloak)
- # [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
- # [12:16] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
- # [13:20] * Quits: AutomatedTester (~AutomatedTester@public.cloak) (Client closed connection)
- # [13:34] * Joins: gitbot (~gitbot@public.cloak)
- # [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
- # [13:34] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
- # [13:42] * Joins: gitbot (~gitbot@public.cloak)
- # [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
- # [13:42] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
- # [13:42] * Joins: scott_gonzalez (~scott_gonzalez@public.cloak)
- # [15:12] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [15:12] * Joins: zcorpan (~zcorpan@public.cloak)
- # [15:14] * Joins: AutomatedTester (~AutomatedTester@public.cloak)
- # [15:14] * Quits: tobie (tobie@public.cloak)
- # [15:19] * Joins: tobie (tobie@public.cloak)
- # [15:19] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [15:20] * Quits: tobie (tobie@public.cloak)
- # [15:44] * Joins: zcorpan (~zcorpan@public.cloak)
- # [15:54] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [15:57] * Quits: Lachy (~Lachy@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
- # [15:58] * Joins: Lachy (~Lachy@public.cloak)
- # [16:42] * Joins: mdas (~mdas@public.cloak)
- # [16:54] * Joins: thayakawa (~thayakawa@public.cloak)
- # [17:25] * Joins: zcorpan (~zcorpan@public.cloak)
- # [17:36] <jgraham> So
- # [17:36] <jgraham> SSL
- # [17:36] <jgraham> And
- # [17:36] <jgraham> Server names
- # [17:36] <jgraham> It seems that
- # [17:36] <jgraham> Perhaps
- # [17:36] <jgraham> Localhost
- # [17:36] <jgraham> is magic
- # [17:37] <jgraham> Or maybe
- # [17:37] <jgraham> It is not quite that
- # [17:37] <jgraham> But
- # [17:37] <jgraham> We might
- # [17:37] <jgraham> Need
- # [17:37] <jgraham> A different
- # [17:37] <jgraham> Name
- # [17:37] <jgraham> And
- # [17:37] <jgraham> A
- # [17:37] <jgraham> Solution
- # [17:37] <jgraham> For
- # [17:37] <jgraham> Certificates
- # [17:37] <jgraham> So
- # [17:37] <jgraham> We can
- # [17:37] <jgraham> Have
- # [17:37] <jgraham> HTTPS
- # [17:38] <jgraham> And
- # [17:38] <jgraham> I
- # [17:38] <jgraham> Don't know
- # [17:38] <jgraham> How
- # [17:38] <jgraham> To
- # [17:38] <jgraham> Solve
- # [17:38] <jgraham> This
- # [17:38] <jgraham> So
- # [17:38] <jgraham> Instead
- # [17:38] <jgraham> I
- # [17:38] <jgraham> Am Writing
- # [17:38] <jgraham> In this
- # [17:38] <jgraham> Annoying
- # [17:38] <jgraham> Way
- # [17:40] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [17:41] * Joins: zcorpan (~zcorpan@public.cloak)
- # [17:48] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [17:59] * Joins: tobie (tobie@public.cloak)
- # [18:09] * Joins: shepazu (schepers@public.cloak)
- # [18:16] <jgraham> So running tests from web-platform.test rather than localhost seems to be a win
- # [18:16] <jgraham> Not sure how to achieve that without forcing people to edit their hosts file though
- # [18:30] <andreastt> “Localhost\nis magic\nOr maybe\nIt is not quite that” is almost poetry, jgraham.
- # [18:33] <jgraham> Kind of went downhill from there really
- # [18:33] <jgraham> Anyway, in the interests of "small problems I can actually solve"
- # [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
- # [18:34] <jgraham> Something like storeValue(path, key, value), getValue(request, key)
- # [18:35] <jgraham> Where path would be something like a prefix match for paths that were allowed to read the value
- # [18:35] <jgraham> and might default to request.path or something
- # [18:35] <andreastt> I have not really been following this discussion at all, I fear I am of very little help.
- # [18:35] <jgraham> This isn't really apropos anything
- # [18:35] <andreastt> (Life has been chaotic, to say the least, recently.)
- # [18:35] <jgraham> and is a question for anyone who cares to answer really
- # [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.
- # [18:38] <andreastt> (I'm not being terribly helpful, am I?)
- # [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
- # [18:39] <jgraham> But it's sort of helpful if it knows about the request data
- # [18:39] <jgraham> So I guess for practical reasons it could go there
- # [18:41] <jgraham> request.store(key, value)
- # [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?
- # [18:42] <andreastt> Is it to retrieve the key in the response?
- # [18:42] <jgraham> The problem is to provide an API that allows for statefulness beyond simple HTTP
- # [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
- # [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
- # [18:44] <jgraham> However the overall server API looks like
- # [18:44] <andreastt> Pass along the UID via parameter to the response, access the global keystore?
- # [18:44] <jgraham> def main(request, response):
- # [18:44] <jgraham> #do stuff
- # [18:44] <jgraham> return status, headers, body
- # [18:45] * Joins: jhammel (~jhammel@public.cloak)
- # [18:45] <jgraham> So a typical script gets a request object and a response object
- # [18:45] <jgraham> and I'm not really setting state for either the request or the response
- # [18:45] <jgraham> But for *future* requests/responses
- # [18:46] <jgraham> So hanging the API off either of those objects doesn't seem that nice
- # [18:47] <jgraham> But other possibilities like making you import state; state.store(request, key, value) seem harder to implement
- # [18:47] <jgraham> and perhaps no nicer
- # [18:48] <andreastt> Yeah, that's what I was thinking, something like state.store(request.uuid(), key, store).
- # [18:48] <andreastt> Last store should've been value.
- # [18:48] <andreastt> But yes,
- # [18:54] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
- # [18:58] * Joins: rhauck (~Adium@public.cloak)
- # [19:00] <jgraham> Thanks. Not sure I will go with that option, but it was helpful anyway :)
- # [19:14] * Quits: tobie (tobie@public.cloak)
- # [19:24] * jhammel is now known as jhammel|dog
- # [20:58] * Joins: tobie (tobie@public.cloak)
- # [21:00] * Quits: tobie (tobie@public.cloak)
- # [21:01] * Quits: mdas (~mdas@public.cloak) (Client closed connection)
- # [21:02] * Joins: mdas (~mdas@public.cloak)
- # [21:09] * Quits: mdas (~mdas@public.cloak) (Ping timeout: 180 seconds)
- # [21:19] * Joins: tobie (tobie@public.cloak)
- # [21:24] * Quits: Ms2ger (~Ms2ger@public.cloak) ("nn")
- # [21:46] * Quits: jhammel|dog (~jhammel@public.cloak) ("leaving")
- # [21:52] * Quits: tobie (tobie@public.cloak)
- # [21:52] * Joins: jhammel (~jhammel@public.cloak)
- # [22:01] * Parts: jhammel (~jhammel@public.cloak) (jhammel)
- # [22:04] * Quits: ArtB (~abarsto@public.cloak) ("Leaving.")
- # [22:10] * Quits: stearns (~anonymous@public.cloak) (stearns)
- # [22:12] * Joins: stearns (~anonymous@public.cloak)
- # [22:12] * Quits: bhill (~Brad@public.cloak) (Client closed connection)
- # [22:18] * Joins: bhill (~Brad@public.cloak)
- # [23:12] * Quits: thayakawa (~thayakawa@public.cloak) (" HydraIRC -> http://www.hydrairc.com <- Po-ta-to, boil em, mash em, stick em in a stew.")
- # [23:29] * Quits: Lachy (~Lachy@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
- # [23:51] * Joins: mdas (~mdas@public.cloak)
- # [23:56] * Joins: jimevans (~jimevans@public.cloak)
- # Session Close: Sat Sep 28 00:00:00 2013
The end :)