Skip to content

Commit

Permalink
Merge pull request #492 from w3c/idl2
Browse files Browse the repository at this point in the history
added contiguous webidl
  • Loading branch information
Marcos Caceres committed Sep 11, 2015
2 parents 1e2d05b + 0ad0603 commit 1c881cd
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions examples/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,33 @@ <h2>Clash here</h2>
<dt>a</dt><dd>a</dd>
</dl>
</section>
<section>
<h2>Contiguous WebIDL</h2>
<pre class="idl">
interface MediaStreamTrack : EventTarget {
readonly attribute DOMString kind;
readonly attribute DOMString id;
readonly attribute DOMString label;
attribute boolean enabled;
readonly attribute boolean muted;
attribute EventHandler onmute;
attribute EventHandler onunmute;
readonly attribute boolean _readonly;
readonly attribute boolean remote;
readonly attribute MediaStreamTrackState readyState;
attribute EventHandler onstarted;
attribute EventHandler onended;
static void getSources (SourceInfoCallback resultCallback);
MediaTrackConstraints? constraints ();
MediaSourceStates states ();
(AllVideoCapabilities or AllAudioCapabilities) capabilities ();
void applyConstraints (MediaTrackConstraints constraints);
attribute EventHandler onoverconstrained;
MediaStreamTrack clone ();
void stop ();
};
</pre>
</section>
<section>
<h2>Type Unions</h2>
<section>
Expand Down

0 comments on commit 1c881cd

Please sign in to comment.