Skip to content

Commit 72cfca6

Browse files
committed
Use [Exposed=Window]
whatwg/webidl#365 Fix #437
1 parent 2ec8ffa commit 72cfca6

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

‎index.html‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ <h3>
10151015
[SecureContext, SameObject] readonly attribute Presentation presentation;
10161016
};
10171017

1018-
[SecureContext]
1018+
[SecureContext, Exposed=Window]
10191019
interface Presentation {
10201020
};
10211021

@@ -1107,9 +1107,9 @@ <h3>
11071107
Interface <dfn>PresentationRequest</dfn>
11081108
</h3>
11091109
<pre class="idl">
1110-
[SecureContext,
1111-
Constructor(USVString url),
1112-
Constructor(sequence&lt;USVString&gt; urls)]
1110+
[Constructor(USVString url),
1111+
Constructor(sequence&lt;USVString&gt; urls),
1112+
SecureContext, Exposed=Window]
11131113
interface PresentationRequest : EventTarget {
11141114
Promise&lt;PresentationConnection&gt; start();
11151115
Promise&lt;PresentationConnection&gt; reconnect(USVString presentationId);
@@ -1629,7 +1629,7 @@ <h3>
16291629
Interface <dfn>PresentationAvailability</dfn>
16301630
</h3>
16311631
<pre class="idl">
1632-
[SecureContext]
1632+
[SecureContext, Exposed=Window]
16331633
interface PresentationAvailability : EventTarget {
16341634
readonly attribute boolean value;
16351635

@@ -1955,8 +1955,8 @@ <h4>
19551955
Interface <dfn>PresentationConnectionAvailableEvent</dfn>
19561956
</h4>
19571957
<pre class="idl">
1958-
[SecureContext,
1959-
Constructor(DOMString type, PresentationConnectionAvailableEventInit eventInitDict)]
1958+
[Constructor(DOMString type, PresentationConnectionAvailableEventInit eventInitDict),
1959+
SecureContext, Exposed=Window]
19601960
interface PresentationConnectionAvailableEvent : Event {
19611961
[SameObject] readonly attribute PresentationConnection connection;
19621962
};
@@ -2027,7 +2027,7 @@ <h3>
20272027
enum PresentationConnectionState { "connecting", "connected", "closed", "terminated" };
20282028
enum BinaryType { "blob", "arraybuffer" };
20292029

2030-
[SecureContext]
2030+
[SecureContext, Exposed=Window]
20312031
interface PresentationConnection : EventTarget {
20322032
readonly attribute USVString id;
20332033
readonly attribute USVString url;
@@ -2396,8 +2396,8 @@ <h4>
23962396
<pre class="idl">
23972397
enum PresentationConnectionCloseReason { "error", "closed", "wentaway" };
23982398

2399-
[SecureContext,
2400-
Constructor(DOMString type, PresentationConnectionCloseEventInit eventInitDict)]
2399+
[Constructor(DOMString type, PresentationConnectionCloseEventInit eventInitDict),
2400+
SecureContext, Exposed=Window]
24012401
interface PresentationConnectionCloseEvent : Event {
24022402
readonly attribute PresentationConnectionCloseReason reason;
24032403
readonly attribute DOMString message;
@@ -2802,7 +2802,7 @@ <h3>
28022802
Interface <dfn>PresentationReceiver</dfn>
28032803
</h3>
28042804
<pre class="idl">
2805-
[SecureContext]
2805+
[SecureContext, Exposed=Window]
28062806
interface PresentationReceiver {
28072807
readonly attribute Promise&lt;PresentationConnectionList&gt; connectionList;
28082808
};
@@ -2968,7 +2968,7 @@ <h3>
29682968
Interface <dfn>PresentationConnectionList</dfn>
29692969
</h3>
29702970
<pre class="idl">
2971-
[SecureContext]
2971+
[SecureContext, Exposed=Window]
29722972
interface PresentationConnectionList : EventTarget {
29732973
readonly attribute FrozenArray&lt;PresentationConnection&gt; connections;
29742974
attribute EventHandler onconnectionavailable;

0 commit comments

Comments
 (0)