403
403
</ li >
404
404
< li >
405
405
< a href =
406
- "https://html.spec.whatwg.org/multipage/system-state.html#navigator "> < dfn >
407
- < code > Navigator</ code > </ dfn > </ a >
406
+ "https://html.spec.whatwg.org/multipage/system-state.html#navigator ">
407
+ < dfn > < code > Navigator</ code > </ dfn > </ a >
408
408
</ li >
409
409
< li >
410
410
< dfn > < a href =
@@ -1219,19 +1219,17 @@ <h3>
1219
1219
Interface < dfn > PresentationRequest</ dfn >
1220
1220
</ h3 >
1221
1221
< pre class ="idl ">
1222
- [Constructor(USVString url),
1223
- Constructor(sequence<USVString> urls),
1224
- SecureContext, Exposed=Window]
1222
+ [SecureContext, Exposed=Window]
1225
1223
interface PresentationRequest : EventTarget {
1224
+ constructor(USVString url);
1225
+ constructor(sequence<USVString> urls);
1226
1226
Promise<PresentationConnection> start();
1227
1227
Promise<PresentationConnection> reconnect(USVString presentationId);
1228
1228
Promise<PresentationAvailability> getAvailability();
1229
1229
1230
1230
attribute EventHandler onconnectionavailable;
1231
1231
};
1232
-
1233
-
1234
- </ pre >
1232
+ </ pre >
1235
1233
< p >
1236
1234
A < a > < code > PresentationRequest</ code > </ a > object is associated with a
1237
1235
request to initiate or reconnect to a presentation made by a
@@ -2078,18 +2076,16 @@ <h4>
2078
2076
Interface < dfn > PresentationConnectionAvailableEvent</ dfn >
2079
2077
</ h4 >
2080
2078
< pre class ="idl ">
2081
- [Constructor(DOMString type, PresentationConnectionAvailableEventInit eventInitDict),
2082
- SecureContext, Exposed=Window]
2079
+ [SecureContext, Exposed=Window]
2083
2080
interface PresentationConnectionAvailableEvent : Event {
2081
+ constructor(DOMString type, PresentationConnectionAvailableEventInit eventInitDict);
2084
2082
[SameObject] readonly attribute PresentationConnection connection;
2085
2083
};
2086
2084
2087
2085
dictionary PresentationConnectionAvailableEventInit : EventInit {
2088
2086
required PresentationConnection connection;
2089
2087
};
2090
-
2091
-
2092
- </ pre >
2088
+ </ pre >
2093
2089
< p >
2094
2090
A < a > controlling user agent</ a > < a > fires</ a > a < a > trusted event</ a >
2095
2091
named < a data-link-for =
@@ -2527,9 +2523,9 @@ <h4>
2527
2523
< pre class ="idl ">
2528
2524
enum PresentationConnectionCloseReason { "error", "closed", "wentaway" };
2529
2525
2530
- [Constructor(DOMString type, PresentationConnectionCloseEventInit eventInitDict),
2531
- SecureContext, Exposed=Window]
2526
+ [SecureContext, Exposed=Window]
2532
2527
interface PresentationConnectionCloseEvent : Event {
2528
+ constructor(DOMString type, PresentationConnectionCloseEventInit eventInitDict);
2533
2529
readonly attribute PresentationConnectionCloseReason reason;
2534
2530
readonly attribute DOMString message;
2535
2531
};
@@ -2538,9 +2534,7 @@ <h4>
2538
2534
required PresentationConnectionCloseReason reason;
2539
2535
DOMString message = "";
2540
2536
};
2541
-
2542
-
2543
- </ pre >
2537
+ </ pre >
2544
2538
< p >
2545
2539
A < a > PresentationConnectionCloseEvent</ a > is fired when a
2546
2540
< a > presentation connection</ a > enters a < a data-link-for =
0 commit comments