On Friday, October 16, 2015 at 3:12:05 PM UTC-4, Jonas Sicking wrote: > On Fri, Oct 16, 2015 at 11:44 AM, Boris Zbarsky <bzbar...@mit.edu> wrote: > > So if you want to have value type like behavior, use a value type; for now > > long long (in IDL terms; Number in JS terms) is good > > FWIW, when the problems with using Date objects in attributes were > raised with TC39, their recommendation after some debating was to do > the above. > > / Jonas
I've added this and other related guidance to https://w3ctag.github.io/design-principles/#times-and-dates, which might help as a reference for if/when this comes up again. (Suggested fixes or elaborations welcome.) I also opened https://github.com/heycam/webidl/issues/66 to see if we can make this more clear on the spec level. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform