W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2015

RE: [WebIDL] T[] migration

From: Domenic Denicola <d@domenic.me>
Date: Fri, 18 Dec 2015 16:20:55 +0000
To: Simon Pieters <simonp@opera.com>, "public-webapps@w3.org" <public-webapps@w3.org>, Boris Zbarsky <bzbarsky@mit.edu>
CC: Travis Leithead <travis.leithead@microsoft.com>
Message-ID: <CY1PR0501MB1369ABD6FE0375F48490118ADFE10@CY1PR0501MB1369.namprd05.prod.outlook.com>
From: Simon Pieters [mailto:simonp@opera.com] 

> Note that it requires liveness. Does that work for a frozen array?

Frozen array instances are frozen and cannot change. However, you can have the property that returns them start returning a new frozen array. The spec needs to track when these new instances are created.

> Maybe this particular API should be a method instead that returns a sequence<DOMString>?

That does seem potentially better... Either could work, I think?
Received on Friday, 18 December 2015 16:21:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:58 UTC