- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 14 Jul 2014 17:12:05 -0700
- To: Domenic Denicola <domenic@domenicdenicola.com>
- Cc: Brian Birtles <bbirtles@mozilla.com>, "public-fx@w3.org" <public-fx@w3.org>, Cameron McCormack <cam@mcc.id.au>, Boris Zbarsky <bzbarsky@mit.edu>
On Mon, Jul 14, 2014 at 1:44 PM, Domenic Denicola <domenic@domenicdenicola.com> wrote: >> I've gone with a method for getComputedTiming since we're returning a dictionary. (Is that right? Can't use a dictionary as an attribute right?) > > This is currently true in WebIDL, but is a dumb limitation that we are exploring ways of fixing. In fact there's a rather lively discussion going on over on the web crypto list in this regard. Trying to bypass it requires thinking through a few tricky things, though; we hope to eventually make it easy, but for now we are still struggling. In your case is likely not worth it for just one method; in web crypto's case it is worth diving into because it avoids a pretty bad alternative. But if you're interested anyway, let me know and we can explore that. I'm currently using a dictionary for an attribute in the CSS Color spec, too: <http://dev.w3.org/csswg/css-color/#api-RGBColor> We should figure out what to do about this. ~TJ
Received on Tuesday, 15 July 2014 00:12:52 UTC