Skip to content

Use [Exposed=Window] #438

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
Sep 19, 2017
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
24 changes: 12 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ <h3>
[SecureContext, SameObject] readonly attribute Presentation presentation;
};

[SecureContext]
[SecureContext, Exposed=Window]
interface Presentation {
};

Expand Down Expand Up @@ -1107,9 +1107,9 @@ <h3>
Interface <dfn>PresentationRequest</dfn>
</h3>
<pre class="idl">
[SecureContext,
Constructor(USVString url),
Constructor(sequence&lt;USVString&gt; urls)]
[Constructor(USVString url),
Constructor(sequence&lt;USVString&gt; urls),
SecureContext, Exposed=Window]
interface PresentationRequest : EventTarget {
Promise&lt;PresentationConnection&gt; start();
Promise&lt;PresentationConnection&gt; reconnect(USVString presentationId);
Expand Down Expand Up @@ -1629,7 +1629,7 @@ <h3>
Interface <dfn>PresentationAvailability</dfn>
</h3>
<pre class="idl">
[SecureContext]
[SecureContext, Exposed=Window]
interface PresentationAvailability : EventTarget {
readonly attribute boolean value;

Expand Down Expand Up @@ -1955,8 +1955,8 @@ <h4>
Interface <dfn>PresentationConnectionAvailableEvent</dfn>
</h4>
<pre class="idl">
[SecureContext,
Constructor(DOMString type, PresentationConnectionAvailableEventInit eventInitDict)]
[Constructor(DOMString type, PresentationConnectionAvailableEventInit eventInitDict),
SecureContext, Exposed=Window]
interface PresentationConnectionAvailableEvent : Event {
[SameObject] readonly attribute PresentationConnection connection;
};
Expand Down Expand Up @@ -2027,7 +2027,7 @@ <h3>
enum PresentationConnectionState { "connecting", "connected", "closed", "terminated" };
enum BinaryType { "blob", "arraybuffer" };

[SecureContext]
[SecureContext, Exposed=Window]
interface PresentationConnection : EventTarget {
readonly attribute USVString id;
readonly attribute USVString url;
Expand Down Expand Up @@ -2396,8 +2396,8 @@ <h4>
<pre class="idl">
enum PresentationConnectionCloseReason { "error", "closed", "wentaway" };

[SecureContext,
Constructor(DOMString type, PresentationConnectionCloseEventInit eventInitDict)]
[Constructor(DOMString type, PresentationConnectionCloseEventInit eventInitDict),
SecureContext, Exposed=Window]
interface PresentationConnectionCloseEvent : Event {
readonly attribute PresentationConnectionCloseReason reason;
readonly attribute DOMString message;
Expand Down Expand Up @@ -2802,7 +2802,7 @@ <h3>
Interface <dfn>PresentationReceiver</dfn>
</h3>
<pre class="idl">
[SecureContext]
[SecureContext, Exposed=Window]
interface PresentationReceiver {
readonly attribute Promise&lt;PresentationConnectionList&gt; connectionList;
};
Expand Down Expand Up @@ -2968,7 +2968,7 @@ <h3>
Interface <dfn>PresentationConnectionList</dfn>
</h3>
<pre class="idl">
[SecureContext]
[SecureContext, Exposed=Window]
interface PresentationConnectionList : EventTarget {
readonly attribute FrozenArray&lt;PresentationConnection&gt; connections;
attribute EventHandler onconnectionavailable;
Expand Down