- From: <bugzilla@jessica.w3.org>
- Date: Fri, 19 Sep 2014 18:39:01 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26372 --- Comment #25 from Boris Zbarsky <bzbarsky@mit.edu> --- > Although not currently in WebIDL, it sounds like it will be added soon There's not really anything Web IDL can do with [Observable] (other than helpfully annotating which things should be). The important part is JS engine support for Object.observe and the actual prose that defines the attribute in question creating observer records as needed. > I could be wrong, but it doesn't appear > appropriate to make the entire MediaKeySession object observable when we really > want to monitor elements of only one of its properties. There is no such thing as an "observable object". The thing that can be observed is an (object, property name) pair. It sounds like this case if falling under bug 23682 comment 0 item B. The value of the property would be a JS array object. If the value is supposed to change, the underlying implementation would create a new JS array object, set it, and send the corresponding change notification as needed. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Friday, 19 September 2014 18:39:03 UTC