Skip to content

Commit

Permalink
Merge pull request #306 from burnburn/constrainablelimitation
Browse files Browse the repository at this point in the history
Explain WebIDL limitation for ConstrainablePattern
  • Loading branch information
adam-be committed Jan 28, 2016
2 parents 09e4bf7 + 163ded2 commit 2d487a0
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions getusermedia.html
Expand Up @@ -3086,13 +3086,14 @@ <h2>Constrainable Pattern</h2>
the <code><a>getSettings()</a></code> accessor.</p>
<section>
<h2>Interface Definition</h2>
<p>Due to the limitations of the interface definition language used in
this specification, it is not possible for other interfaces to inherit or
implement ConstrainablePattern. Therefore the WebIDL definitions given
are only templates to be copied. Each interface that wishes to make use
of the functionality defined here will have to provide its own copy of
the WebIDL for the functions and interfaces given here. However it can
refer to the semantics defined here, which will not change. See <a href=
<p>Although this specification formally defines ConstrainablePattern as a
WebIDL interface, it is actually a template or pattern for other
interfaces and cannot be inherited directly since the return values of
the methods need to be extended, something WebIDL cannot do. Thus, each
interface that wishes to make use of the functionality defined here will
have to provide its own copy of the WebIDL for the functions and
interfaces given here. However it can refer to the semantics defined
here, which will not change. See <a href=
"#media-stream-track-interface-definition">MediaStreamTrack Interface
Definition</a> for an example of this.</p>
<p>When the User Agent is no longer able to satisfy the
Expand Down

0 comments on commit 2d487a0

Please sign in to comment.