W3C home > Mailing lists > Public > public-html-media@w3.org > January 2014

[Bug 24381] New: HTMLMediaElement.setMediaKeys() appears superfluous

From: <bugzilla@jessica.w3.org>
Date: Fri, 24 Jan 2014 09:50:40 +0000
To: public-html-media@w3.org
Message-ID: <bug-24381-5436@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 15:48:44 UTC