[heycam/webidl] Add a frozen record type? (#469)

WebAssembly module instantiation creates an exports object which is frozen. This is not a frozenarray, it's more like a frozen record, since the keys are arbitrary strings. It seems like if I declare the WebIDL type to be a record, I can't just call  SetIntegrityLevel(array, "frozen") in my own spec, since I don't have access to the object after it is converted by WebIDL. Would it make sense to define a new type here?

-- 
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/469

Received on Tuesday, 24 October 2017 21:32:43 UTC