Skip to content

Issue 387: Need to make sure we have a display list for start(). #390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Create a temporary object.
  • Loading branch information
markafoltz committed Dec 3, 2016
commit fdc52ac93588165dc91c976ed8bdb6c3511a72ea
31 changes: 23 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1129,11 +1129,20 @@ <h4>
<li>Return <var>P</var>, but continue running these steps <a>in
parallel</a>.
</li>
<li>If the <a>user agent</a> is not <a data-lt=
"monitor the list of available presentation displays">monitoring
the list of available presentation displays</a>, run the steps to
<a>monitor the list of available presentation displays</a> <a>in
parallel</a>.
<li>Let <var>availabilityObj</var> be <code>null</code>.</li>
<li>If the <a>presentation display availability</a>
for <var>presentationRequest</var> is <code>null</code>, run the
following substeps <a>in parallel</a>.
<ol>
<li>Set the <a>presentation display availability</a>
for <var>presentationRequest</var> to a newly
created <code>PresentationAvailability</code> object, and
let <var>availabilityObj</var> be that object.</li>
<li>Create a tuple (<var>availabilityObj</var>, <var>presentationUrls</var>) and
add it to the <a>set of presentation availability objects</a>.
</li>
<li>Run the steps to continuously <a>monitor the list of available presentation displays</a>.</li>
</ol>
</li>
<li>Request user permission for the use of a <a>presentation
display</a> and selection of one presentation display.
Expand All @@ -1154,20 +1163,26 @@ <h4>
<a>Reject</a> <var>P</var> with a <a>NotFoundError</a>
exception.
</li>
<li>Abort all remaining steps.
<li>Go to the step named <var>Cleanup</var>.
</li>
</ol>
</li>
<li>If the user <em>denies permission</em> to use a display, reject
<var>P</var> with an <a>NotAllowedError</a> exception, and abort
all remaining steps.
<var>P</var> with an <a>NotAllowedError</a> exception, and go to the step named <var>Cleanup</var>.
</li>
<li>Otherwise, the user <em>grants permission</em> to use a
display; let <var>D</var> be that display.
</li>
<li>Run the steps to <a>start a presentation connection</a> with
<var>presentationRequest</var>, <var>D</var>, and <var>P</var>.
</li>
<li><var>Cleanup</var>: If <var>availabilityObj</var> is not <code>null</code>, run the following substeps:
<ol>
<li>Remove the tuple (<var>availabilityObj</var>, <var>presentationUrls</var>) from the <a>set of presentation availability objects</a>.</li>
<li>Set the <a>presentation display availability</a>
for <var>presentationRequest</var> to <code>null</code>.</li>
</ol>
</li>
</ol>
<div class="note">
The details of implementing the permission request and display
Expand Down