/irc-logs / w3c / #testing / 2014-06-03 / end

Options:

  1. # Session Start: Tue Jun 03 00:00:00 2014
  2. # Session Ident: #testing
  3. # [00:09] * Quits: plh (plehegar@public.cloak) ("Leaving")
  4. # [00:24] <jgraham> tobie_: Not sure what interop is worth here.
  5. # [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.
  6. # [00:29] <jgraham> I think there are actual reasons for prefering one thing over the other
  7. # [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
  8. # [00:32] <jgraham> Also the semantics seem underspecified
  9. # [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
  10. # [00:34] <tobie_> Don't ask.
  11. # [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
  12. # [00:35] <tobie_> (for the record, I fought against most of those when CJS unit testing was deisgned to no avail.
  13. # [00:37] <tobie_> I buy that argument when it's clear cut.
  14. # [00:40] <tobie_> Truth is, for testing no one seems to agree on what the right semantics are.
  15. # [00:40] <tobie_> Even for the same testing context.
  16. # [00:47] * Joins: gitbot (~gitbot@public.cloak)
  17. # [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
  18. # [00:47] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  19. # [01:17] * Quits: Lachy (~Lachy@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
  20. # [01:37] * Quits: lmclister (~lmclister@public.cloak) ("")
  21. # [01:38] * Quits: AutomatedTester (~AutomatedTester@public.cloak) (Client closed connection)
  22. # [02:11] * Joins: zcorpan (~zcorpan@public.cloak)
  23. # [02:18] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  24. # [03:01] * heycam|away is now known as heycam
  25. # [03:13] * Quits: ptressel (~chatzilla@public.cloak) ("bbl")
  26. # [03:20] * Joins: gitbot (~gitbot@public.cloak)
  27. # [03:20] -gitbot:#testing- [web-platform-tests] zqzhang pushed 3 new commits to master: https://github.com/w3c/web-platform-tests/compare/18f10b524090...d87f7f88e419
  28. # [03:20] -gitbot:#testing- web-platform-tests/master 0f440ff Zhiqiang Zhang: Add more tests for Proximity Events...
  29. # [03:20] -gitbot:#testing- web-platform-tests/master b3b5462 Zhiqiang Zhang: Address review comments and remove manifest.txt
  30. # [03:20] -gitbot:#testing- web-platform-tests/master d87f7f8 Zhiqiang Zhang: Merge pull request #398 from zqzhang/zqzhang/proximity...
  31. # [03:20] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  32. # [04:43] * Joins: gitbot (~gitbot@public.cloak)
  33. # [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
  34. # [04:43] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  35. # [04:50] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
  36. # [05:09] * Joins: lmclister (~lmclister@public.cloak)
  37. # [05:21] * heycam is now known as heycam|away
  38. # [05:41] * Joins: rhauck (~Adium@public.cloak)
  39. # [06:23] * heycam|away is now known as heycam
  40. # [06:48] * Joins: zcorpan (~zcorpan@public.cloak)
  41. # [07:09] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  42. # [07:40] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
  43. # [08:08] * Joins: zcorpan (~zcorpan@public.cloak)
  44. # [08:24] * heycam is now known as heycam|away
  45. # [08:34] * Quits: lmclister (~lmclister@public.cloak) ("")
  46. # [09:11] * Joins: Ms2ger (~Ms2ger@public.cloak)
  47. # [09:26] * Joins: lmclister (~lmclister@public.cloak)
  48. # [09:29] * Quits: lmclister (~lmclister@public.cloak) ("")
  49. # [09:58] * Joins: Lachy (~Lachy@public.cloak)
  50. # [10:03] * Joins: dom (dom@public.cloak)
  51. # [10:18] * Quits: Ms2ger (~Ms2ger@public.cloak) ("Leaving")
  52. # [10:50] * Quits: Lachy (~Lachy@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
  53. # [11:04] * Quits: dom (dom@public.cloak) (Ping timeout: 180 seconds)
  54. # [11:11] * Joins: darobin (rberjon@public.cloak)
  55. # [11:21] * Joins: Lachy (~Lachy@public.cloak)
  56. # [11:25] * Joins: AutomatedTester (~AutomatedTester@public.cloak)
  57. # [12:04] * Joins: Ms2ger (~Ms2ger@public.cloak)
  58. # [12:24] * Quits: AutomatedTester (~AutomatedTester@public.cloak) (Client closed connection)
  59. # [12:24] * Joins: gitbot (~gitbot@public.cloak)
  60. # [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
  61. # [12:24] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  62. # [12:37] * Joins: abarsto (~abarsto@public.cloak)
  63. # [12:37] * abarsto is now known as ArtB
  64. # [12:52] * Joins: gitbot (~gitbot@public.cloak)
  65. # [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
  66. # [12:52] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  67. # [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
  68. # [12:57] <MikeSmith> is it that github and critic both choke on the BOM?
  69. # [12:57] <MikeSmith> or instead are those sources not encoded correctly?
  70. # [12:59] <jgraham> MikeSmith: I would guess the former, but you might need to checkout the branch to be sure
  71. # [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.
  72. # [13:00] <Ms2ger> So I guess the file basically is binary
  73. # [13:01] <MikeSmith> oh ok
  74. # [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
  75. # [13:07] <MikeSmith> Ms2ger: yeah, as it should, right?
  76. # [13:08] <MikeSmith> I mean the problem is just that it doesn't show the diff
  77. # [13:35] <MikeSmith> stupid git
  78. # [13:36] <MikeSmith> a normal "diff --text" from the command line gives a readable diff of those files
  79. # [13:36] <MikeSmith> git log -p --text bed53c6af3548ed1fce1f10a6f40ecc87150d426 gives a useless one
  80. # [13:44] * Joins: gitbot (~gitbot@public.cloak)
  81. # [13:44] -gitbot:#testing- [web-platform-tests] sideshowbarker pushed 3 new commits to master: https://github.com/w3c/web-platform-tests/compare/f1c1bba7bb92...e6f55994d44f
  82. # [13:44] -gitbot:#testing- web-platform-tests/master bed53c6 Erika Doyle Navara: Fixed broken tests by correcting CSS support file path.
  83. # [13:44] -gitbot:#testing- web-platform-tests/master 46a130c Erika Doyle Navara: Corrected font support file path and regenerated applicable tests.
  84. # [13:44] -gitbot:#testing- web-platform-tests/master e6f5599 Michael[tm] Smith: Merge pull request #1038 from erikadoyle/erikadoyle/path_corrections...
  85. # [13:44] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  86. # [13:55] * Joins: plh (plehegar@public.cloak)
  87. # [14:00] * Joins: dom (dom@public.cloak)
  88. # [14:25] * Quits: plh (plehegar@public.cloak) (Ping timeout: 180 seconds)
  89. # [14:27] * Joins: gitbot (~gitbot@public.cloak)
  90. # [14:27] -gitbot:#testing- [web-platform-tests] sideshowbarker pushed 2 new commits to master: https://github.com/w3c/web-platform-tests/compare/e6f55994d44f...a2389cff963a
  91. # [14:27] -gitbot:#testing- web-platform-tests/master 7fd7802 Michael[tm] Smith: Merged #1014.
  92. # [14:27] -gitbot:#testing- web-platform-tests/master a2389cf Michael[tm] Smith: Fixed merge conflicts for #1014.
  93. # [14:27] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  94. # [14:28] * Joins: gitbot (~gitbot@public.cloak)
  95. # [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
  96. # [14:28] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  97. # [14:28] * Joins: gitbot (~gitbot@public.cloak)
  98. # [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
  99. # [14:28] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  100. # [14:47] * Joins: plh (plehegar@public.cloak)
  101. # [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
  102. # [15:03] <jgraham> I note that I'm not sure this is a good idea
  103. # [15:06] <jgraham> Somthing like _eq(a,b) _neq(a,b)
  104. # [15:08] <jgraham> (I would quite like eq!() but that isn't syntactically valid)
  105. # [15:11] <Ms2ger> eq£(a, b)
  106. # [15:12] <jgraham> Any suggestions that a) match the js grammar and b) use only symbols on a wide variety of keyboards?
  107. # [15:13] <darobin> #eq() ?
  108. # [15:14] <darobin> if the constituency is bz, do we know what's on his keyboard?
  109. # [15:14] <darobin> or, given how much he seems to type, keyboards
  110. # [15:14] <jgraham> I imagine it's en-us
  111. # [15:14] <jgraham> (#eq doesn't meet criterian a) fwiw)
  112. # [15:15] <jgraham> *criterion
  113. # [15:15] <dom> ⁼
  114. # [15:15] <Ms2ger> eq$?
  115. # [15:17] <jgraham> Yeah, so I think that _eq, eq_ and eq$ are the only options I have seen that actually work
  116. # [15:20] <jgraham> I can't say I love any of them
  117. # [15:21] <darobin> oh, somehow I thought I recalled # as being usable as well as $ — dunno why
  118. # [15:23] <darobin> not eq() ?
  119. # [15:26] <jgraham> Well sure, but what if you wanted assert_true to have a short form
  120. # [15:26] <jgraham> true() wouldn't work
  121. # [15:26] <jgraham> And it wouldn't satisfy my need to have some consistency :)
  122. # [15:29] <jgraham> eq_, neq_, true_, false_, throws_ could work, for example
  123. # [15:30] <jgraham> Although _ to me strongly suggests name manging or internal-ness
  124. # [15:31] <jgraham> EQ() NEQ() TRUE() FALSE(), THROWS() would work although the need for shift might negate the shortness
  125. # [15:35] <Ms2ger> éq, ñeq, ŧrue, ...
  126. # [15:37] <jgraham> Ms2ger: You fail requirement (b)
  127. # [15:38] <darobin> truthy()
  128. # [15:39] <darobin> ucfirst?
  129. # [15:39] <darobin> Eq, Neq, True...?
  130. # [15:39] <jgraham> darobin: It isn't "truthy"! That's the whole point
  131. # [15:39] <darobin> ugly, but
  132. # [15:39] <jgraham> true or fail
  133. # [15:39] <darobin> yeah yeah
  134. # [15:39] <darobin> yeah()!
  135. # [15:40] <zcorpan> sup() naw() yah() woot() lol()
  136. # [15:40] <darobin> hahaha
  137. # [15:40] <darobin> yolo()
  138. # [15:41] <darobin> yolo() is obviously the short assert_throws()
  139. # [15:41] <jgraham> dogetest: so() such() many() much() very()?
  140. # [15:42] <darobin> you know, that could actually be a thing
  141. # [15:42] <darobin> especially if the reporter uses colourful Comic Sans
  142. # [15:42] <jgraham> so fail such sad?
  143. # [15:43] <zcorpan> much red
  144. # [15:43] <zcorpan> such fail
  145. # [15:43] <darobin> very exception
  146. # [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
  147. # [15:43] <zcorpan> wow
  148. # [15:44] <zcorpan> an idea for next april 1 maybe
  149. # [15:44] <darobin> jgraham: how about putting the short stuff on a short object
  150. # [15:45] <darobin> bz.eq(), bz.neq(), etc.
  151. # [15:45] <jgraham> heh
  152. # [15:45] <darobin> even, more seriously, _.eq() or th.eq()
  153. # [15:46] <Ms2ger> $.equal()
  154. # [15:48] <darobin> yeah, whichever
  155. # [15:50] <darobin> conflicting with either of jQuery or underscore/lodash shouldn't be a problem in this context
  156. # [15:50] <darobin> (and at least jQuery can be deconflicted)
  157. # [15:58] <zcorpan> _['!=']
  158. # [16:00] <darobin> heh
  159. # [16:14] * Joins: ptressel (~chatzilla@public.cloak)
  160. # [16:16] <jgraham> I guess I will ask bz at some point when he's around
  161. # [16:34] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  162. # [16:35] * Joins: zcorpan (~zcorpan@public.cloak)
  163. # [16:39] * Joins: mdyck (~mdyck@public.cloak)
  164. # [16:40] * Joins: lmclister (~lmclister@public.cloak)
  165. # [16:42] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  166. # [16:45] * Quits: lmclister (~lmclister@public.cloak) ("")
  167. # [16:51] * Joins: AutomatedTester (~AutomatedTester@public.cloak)
  168. # [17:08] * Quits: dom (dom@public.cloak) ("")
  169. # [17:12] * Quits: AutomatedTester (~AutomatedTester@public.cloak) (Client closed connection)
  170. # [17:31] * Joins: rhauck (~Adium@public.cloak)
  171. # [17:46] * Joins: zcorpan (~zcorpan@public.cloak)
  172. # [17:55] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  173. # [17:57] * Quits: Lachy (~Lachy@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
  174. # [17:58] * Joins: lmclister (~lmclister@public.cloak)
  175. # [18:19] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
  176. # [18:33] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
  177. # [19:16] * Joins: rhauck (~Adium@public.cloak)
  178. # [19:27] * Joins: dom (dom@public.cloak)
  179. # [19:31] * Quits: plh (plehegar@public.cloak) ("Leaving")
  180. # [19:41] * Quits: dom (dom@public.cloak) ("")
  181. # [19:49] * Quits: Ms2ger (~Ms2ger@public.cloak) ("nn")
  182. # [19:52] * Joins: Lachy (~Lachy@public.cloak)
  183. # [20:00] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
  184. # [20:02] * Joins: plh (plehegar@public.cloak)
  185. # [20:02] * Joins: rhauck (~Adium@public.cloak)
  186. # [20:39] * Quits: ArtB (~abarsto@public.cloak) ("Leaving.")
  187. # [21:11] * Joins: zcorpan (~zcorpan@public.cloak)
  188. # [21:14] * Quits: mdyck (~mdyck@public.cloak) ("Leaving")
  189. # [21:21] * Joins: AutomatedTester (~AutomatedTester@public.cloak)
  190. # [21:31] * Joins: abarsto (~abarsto@public.cloak)
  191. # [21:31] * abarsto is now known as ArtB
  192. # [21:35] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  193. # [21:36] * Joins: zcorpan (~zcorpan@public.cloak)
  194. # [21:43] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  195. # [22:46] * Joins: zcorpan (~zcorpan@public.cloak)
  196. # [22:49] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  197. # [23:02] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
  198. # [23:26] * Joins: rhauck (~Adium@public.cloak)
  199. # [23:27] * Quits: lmclister (~lmclister@public.cloak) ("")
  200. # [23:28] * Joins: lmclister (~lmclister@public.cloak)
  201. # [23:51] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
  202. # Session Close: Wed Jun 04 00:00:00 2014

The end :)