W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2014

Re: [WebIDL] Would it make sense to add annotations for "creates a new object each time" and "always returns the same object"?

From: Cameron McCormack <cam@mcc.id.au>
Date: Mon, 27 Jan 2014 14:00:02 -0800
Message-ID: <52E6D6E2.9050406@mcc.id.au>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: Jonas Sicking <jonas@sicking.cc>, Ojan Vafai <ojan@chromium.org>, Glenn Adams <glenn@skynav.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>
Boris Zbarsky wrote:
> Why is [SameObject] restricted to interface types? In particular, why
> does it not allow "object" return values, or IDL array return values?

Fair point:

https://github.com/heycam/webidl/commit/642d8b3f1599160154a600d98588e8ba63506d0a
Received on Monday, 27 January 2014 22:00:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:51 UTC