- From: <bugzilla@jessica.w3.org>
- Date: Fri, 24 Jan 2014 09:50:40 +0000
- To: public-html-media@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24381 Bug ID: 24381 Summary: HTMLMediaElement.setMediaKeys() appears superfluous Product: HTML WG Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: Encrypted Media Extensions Assignee: adrianba@microsoft.com Reporter: philipj@opera.com QA Contact: public-html-bugzilla@w3.org CC: mike@w3.org, public-html-media@w3.org https://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#dom-setmediakeys The mediaKeys attribute could be made writable instead. That setting is not "trivial" or that it may throw an exception is not in itself reason to have a setter function, an IDL attribute setter can do the same thing. See HTMLMediaElement.controller for an analogous situation: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-media-controller Here the getter is trivial but the setter does all kinds of things. -- You are receiving this mail because: You are on the CC list for the bug.
Received on Friday, 24 January 2014 09:50:45 UTC