Re: [webrtc-pc] Use [SameObject] for the FrozenArray<T> attributes that never change

There are two paths I guess:

1. getFingerprints() which returns mutable stuff
2. Do what the Notifications spec does and freeze the dictionaries too. This is becoming a common pattern and maybe we should be uplifting it to Web IDL. Actually the notifications spec does this wrong; it implies returning a new frozen array each time. Anyway, previous general discussion at https://www.w3.org/Bugs/Public/show_bug.cgi?id=29004

-- 
GitHub Notification of comment by domenic
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1138#issuecomment-296791566 using your GitHub account

Received on Monday, 24 April 2017 19:04:20 UTC