Skip to content

Commit b3ad7e5

Browse files
authored
Merge pull request #438 from w3c/webidl-exposed
Use [Exposed=Window]
2 parents b85cd91 + 72cfca6 commit b3ad7e5

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

index.html

+12-12
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ <h3>
10201020
[SecureContext, SameObject] readonly attribute Presentation presentation;
10211021
};
10221022

1023-
[SecureContext]
1023+
[SecureContext, Exposed=Window]
10241024
interface Presentation {
10251025
};
10261026

@@ -1112,9 +1112,9 @@ <h3>
11121112
Interface <dfn>PresentationRequest</dfn>
11131113
</h3>
11141114
<pre class="idl">
1115-
[SecureContext,
1116-
Constructor(USVString url),
1117-
Constructor(sequence&lt;USVString&gt; urls)]
1115+
[Constructor(USVString url),
1116+
Constructor(sequence&lt;USVString&gt; urls),
1117+
SecureContext, Exposed=Window]
11181118
interface PresentationRequest : EventTarget {
11191119
Promise&lt;PresentationConnection&gt; start();
11201120
Promise&lt;PresentationConnection&gt; reconnect(USVString presentationId);
@@ -1634,7 +1634,7 @@ <h3>
16341634
Interface <dfn>PresentationAvailability</dfn>
16351635
</h3>
16361636
<pre class="idl">
1637-
[SecureContext]
1637+
[SecureContext, Exposed=Window]
16381638
interface PresentationAvailability : EventTarget {
16391639
readonly attribute boolean value;
16401640

@@ -1960,8 +1960,8 @@ <h4>
19601960
Interface <dfn>PresentationConnectionAvailableEvent</dfn>
19611961
</h4>
19621962
<pre class="idl">
1963-
[SecureContext,
1964-
Constructor(DOMString type, PresentationConnectionAvailableEventInit eventInitDict)]
1963+
[Constructor(DOMString type, PresentationConnectionAvailableEventInit eventInitDict),
1964+
SecureContext, Exposed=Window]
19651965
interface PresentationConnectionAvailableEvent : Event {
19661966
[SameObject] readonly attribute PresentationConnection connection;
19671967
};
@@ -2032,7 +2032,7 @@ <h3>
20322032
enum PresentationConnectionState { "connecting", "connected", "closed", "terminated" };
20332033
enum BinaryType { "blob", "arraybuffer" };
20342034

2035-
[SecureContext]
2035+
[SecureContext, Exposed=Window]
20362036
interface PresentationConnection : EventTarget {
20372037
readonly attribute USVString id;
20382038
readonly attribute USVString url;
@@ -2401,8 +2401,8 @@ <h4>
24012401
<pre class="idl">
24022402
enum PresentationConnectionCloseReason { "error", "closed", "wentaway" };
24032403

2404-
[SecureContext,
2405-
Constructor(DOMString type, PresentationConnectionCloseEventInit eventInitDict)]
2404+
[Constructor(DOMString type, PresentationConnectionCloseEventInit eventInitDict),
2405+
SecureContext, Exposed=Window]
24062406
interface PresentationConnectionCloseEvent : Event {
24072407
readonly attribute PresentationConnectionCloseReason reason;
24082408
readonly attribute DOMString message;
@@ -2807,7 +2807,7 @@ <h3>
28072807
Interface <dfn>PresentationReceiver</dfn>
28082808
</h3>
28092809
<pre class="idl">
2810-
[SecureContext]
2810+
[SecureContext, Exposed=Window]
28112811
interface PresentationReceiver {
28122812
readonly attribute Promise&lt;PresentationConnectionList&gt; connectionList;
28132813
};
@@ -2982,7 +2982,7 @@ <h3>
29822982
Interface <dfn>PresentationConnectionList</dfn>
29832983
</h3>
29842984
<pre class="idl">
2985-
[SecureContext]
2985+
[SecureContext, Exposed=Window]
29862986
interface PresentationConnectionList : EventTarget {
29872987
readonly attribute FrozenArray&lt;PresentationConnection&gt; connections;
29882988
attribute EventHandler onconnectionavailable;

0 commit comments

Comments
 (0)