Skip to content

Rename PresentationConnectionClosedReason to PresentationConnectionCloseReason #393

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

Merged
merged 1 commit into from
Dec 16, 2016
Merged
Changes from all commits
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
32 changes: 16 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,7 @@ <h4>
</li>
<li>If the next step fails, abort all remaining steps and <a>close
the presentation connection</a> <var>S</var> with <a for=
"PresentationConnectionClosedReason">error</a> as
"PresentationConnectionCloseReason">error</a> as
<var>closeReason</var>, and a human readable message describing the
failure as <var>closeMessage</var>.
</li>
Expand Down Expand Up @@ -1971,7 +1971,7 @@ <h3>
When the <code><dfn>close</dfn>()</code> method is called on a
<a>PresentationConnection</a> <var>S</var>, the <a>user agent</a>
MUST <a>start closing the presentation connection</a> <var>S</var>
with <a for="PresentationConnectionClosedReason">closed</a> as
with <a for="PresentationConnectionCloseReason">closed</a> as
<var>closeReason</var> and an empty message as
<var>closeMessage</var>.
</p>
Expand Down Expand Up @@ -2020,16 +2020,16 @@ <h3>
or <a for="PresentationConnectionState">connected</a>, the <a>user
agent</a> SHOULD <a>start closing the presentation connection</a>
<var>S</var> with <a for=
"PresentationConnectionClosedReason">wentaway</a> as
"PresentationConnectionCloseReason">wentaway</a> as
<var>closeReason</var> and an empty <var>closeMessage</var>.
</p>
<p>
If the <a>user agent</a> receives a signal from the <a>destination
browsing context</a> that a <a>PresentationConnection</a>
<var>S</var> is to be closed, it SHOULD <a>close the presentation
connection</a> <var>S</var> with <a for=
"PresentationConnectionClosedReason">closed</a> or <a for=
"PresentationConnectionClosedReason">wentaway</a> as
"PresentationConnectionCloseReason">closed</a> or <a for=
"PresentationConnectionCloseReason">wentaway</a> as
<var>closeReason</var> and an empty <var>closeMessage</var>.
</p>
</div>
Expand Down Expand Up @@ -2079,7 +2079,7 @@ <h4>
</li>
<li>If the connection cannot be completed, <a>close the
presentation connection</a> <var>S</var> with <a for=
"PresentationConnectionClosedReason">error</a> as
"PresentationConnectionCloseReason">error</a> as
<var>closeReason</var>, and a human readable message describing the
failure as <var>closeMessage</var>.
</li>
Expand Down Expand Up @@ -2155,7 +2155,7 @@ <h4>
<li>If the previous step encounters an unrecoverable error, then
abruptly <a>close the presentation connection</a>
<var>presentationConnection</var> with <a for=
"PresentationConnectionClosedReason">error</a> as
"PresentationConnectionCloseReason">error</a> as
<var>closeReason</var>, and a <var>closeMessage</var> describing
the error encountered.
</li>
Expand Down Expand Up @@ -2261,7 +2261,7 @@ <h4>
<a data-lt="receive-algorithm">receiving a message</a> through
<var>presentationConnection</var>, it SHOULD abruptly <a>close the
presentation connection</a> <var>presentationConnection</var> with
<a for="PresentationConnectionClosedReason">error</a> as
<a for="PresentationConnectionCloseReason">error</a> as
<var>closeReason</var>, and a human readable description of the
error encountered as <var>closeMessage</var>.
</p>
Expand All @@ -2271,16 +2271,16 @@ <h4>
Interface <code>PresentationConnectionCloseEvent</code>
</h4>
<pre class="idl">
enum PresentationConnectionClosedReason { "error", "closed", "wentaway" };
enum PresentationConnectionCloseReason { "error", "closed", "wentaway" };

[Constructor(DOMString type, PresentationConnectionCloseEventInit eventInitDict)]
interface PresentationConnectionCloseEvent : Event {
readonly attribute PresentationConnectionClosedReason reason;
readonly attribute PresentationConnectionCloseReason reason;
readonly attribute DOMString message;
};

dictionary PresentationConnectionCloseEventInit : EventInit {
required PresentationConnectionClosedReason reason;
required PresentationConnectionCloseReason reason;
DOMString message = "";
};

Expand All @@ -2293,7 +2293,7 @@ <h4>
<code>reason</code> attribute provides the reason why the
connection was closed:
</p>
<ul dfn-for="PresentationConnectionClosedReason">
<ul dfn-for="PresentationConnectionCloseReason">
<li>
<dfn>error</dfn> means that the mechanism for connecting or
communicating with a presentation entered an unrecoverable error.
Expand All @@ -2312,7 +2312,7 @@ <h4>
</ul>
<p>
When the <code>reason</code> attribute is <a for=
"PresentationConnectionClosedReason">error</a>, the user agent
"PresentationConnectionCloseReason">error</a>, the user agent
SHOULD set the error message to a human readable description of how
the communication channel encountered an error.
</p>
Expand All @@ -2336,7 +2336,7 @@ <h4>
</dd>
<dd>
<var>closeReason</var>, the
<a>PresentationConnectionClosedReason</a> describing why the
<a>PresentationConnectionCloseReason</a> describing why the
connection is to be closed
</dd>
<dd>
Expand Down Expand Up @@ -2364,7 +2364,7 @@ <h4>
proceeding to the next step.
</li>
<li>If <var>closeReason</var> is not <a for=
"PresentationConnectionClosedReason">wentaway</a>, then locally run
"PresentationConnectionCloseReason">wentaway</a>, then locally run
the steps to <a>close the presentation connection</a> with
<var>presentationConnection</var>, <var>closeReason</var>, and
<var>closeMessage</var>.
Expand All @@ -2385,7 +2385,7 @@ <h4>
</dd>
<dd>
<var>closeReason</var>, the
<a>PresentationConnectionClosedReason</a> describing why the
<a>PresentationConnectionCloseReason</a> describing why the
connection is to be closed
</dd>
<dd>
Expand Down