Re: [heycam/webidl] Can FrozenArray<T> be used for a mutable attribute? (#265)

> I can't see anything in Web IDL that explicitly disallows it, but also don't understand what would happen if assigning to artwork.

>From [the spec](https://wicg.github.io/mediasession/#dom-mediametadata-artwork), it seems to set an internal slot when setting, which seems fine to me. The call to `SetIntegrityLevel` in step two of the ["create a frozen array" abstract operation](https://heycam.github.io/webidl/#dfn-create-frozen-array), freezes the properties of the array, not the `artwork` attribute of the object implementing the  `MediaMetadata` interface.

@domenic can you confirm?


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/265#issuecomment-272172989

Received on Thursday, 12 January 2017 14:14:15 UTC