Options:
- # Session Start: Tue Jun 03 00:00:00 2014
- # Session Ident: #testing
- # [00:09] * Quits: plh (plehegar@public.cloak) ("Leaving")
- # [00:24] <jgraham> tobie_: Not sure what interop is worth here.
- # [00:27] <tobie_> I'm always confused when folks decide to come up with 10 different versions of the same thing for reasons that can't really boil down to more than just taste.
- # [00:29] <jgraham> I think there are actual reasons for prefering one thing over the other
- # [00:29] <jgraham> If you make testing with == easier than ===, that's what people will do, and they are liable to miss bugs as a result
- # [00:32] <jgraham> Also the semantics seem underspecified
- # [00:33] <jgraham> I can't work out what deepEquals does with nested objects. One might hope that it calls deepEquals on the rhs, but if that's the case are you supposed to guard against recursion? That's not in the spec
- # [00:34] <tobie_> Don't ask.
- # [00:34] <jgraham> So I think my argument is that familiarity can be nice, but having the right semantics is better than having interop with the wrong semantics when portability is such a weak requirement as it is for testsuites
- # [00:35] <tobie_> (for the record, I fought against most of those when CJS unit testing was deisgned to no avail.
- # [00:37] <tobie_> I buy that argument when it's clear cut.
- # [00:40] <tobie_> Truth is, for testing no one seems to agree on what the right semantics are.
- # [00:40] <tobie_> Even for the same testing context.
- # [00:47] * Joins: gitbot (~gitbot@public.cloak)
- # [00:47] -gitbot:#testing- [web-platform-tests] erikadoyle opened pull request #1038: Path corrections for font and css support files (master...erikadoyle/path_corrections) https://github.com/w3c/web-platform-tests/pull/1038
- # [00:47] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
- # [01:17] * Quits: Lachy (~Lachy@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
- # [01:37] * Quits: lmclister (~lmclister@public.cloak) ("")
- # [01:38] * Quits: AutomatedTester (~AutomatedTester@public.cloak) (Client closed connection)
- # [02:11] * Joins: zcorpan (~zcorpan@public.cloak)
- # [02:18] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [03:01] * heycam|away is now known as heycam
- # [03:13] * Quits: ptressel (~chatzilla@public.cloak) ("bbl")
- # [03:20] * Joins: gitbot (~gitbot@public.cloak)
- # [03:20] -gitbot:#testing- [web-platform-tests] zqzhang pushed 3 new commits to master: https://github.com/w3c/web-platform-tests/compare/18f10b524090...d87f7f88e419
- # [03:20] -gitbot:#testing- web-platform-tests/master 0f440ff Zhiqiang Zhang: Add more tests for Proximity Events...
- # [03:20] -gitbot:#testing- web-platform-tests/master b3b5462 Zhiqiang Zhang: Address review comments and remove manifest.txt
- # [03:20] -gitbot:#testing- web-platform-tests/master d87f7f8 Zhiqiang Zhang: Merge pull request #398 from zqzhang/zqzhang/proximity...
- # [03:20] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
- # [04:43] * Joins: gitbot (~gitbot@public.cloak)
- # [04:43] -gitbot:#testing- [web-platform-tests] onlimii closed pull request #284: [ttwf shanghai 2013] FileAPI FileReaderSync tests added. (master...submission/jcxia-fileapi-readingonthreads) https://github.com/w3c/web-platform-tests/pull/284
- # [04:43] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
- # [04:50] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
- # [05:09] * Joins: lmclister (~lmclister@public.cloak)
- # [05:21] * heycam is now known as heycam|away
- # [05:41] * Joins: rhauck (~Adium@public.cloak)
- # [06:23] * heycam|away is now known as heycam
- # [06:48] * Joins: zcorpan (~zcorpan@public.cloak)
- # [07:09] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [07:40] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
- # [08:08] * Joins: zcorpan (~zcorpan@public.cloak)
- # [08:24] * heycam is now known as heycam|away
- # [08:34] * Quits: lmclister (~lmclister@public.cloak) ("")
- # [09:11] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [09:26] * Joins: lmclister (~lmclister@public.cloak)
- # [09:29] * Quits: lmclister (~lmclister@public.cloak) ("")
- # [09:58] * Joins: Lachy (~Lachy@public.cloak)
- # [10:03] * Joins: dom (dom@public.cloak)
- # [10:18] * Quits: Ms2ger (~Ms2ger@public.cloak) ("Leaving")
- # [10:50] * Quits: Lachy (~Lachy@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
- # [11:04] * Quits: dom (dom@public.cloak) (Ping timeout: 180 seconds)
- # [11:11] * Joins: darobin (rberjon@public.cloak)
- # [11:21] * Joins: Lachy (~Lachy@public.cloak)
- # [11:25] * Joins: AutomatedTester (~AutomatedTester@public.cloak)
- # [12:04] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [12:24] * Quits: AutomatedTester (~AutomatedTester@public.cloak) (Client closed connection)
- # [12:24] * Joins: gitbot (~gitbot@public.cloak)
- # [12:24] -gitbot:#testing- [web-platform-tests] mattto opened pull request #1039: The active element of a modal dialog is the first focusable element (master...dialog) https://github.com/w3c/web-platform-tests/pull/1039
- # [12:24] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
- # [12:37] * Joins: abarsto (~abarsto@public.cloak)
- # [12:37] * abarsto is now known as ArtB
- # [12:52] * Joins: gitbot (~gitbot@public.cloak)
- # [12:52] -gitbot:#testing- [web-platform-tests] sideshowbarker closed pull request #1039: The active element of a modal dialog is the first focusable element (master...dialog) https://github.com/w3c/web-platform-tests/pull/1039
- # [12:52] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
- # [12:56] <MikeSmith> what's up with https://github.com/erikadoyle/web-platform-tests/commit/bed53c6af3548ed1fce1f10a6f40ecc87150d426 and https://critic.hoppipolla.co.uk/bed53c6a?review=1717
- # [12:57] <MikeSmith> is it that github and critic both choke on the BOM?
- # [12:57] <MikeSmith> or instead are those sources not encoded correctly?
- # [12:59] <jgraham> MikeSmith: I would guess the former, but you might need to checkout the branch to be sure
- # [13:00] <Ms2ger> No encoding information is declared in the HTTP header or inside the document, other than in the BOM. The text of a class name in the test contains the following sequence of bytes: 0xC3 0xc0 0x53 0xc1 0xC3 0xc0 0xAC 0xc20 0xC3 0xc0 0x61 0xc1. The external, UTF-8-encoded stylesheet contains a selector with a sequence of characters that will only match the class name in the HTML if the page is read as UTF-16BE.
- # [13:00] <Ms2ger> So I guess the file basically is binary
- # [13:01] <MikeSmith> oh ok
- # [13:01] <Ms2ger> Git says Binary files a/html/syntax/parsing-html-fragments/the-input-byte-stream-003.html and b/html/syntax/parsing-html-fragments/the-input-byte-stream-003.html differ
- # [13:07] <MikeSmith> Ms2ger: yeah, as it should, right?
- # [13:08] <MikeSmith> I mean the problem is just that it doesn't show the diff
- # [13:35] <MikeSmith> stupid git
- # [13:36] <MikeSmith> a normal "diff --text" from the command line gives a readable diff of those files
- # [13:36] <MikeSmith> git log -p --text bed53c6af3548ed1fce1f10a6f40ecc87150d426 gives a useless one
- # [13:44] * Joins: gitbot (~gitbot@public.cloak)
- # [13:44] -gitbot:#testing- [web-platform-tests] sideshowbarker pushed 3 new commits to master: https://github.com/w3c/web-platform-tests/compare/f1c1bba7bb92...e6f55994d44f
- # [13:44] -gitbot:#testing- web-platform-tests/master bed53c6 Erika Doyle Navara: Fixed broken tests by correcting CSS support file path.
- # [13:44] -gitbot:#testing- web-platform-tests/master 46a130c Erika Doyle Navara: Corrected font support file path and regenerated applicable tests.
- # [13:44] -gitbot:#testing- web-platform-tests/master e6f5599 Michael[tm] Smith: Merge pull request #1038 from erikadoyle/erikadoyle/path_corrections...
- # [13:44] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
- # [13:55] * Joins: plh (plehegar@public.cloak)
- # [14:00] * Joins: dom (dom@public.cloak)
- # [14:25] * Quits: plh (plehegar@public.cloak) (Ping timeout: 180 seconds)
- # [14:27] * Joins: gitbot (~gitbot@public.cloak)
- # [14:27] -gitbot:#testing- [web-platform-tests] sideshowbarker pushed 2 new commits to master: https://github.com/w3c/web-platform-tests/compare/e6f55994d44f...a2389cff963a
- # [14:27] -gitbot:#testing- web-platform-tests/master 7fd7802 Michael[tm] Smith: Merged #1014.
- # [14:27] -gitbot:#testing- web-platform-tests/master a2389cf Michael[tm] Smith: Fixed merge conflicts for #1014.
- # [14:27] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
- # [14:28] * Joins: gitbot (~gitbot@public.cloak)
- # [14:28] -gitbot:#testing- [web-platform-tests] sideshowbarker closed pull request #1014: Moved Web Sockets IDL tests. (master...submission/sideshowbarker/move-websockets-idl) https://github.com/w3c/web-platform-tests/pull/1014
- # [14:28] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
- # [14:28] * Joins: gitbot (~gitbot@public.cloak)
- # [14:28] -gitbot:#testing- [web-platform-tests] sideshowbarker deleted submission/sideshowbarker/move-websockets-idl at 8a77a59: https://github.com/w3c/web-platform-tests/commit/8a77a59
- # [14:28] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
- # [14:47] * Joins: plh (plehegar@public.cloak)
- # [15:03] <jgraham> So, hypothetically, if bz was considered an important enough constituency to implement abbreviated assert names for some subset of asserts, is there a naming scheme that would make it clear which functions were asserts and wasn't too ugly
- # [15:03] <jgraham> I note that I'm not sure this is a good idea
- # [15:06] <jgraham> Somthing like _eq(a,b) _neq(a,b)
- # [15:08] <jgraham> (I would quite like eq!() but that isn't syntactically valid)
- # [15:11] <Ms2ger> eq£(a, b)
- # [15:12] <jgraham> Any suggestions that a) match the js grammar and b) use only symbols on a wide variety of keyboards?
- # [15:13] <darobin> #eq() ?
- # [15:14] <darobin> if the constituency is bz, do we know what's on his keyboard?
- # [15:14] <darobin> or, given how much he seems to type, keyboards
- # [15:14] <jgraham> I imagine it's en-us
- # [15:14] <jgraham> (#eq doesn't meet criterian a) fwiw)
- # [15:15] <jgraham> *criterion
- # [15:15] <dom> ⁼
- # [15:15] <Ms2ger> eq$?
- # [15:17] <jgraham> Yeah, so I think that _eq, eq_ and eq$ are the only options I have seen that actually work
- # [15:20] <jgraham> I can't say I love any of them
- # [15:21] <darobin> oh, somehow I thought I recalled # as being usable as well as $ — dunno why
- # [15:23] <darobin> not eq() ?
- # [15:26] <jgraham> Well sure, but what if you wanted assert_true to have a short form
- # [15:26] <jgraham> true() wouldn't work
- # [15:26] <jgraham> And it wouldn't satisfy my need to have some consistency :)
- # [15:29] <jgraham> eq_, neq_, true_, false_, throws_ could work, for example
- # [15:30] <jgraham> Although _ to me strongly suggests name manging or internal-ness
- # [15:31] <jgraham> EQ() NEQ() TRUE() FALSE(), THROWS() would work although the need for shift might negate the shortness
- # [15:35] <Ms2ger> éq, ñeq, ŧrue, ...
- # [15:37] <jgraham> Ms2ger: You fail requirement (b)
- # [15:38] <darobin> truthy()
- # [15:39] <darobin> ucfirst?
- # [15:39] <darobin> Eq, Neq, True...?
- # [15:39] <jgraham> darobin: It isn't "truthy"! That's the whole point
- # [15:39] <darobin> ugly, but
- # [15:39] <jgraham> true or fail
- # [15:39] <darobin> yeah yeah
- # [15:39] <darobin> yeah()!
- # [15:40] <zcorpan> sup() naw() yah() woot() lol()
- # [15:40] <darobin> hahaha
- # [15:40] <darobin> yolo()
- # [15:41] <darobin> yolo() is obviously the short assert_throws()
- # [15:41] <jgraham> dogetest: so() such() many() much() very()?
- # [15:42] <darobin> you know, that could actually be a thing
- # [15:42] <darobin> especially if the reporter uses colourful Comic Sans
- # [15:42] <jgraham> so fail such sad?
- # [15:43] <zcorpan> much red
- # [15:43] <zcorpan> such fail
- # [15:43] <darobin> very exception
- # [15:43] <jgraham> Well at least now I have my way to get in with all the cool js kids, if I ever feel the need
- # [15:43] <zcorpan> wow
- # [15:44] <zcorpan> an idea for next april 1 maybe
- # [15:44] <darobin> jgraham: how about putting the short stuff on a short object
- # [15:45] <darobin> bz.eq(), bz.neq(), etc.
- # [15:45] <jgraham> heh
- # [15:45] <darobin> even, more seriously, _.eq() or th.eq()
- # [15:46] <Ms2ger> $.equal()
- # [15:48] <darobin> yeah, whichever
- # [15:50] <darobin> conflicting with either of jQuery or underscore/lodash shouldn't be a problem in this context
- # [15:50] <darobin> (and at least jQuery can be deconflicted)
- # [15:58] <zcorpan> _['!=']
- # [16:00] <darobin> heh
- # [16:14] * Joins: ptressel (~chatzilla@public.cloak)
- # [16:16] <jgraham> I guess I will ask bz at some point when he's around
- # [16:34] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [16:35] * Joins: zcorpan (~zcorpan@public.cloak)
- # [16:39] * Joins: mdyck (~mdyck@public.cloak)
- # [16:40] * Joins: lmclister (~lmclister@public.cloak)
- # [16:42] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [16:45] * Quits: lmclister (~lmclister@public.cloak) ("")
- # [16:51] * Joins: AutomatedTester (~AutomatedTester@public.cloak)
- # [17:08] * Quits: dom (dom@public.cloak) ("")
- # [17:12] * Quits: AutomatedTester (~AutomatedTester@public.cloak) (Client closed connection)
- # [17:31] * Joins: rhauck (~Adium@public.cloak)
- # [17:46] * Joins: zcorpan (~zcorpan@public.cloak)
- # [17:55] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [17:57] * Quits: Lachy (~Lachy@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
- # [17:58] * Joins: lmclister (~lmclister@public.cloak)
- # [18:19] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
- # [18:33] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
- # [19:16] * Joins: rhauck (~Adium@public.cloak)
- # [19:27] * Joins: dom (dom@public.cloak)
- # [19:31] * Quits: plh (plehegar@public.cloak) ("Leaving")
- # [19:41] * Quits: dom (dom@public.cloak) ("")
- # [19:49] * Quits: Ms2ger (~Ms2ger@public.cloak) ("nn")
- # [19:52] * Joins: Lachy (~Lachy@public.cloak)
- # [20:00] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
- # [20:02] * Joins: plh (plehegar@public.cloak)
- # [20:02] * Joins: rhauck (~Adium@public.cloak)
- # [20:39] * Quits: ArtB (~abarsto@public.cloak) ("Leaving.")
- # [21:11] * Joins: zcorpan (~zcorpan@public.cloak)
- # [21:14] * Quits: mdyck (~mdyck@public.cloak) ("Leaving")
- # [21:21] * Joins: AutomatedTester (~AutomatedTester@public.cloak)
- # [21:31] * Joins: abarsto (~abarsto@public.cloak)
- # [21:31] * abarsto is now known as ArtB
- # [21:35] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [21:36] * Joins: zcorpan (~zcorpan@public.cloak)
- # [21:43] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [22:46] * Joins: zcorpan (~zcorpan@public.cloak)
- # [22:49] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [23:02] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
- # [23:26] * Joins: rhauck (~Adium@public.cloak)
- # [23:27] * Quits: lmclister (~lmclister@public.cloak) ("")
- # [23:28] * Joins: lmclister (~lmclister@public.cloak)
- # [23:51] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
- # Session Close: Wed Jun 04 00:00:00 2014
The end :)