/irc-logs / w3c / #webapps / 2008-09-16 / end
Options:
- # Session Start: Tue Sep 16 00:00:00 2008
- # Session Ident: #webapps
- # [00:20] * Quits: aroben (aroben@71.58.76.69) (Connection reset by peer)
- # [00:24] * Joins: aroben (aroben@71.58.76.69)
- # [00:26] * Quits: aroben (aroben@71.58.76.69) (Connection reset by peer)
- # [00:26] * Joins: aroben (aroben@71.58.76.69)
- # [00:35] * Quits: aroben (aroben@71.58.76.69) (Connection reset by peer)
- # [01:00] * Quits: mjs (mjs@69.181.42.194) (Quit: mjs)
- # [02:01] * Joins: MikeSmith (MikeSmith@mcclure.w3.org)
- # [02:33] * Joins: mjs (mjs@17.203.15.236)
- # [03:33] * Joins: harryli (kcome@222.95.27.6)
- # [03:50] * Joins: mjs_ (mjs@17.203.15.236)
- # [03:50] * Quits: mjs (mjs@17.203.15.236) (Connection reset by peer)
- # [04:15] * Joins: mjs (mjs@17.203.15.236)
- # [04:15] * Quits: mjs_ (mjs@17.203.15.236) (Connection reset by peer)
- # [05:26] * Joins: mjs_ (mjs@17.203.15.236)
- # [05:26] * Quits: mjs (mjs@17.203.15.236) (Connection reset by peer)
- # [05:44] * Quits: mjs_ (mjs@17.203.15.236) (Quit: mjs_)
- # [06:21] * Joins: mjs (mjs@17.203.15.236)
- # [06:36] * Quits: mjs (mjs@17.203.15.236) (Ping timeout)
- # [07:11] * Joins: mjs (mjs@17.203.15.236)
- # [07:42] * Quits: mjs (mjs@17.203.15.236) (Quit: mjs)
- # [07:56] * Joins: mjs (mjs@17.244.16.197)
- # [08:14] * Quits: mjs (mjs@17.244.16.197) (Quit: mjs)
- # [08:54] * Joins: mjs (mjs@17.203.15.239)
- # [09:15] * Quits: mjs (mjs@17.203.15.239) (Quit: mjs)
- # [10:02] * Joins: tlr (tlr@128.30.52.30)
- # [10:04] * Quits: tlr (tlr@128.30.52.30) (Quit: tlr)
- # [10:04] * Joins: tlr (tlr@128.30.52.30)
- # [10:11] * Joins: arve (arve@213.236.208.22)
- # [10:13] * Joins: mjs (mjs@69.181.42.194)
- # [10:19] * Quits: arve (arve@213.236.208.22) (Quit: Leaving)
- # [10:22] * Quits: Lachy (Lachlan@85.196.122.246) (Quit: Leaving)
- # [10:29] * Joins: arve (arve@213.236.208.22)
- # [10:35] * Joins: Lachy (Lachlan@85.196.122.246)
- # [10:48] * Quits: arve (arve@213.236.208.22) (Client exited)
- # [10:53] * Quits: mjs (mjs@69.181.42.194) (Quit: mjs)
- # [10:55] * Joins: Lachy_ (Lachlan@85.196.122.246)
- # [10:55] * Quits: Lachy (Lachlan@85.196.122.246) (Connection reset by peer)
- # [11:09] * Joins: arve (arve@213.236.208.22)
- # [11:12] * Quits: Lachy_ (Lachlan@85.196.122.246) (Quit: This computer has gone to sleep)
- # [11:14] * Joins: mjs (mjs@69.181.42.194)
- # [11:20] * Quits: tlr (tlr@128.30.52.30) (Quit: tlr)
- # [11:25] * Joins: Lachy (Lachlan@213.236.208.22)
- # [11:29] * Quits: smaug (chatzilla@82.181.141.13) (Quit: ChatZilla 0.9.83 [Firefox 3.1b1pre/20080914212630])
- # [11:30] * arve thinks Dominique has some valid points
- # [11:34] * Joins: smaug (chatzilla@82.181.141.13)
- # [12:01] * Joins: tlr (tlr@128.30.52.30)
- # [12:25] * Quits: tlr (tlr@128.30.52.30) (Quit: tlr)
- # [12:25] * Joins: tlr (tlr@128.30.52.30)
- # [12:36] * Joins: mjs_ (mjs@69.181.42.194)
- # [12:37] * Quits: mjs_ (mjs@69.181.42.194) (Connection reset by peer)
- # [12:37] * Quits: mjs (mjs@69.181.42.194) (Connection reset by peer)
- # [12:37] * Joins: mjs (mjs@69.181.42.194)
- # [12:44] * Quits: harryli (kcome@222.95.27.6) (Ping timeout)
- # [12:47] * Quits: arve (arve@213.236.208.22) (Ping timeout)
- # [12:59] * Joins: arve (arve@213.236.208.22)
- # [13:07] * Quits: arve (arve@213.236.208.22) (Client exited)
- # [13:35] * Joins: ArtB (ce846302@128.30.52.43)
- # [13:48] * Joins: arve (arve@213.236.208.22)
- # [14:28] <arve> timeless | timelyx : yt?
- # [15:13] * Quits: ArtB (ce846302@128.30.52.43) (Quit: CGI:IRC)
- # [15:14] * Joins: ArtB (c0646811@128.30.52.43)
- # [15:41] * Quits: Lachy (Lachlan@213.236.208.22) (Client exited)
- # [15:41] * Joins: Lachy (Lachlan@213.236.208.22)
- # [15:47] <timeless> kinda
- # [15:47] <timeless> i'm trying to fill in paperwork for my trip to turin
- # [15:47] <timeless> and tomorrow i'm traveling to berlin
- # [15:49] <arve> just wondering whether I should have setPreference(key, value) implicitly expect an UA to call value.toString
- # [15:50] <timeless> um
- # [15:50] <timeless> we're not expecting untrusted objects, right? :)
- # [15:51] <timeless> does the api say setPreference(String key, String value) ?
- # [15:51] <arve> yes
- # [15:51] <timeless> or are you listing them as somewhat typeless
- # [15:51] <arve> no, as DOMString
- # [15:51] <arve> and I've specified that it throws
- # [15:51] <timeless> if it's listed as String, then shouldn't webidl define the coercions for us
- # [15:52] * timeless would think that .setPreference(go, bob) should result in go and bob being coerced toString
- # [15:55] <anne> yeah, Web IDL defines that
- # [15:55] <anne> and does indeed do the toString() stuff
- # [16:04] * Joins: harryli (kcome@222.95.27.6)
- # [16:05] <arve> Editorial note
- # [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".
- # [16:06] * Quits: Dashiva (noone@80.203.127.196) (Quit: Dashiva)
- # [16:06] <arve> problem is, what happens when the object doesn't have a meaningful toString()?
- # [16:10] <anne> whether it's meaningful is irrelevant
- # [16:10] <arve> anne: even when toString for instance returns the empty string? setPreference("","foo")
- # [16:11] <mjs> every JavaScript value has a toString conversion (afaik anyway)
- # [16:11] <mjs> worst that can happen is it can throw an exception while converting
- # [16:11] <mjs> anything that converts to empty string should be treated same as empty string would be
- # [16:12] <mjs> which might be an error; not sure what API you specifically are talking about here
- # [16:13] <arve> I shall have to specify it as such, then
- # [16:13] <arve> (Widgets API)
- # [16:34] * Joins: aroben (aroben@71.58.76.69)
- # [16:58] * Quits: aroben (aroben@71.58.76.69) (Connection reset by peer)
- # [16:59] * Quits: ArtB (c0646811@128.30.52.43) (Quit: CGI:IRC)
- # [17:00] * Quits: harryli (kcome@222.95.27.6) (Ping timeout)
- # [17:00] * Joins: aroben (aroben@71.58.76.69)
- # [17:04] <timeless> mjs: technically you can have an object which has no toString
- # [17:04] <timeless> or for which toString throws
- # [17:05] <timeless> js> a={};a.toString=null;""+a
- # [17:05] <timeless> typein:1: TypeError: can't convert a to primitive type
- # [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)
- # [17:07] <timeless> js> a={};a.toString=function(){throw null};""+a
- # [17:07] <timeless> uncaught exception: null
- # [17:07] <anne> Web IDL should just state that such exceptions are to be re-raised
- # [17:08] <timeless> js> a={};a.toString=function(){throw new Exception};""+a
- # [17:08] <timeless> typein:2: ReferenceError: Exception is not defined
- # [17:08] <timeless> js> a={};a.toString=function(){throw new Error};""+a
- # [17:08] <timeless> typein:3:
- # [17:08] <timeless> anne: something like that
- # [17:08] <timeless> preferably checking w/ impl people to make sure that the proper terminology is used
- # [17:08] <timeless> i think "propogated" is what i'd use
- # [17:09] <timeless> js> (function(){})(({toString:function(){throw 1}}),({toString:function(){throw2}}))
- # [17:09] <timeless> err
- # [17:09] <timeless> js> (function(){})(({toString:function(){throw 1}}),({toString:function(){throw 2}}))
- # [17:10] <timeless> not exactly the most useful example, but you have to be careful
- # [17:10] <timeless> assuming that the first (empty) function was actually a WebIDL function
- # [17:10] <timeless> and that it defined two arguments of type DOMString
- # [17:10] <timeless> you'd want to make sure that you understood which of the two exceptions actually reached the caller
- # [17:11] <timeless> and whether the other exception was constructed at all
- # [17:11] <timeless> personally w/o reading enough specs, i'd assume to get (1) and have the (2) never be evaluated ..
- # [17:17] * Quits: Lachy (Lachlan@213.236.208.22) (Quit: This computer has gone to sleep)
- # [17:25] * Joins: harryli (kcome@58.217.138.167)
- # [17:37] * Quits: aroben (aroben@71.58.76.69) (Connection reset by peer)
- # [17:41] * Joins: aroben (aroben@71.58.76.69)
- # [17:44] * Quits: aroben (aroben@71.58.76.69) (Connection reset by peer)
- # [17:46] * Joins: aroben (aroben@71.58.76.69)
- # [17:50] * Joins: Lachy (Lachlan@85.196.122.246)
- # [18:53] * Quits: arve (arve@213.236.208.22) (Quit: Leaving)
- # [19:12] * Quits: harryli (kcome@58.217.138.167) (Ping timeout)
- # [20:14] * timeless sighs
- # [20:15] <timeless> did i miss the registration deadlines?
- # [20:15] <tlr> for TPAC?
- # [20:15] <tlr> nope
- # [20:15] <timeless> yes
- # [20:15] <timeless> when is the deadline?
- # [20:16] <tlr> 28 September
- # [20:16] <tlr> hotel rate available till 20 September, I think
- # [20:16] <tlr> http://www.w3.org/2002/09/wbs/35125/TPAC2008/
- # [20:16] <timeless> ok
- # [20:17] <tlr> and: http://lists.w3.org/Archives/Member/chairs/2008JulSep/0078.html
- # [20:17] <tlr> (member confidential, but I think you've got member access, right)
- # [20:17] <timeless> yep
- # [20:18] <tlr> methinks that should have been copied to a public archive anyway *sigh*
- # [20:18] <timeless> heh
- # [20:26] * Quits: tlr (tlr@128.30.52.30) (Quit: tlr)
- # [21:09] <mjs> timeless: it can have no toString but it still has [[ToString]] which is what you actually use
- # [21:32] <timeless> hrm
- # [21:32] <timeless> all i know is what you see in the examples i pasted
- # [21:32] <timeless> where something definitely fails :)
- # [22:24] * Quits: mjs (mjs@69.181.42.194) (Quit: mjs)
- # Session Close: Wed Sep 17 00:00:00 2008
The end :)