/irc-logs / w3c / #webapps / 2008-09-16 / end

Options:

  1. # Session Start: Tue Sep 16 00:00:00 2008
  2. # Session Ident: #webapps
  3. # [00:20] * Quits: aroben (aroben@71.58.76.69) (Connection reset by peer)
  4. # [00:24] * Joins: aroben (aroben@71.58.76.69)
  5. # [00:26] * Quits: aroben (aroben@71.58.76.69) (Connection reset by peer)
  6. # [00:26] * Joins: aroben (aroben@71.58.76.69)
  7. # [00:35] * Quits: aroben (aroben@71.58.76.69) (Connection reset by peer)
  8. # [01:00] * Quits: mjs (mjs@69.181.42.194) (Quit: mjs)
  9. # [02:01] * Joins: MikeSmith (MikeSmith@mcclure.w3.org)
  10. # [02:33] * Joins: mjs (mjs@17.203.15.236)
  11. # [03:33] * Joins: harryli (kcome@222.95.27.6)
  12. # [03:50] * Joins: mjs_ (mjs@17.203.15.236)
  13. # [03:50] * Quits: mjs (mjs@17.203.15.236) (Connection reset by peer)
  14. # [04:15] * Joins: mjs (mjs@17.203.15.236)
  15. # [04:15] * Quits: mjs_ (mjs@17.203.15.236) (Connection reset by peer)
  16. # [05:26] * Joins: mjs_ (mjs@17.203.15.236)
  17. # [05:26] * Quits: mjs (mjs@17.203.15.236) (Connection reset by peer)
  18. # [05:44] * Quits: mjs_ (mjs@17.203.15.236) (Quit: mjs_)
  19. # [06:21] * Joins: mjs (mjs@17.203.15.236)
  20. # [06:36] * Quits: mjs (mjs@17.203.15.236) (Ping timeout)
  21. # [07:11] * Joins: mjs (mjs@17.203.15.236)
  22. # [07:42] * Quits: mjs (mjs@17.203.15.236) (Quit: mjs)
  23. # [07:56] * Joins: mjs (mjs@17.244.16.197)
  24. # [08:14] * Quits: mjs (mjs@17.244.16.197) (Quit: mjs)
  25. # [08:54] * Joins: mjs (mjs@17.203.15.239)
  26. # [09:15] * Quits: mjs (mjs@17.203.15.239) (Quit: mjs)
  27. # [10:02] * Joins: tlr (tlr@128.30.52.30)
  28. # [10:04] * Quits: tlr (tlr@128.30.52.30) (Quit: tlr)
  29. # [10:04] * Joins: tlr (tlr@128.30.52.30)
  30. # [10:11] * Joins: arve (arve@213.236.208.22)
  31. # [10:13] * Joins: mjs (mjs@69.181.42.194)
  32. # [10:19] * Quits: arve (arve@213.236.208.22) (Quit: Leaving)
  33. # [10:22] * Quits: Lachy (Lachlan@85.196.122.246) (Quit: Leaving)
  34. # [10:29] * Joins: arve (arve@213.236.208.22)
  35. # [10:35] * Joins: Lachy (Lachlan@85.196.122.246)
  36. # [10:48] * Quits: arve (arve@213.236.208.22) (Client exited)
  37. # [10:53] * Quits: mjs (mjs@69.181.42.194) (Quit: mjs)
  38. # [10:55] * Joins: Lachy_ (Lachlan@85.196.122.246)
  39. # [10:55] * Quits: Lachy (Lachlan@85.196.122.246) (Connection reset by peer)
  40. # [11:09] * Joins: arve (arve@213.236.208.22)
  41. # [11:12] * Quits: Lachy_ (Lachlan@85.196.122.246) (Quit: This computer has gone to sleep)
  42. # [11:14] * Joins: mjs (mjs@69.181.42.194)
  43. # [11:20] * Quits: tlr (tlr@128.30.52.30) (Quit: tlr)
  44. # [11:25] * Joins: Lachy (Lachlan@213.236.208.22)
  45. # [11:29] * Quits: smaug (chatzilla@82.181.141.13) (Quit: ChatZilla 0.9.83 [Firefox 3.1b1pre/20080914212630])
  46. # [11:30] * arve thinks Dominique has some valid points
  47. # [11:34] * Joins: smaug (chatzilla@82.181.141.13)
  48. # [12:01] * Joins: tlr (tlr@128.30.52.30)
  49. # [12:25] * Quits: tlr (tlr@128.30.52.30) (Quit: tlr)
  50. # [12:25] * Joins: tlr (tlr@128.30.52.30)
  51. # [12:36] * Joins: mjs_ (mjs@69.181.42.194)
  52. # [12:37] * Quits: mjs_ (mjs@69.181.42.194) (Connection reset by peer)
  53. # [12:37] * Quits: mjs (mjs@69.181.42.194) (Connection reset by peer)
  54. # [12:37] * Joins: mjs (mjs@69.181.42.194)
  55. # [12:44] * Quits: harryli (kcome@222.95.27.6) (Ping timeout)
  56. # [12:47] * Quits: arve (arve@213.236.208.22) (Ping timeout)
  57. # [12:59] * Joins: arve (arve@213.236.208.22)
  58. # [13:07] * Quits: arve (arve@213.236.208.22) (Client exited)
  59. # [13:35] * Joins: ArtB (ce846302@128.30.52.43)
  60. # [13:48] * Joins: arve (arve@213.236.208.22)
  61. # [14:28] <arve> timeless | timelyx : yt?
  62. # [15:13] * Quits: ArtB (ce846302@128.30.52.43) (Quit: CGI:IRC)
  63. # [15:14] * Joins: ArtB (c0646811@128.30.52.43)
  64. # [15:41] * Quits: Lachy (Lachlan@213.236.208.22) (Client exited)
  65. # [15:41] * Joins: Lachy (Lachlan@213.236.208.22)
  66. # [15:47] <timeless> kinda
  67. # [15:47] <timeless> i'm trying to fill in paperwork for my trip to turin
  68. # [15:47] <timeless> and tomorrow i'm traveling to berlin
  69. # [15:49] <arve> just wondering whether I should have setPreference(key, value) implicitly expect an UA to call value.toString
  70. # [15:50] <timeless> um
  71. # [15:50] <timeless> we're not expecting untrusted objects, right? :)
  72. # [15:51] <timeless> does the api say setPreference(String key, String value) ?
  73. # [15:51] <arve> yes
  74. # [15:51] <timeless> or are you listing them as somewhat typeless
  75. # [15:51] <arve> no, as DOMString
  76. # [15:51] <arve> and I've specified that it throws
  77. # [15:51] <timeless> if it's listed as String, then shouldn't webidl define the coercions for us
  78. # [15:52] * timeless would think that .setPreference(go, bob) should result in go and bob being coerced toString
  79. # [15:55] <anne> yeah, Web IDL defines that
  80. # [15:55] <anne> and does indeed do the toString() stuff
  81. # [16:04] * Joins: harryli (kcome@222.95.27.6)
  82. # [16:05] <arve> Editorial note
  83. # [16:05] <arve> There should be a definition here for how to coerce an ECMAScript value according to the IDL type expected. This definition should then be explicitly referenced in the [[Get]], [[Put]] and function calling definitions below, rather than the current wording "must be handled according to the rules in section 4.1".
  84. # [16:06] * Quits: Dashiva (noone@80.203.127.196) (Quit: Dashiva)
  85. # [16:06] <arve> problem is, what happens when the object doesn't have a meaningful toString()?
  86. # [16:10] <anne> whether it's meaningful is irrelevant
  87. # [16:10] <arve> anne: even when toString for instance returns the empty string? setPreference("","foo")
  88. # [16:11] <mjs> every JavaScript value has a toString conversion (afaik anyway)
  89. # [16:11] <mjs> worst that can happen is it can throw an exception while converting
  90. # [16:11] <mjs> anything that converts to empty string should be treated same as empty string would be
  91. # [16:12] <mjs> which might be an error; not sure what API you specifically are talking about here
  92. # [16:13] <arve> I shall have to specify it as such, then
  93. # [16:13] <arve> (Widgets API)
  94. # [16:34] * Joins: aroben (aroben@71.58.76.69)
  95. # [16:58] * Quits: aroben (aroben@71.58.76.69) (Connection reset by peer)
  96. # [16:59] * Quits: ArtB (c0646811@128.30.52.43) (Quit: CGI:IRC)
  97. # [17:00] * Quits: harryli (kcome@222.95.27.6) (Ping timeout)
  98. # [17:00] * Joins: aroben (aroben@71.58.76.69)
  99. # [17:04] <timeless> mjs: technically you can have an object which has no toString
  100. # [17:04] <timeless> or for which toString throws
  101. # [17:05] <timeless> js> a={};a.toString=null;""+a
  102. # [17:05] <timeless> typein:1: TypeError: can't convert a to primitive type
  103. # [17:07] <timeless> (making an object that has no prototype requires a host object iirc, but host objects are allowed to do whatever they like)
  104. # [17:07] <timeless> js> a={};a.toString=function(){throw null};""+a
  105. # [17:07] <timeless> uncaught exception: null
  106. # [17:07] <anne> Web IDL should just state that such exceptions are to be re-raised
  107. # [17:08] <timeless> js> a={};a.toString=function(){throw new Exception};""+a
  108. # [17:08] <timeless> typein:2: ReferenceError: Exception is not defined
  109. # [17:08] <timeless> js> a={};a.toString=function(){throw new Error};""+a
  110. # [17:08] <timeless> typein:3:
  111. # [17:08] <timeless> anne: something like that
  112. # [17:08] <timeless> preferably checking w/ impl people to make sure that the proper terminology is used
  113. # [17:08] <timeless> i think "propogated" is what i'd use
  114. # [17:09] <timeless> js> (function(){})(({toString:function(){throw 1}}),({toString:function(){throw2}}))
  115. # [17:09] <timeless> err
  116. # [17:09] <timeless> js> (function(){})(({toString:function(){throw 1}}),({toString:function(){throw 2}}))
  117. # [17:10] <timeless> not exactly the most useful example, but you have to be careful
  118. # [17:10] <timeless> assuming that the first (empty) function was actually a WebIDL function
  119. # [17:10] <timeless> and that it defined two arguments of type DOMString
  120. # [17:10] <timeless> you'd want to make sure that you understood which of the two exceptions actually reached the caller
  121. # [17:11] <timeless> and whether the other exception was constructed at all
  122. # [17:11] <timeless> personally w/o reading enough specs, i'd assume to get (1) and have the (2) never be evaluated ..
  123. # [17:17] * Quits: Lachy (Lachlan@213.236.208.22) (Quit: This computer has gone to sleep)
  124. # [17:25] * Joins: harryli (kcome@58.217.138.167)
  125. # [17:37] * Quits: aroben (aroben@71.58.76.69) (Connection reset by peer)
  126. # [17:41] * Joins: aroben (aroben@71.58.76.69)
  127. # [17:44] * Quits: aroben (aroben@71.58.76.69) (Connection reset by peer)
  128. # [17:46] * Joins: aroben (aroben@71.58.76.69)
  129. # [17:50] * Joins: Lachy (Lachlan@85.196.122.246)
  130. # [18:53] * Quits: arve (arve@213.236.208.22) (Quit: Leaving)
  131. # [19:12] * Quits: harryli (kcome@58.217.138.167) (Ping timeout)
  132. # [20:14] * timeless sighs
  133. # [20:15] <timeless> did i miss the registration deadlines?
  134. # [20:15] <tlr> for TPAC?
  135. # [20:15] <tlr> nope
  136. # [20:15] <timeless> yes
  137. # [20:15] <timeless> when is the deadline?
  138. # [20:16] <tlr> 28 September
  139. # [20:16] <tlr> hotel rate available till 20 September, I think
  140. # [20:16] <tlr> http://www.w3.org/2002/09/wbs/35125/TPAC2008/
  141. # [20:16] <timeless> ok
  142. # [20:17] <tlr> and: http://lists.w3.org/Archives/Member/chairs/2008JulSep/0078.html
  143. # [20:17] <tlr> (member confidential, but I think you've got member access, right)
  144. # [20:17] <timeless> yep
  145. # [20:18] <tlr> methinks that should have been copied to a public archive anyway *sigh*
  146. # [20:18] <timeless> heh
  147. # [20:26] * Quits: tlr (tlr@128.30.52.30) (Quit: tlr)
  148. # [21:09] <mjs> timeless: it can have no toString but it still has [[ToString]] which is what you actually use
  149. # [21:32] <timeless> hrm
  150. # [21:32] <timeless> all i know is what you see in the examples i pasted
  151. # [21:32] <timeless> where something definitely fails :)
  152. # [22:24] * Quits: mjs (mjs@69.181.42.194) (Quit: mjs)
  153. # Session Close: Wed Sep 17 00:00:00 2008

The end :)