You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.
123
+
124
+
Throws a "DataCloneError" DOMException if transfer contains duplicate objects or port, or if message could not be cloned.
125
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
Copy file name to clipboardExpand all lines: src/DOMAPI.res
+52-42Lines changed: 52 additions & 42 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ open IndexedDBAPI
30
30
openWebCryptoAPI
31
31
openPerformanceAPI
32
32
openWebStorageAPI
33
+
openChannelMessagingAPI
33
34
34
35
typeshadowRootMode=
35
36
| @as("closed") Closed
@@ -143,6 +144,12 @@ type scrollLogicalPosition =
143
144
| @as("nearest") Nearest
144
145
| @as("start") Start
145
146
147
+
typeselectionMode=
148
+
| @as("end") End
149
+
| @as("preserve") Preserve
150
+
| @as("select") Select
151
+
| @as("start") Start
152
+
146
153
typeshareData= {
147
154
mutablefiles?: array<file>,
148
155
mutabletitle?: string,
@@ -2558,11 +2565,11 @@ and element = {
2558
2565
/**
2559
2566
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop)
2560
2567
*/
2561
-
mutablescrollTop: any,
2568
+
mutablescrollTop: float,
2562
2569
/**
2563
2570
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft)
2564
2571
*/
2565
-
mutablescrollLeft: any,
2572
+
mutablescrollLeft: float,
2566
2573
/**
2567
2574
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth)
2568
2575
*/
@@ -3035,11 +3042,11 @@ and htmlElement = {
3035
3042
/**
3036
3043
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop)
3037
3044
*/
3038
-
mutablescrollTop: any,
3045
+
mutablescrollTop: float,
3039
3046
/**
3040
3047
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft)
3041
3048
*/
3042
-
mutablescrollLeft: any,
3049
+
mutablescrollLeft: float,
3043
3050
/**
3044
3051
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth)
3045
3052
*/
@@ -3408,11 +3415,11 @@ and htmlHeadElement = {
3408
3415
/**
3409
3416
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop)
3410
3417
*/
3411
-
mutablescrollTop: any,
3418
+
mutablescrollTop: float,
3412
3419
/**
3413
3420
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft)
3414
3421
*/
3415
-
mutablescrollLeft: any,
3422
+
mutablescrollLeft: float,
3416
3423
/**
3417
3424
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth)
3418
3425
*/
@@ -3664,11 +3671,11 @@ and htmlFormElement = {
3664
3671
/**
3665
3672
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop)
3666
3673
*/
3667
-
mutablescrollTop: any,
3674
+
mutablescrollTop: float,
3668
3675
/**
3669
3676
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft)
3670
3677
*/
3671
-
mutablescrollLeft: any,
3678
+
mutablescrollLeft: float,
3672
3679
/**
3673
3680
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth)
3674
3681
*/
@@ -3971,11 +3978,11 @@ and htmlImageElement = {
3971
3978
/**
3972
3979
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop)
3973
3980
*/
3974
-
mutablescrollTop: any,
3981
+
mutablescrollTop: float,
3975
3982
/**
3976
3983
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft)
3977
3984
*/
3978
-
mutablescrollLeft: any,
3985
+
mutablescrollLeft: float,
3979
3986
/**
3980
3987
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth)
3981
3988
*/
@@ -4314,11 +4321,11 @@ and htmlEmbedElement = {
4314
4321
/**
4315
4322
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop)
4316
4323
*/
4317
-
mutablescrollTop: any,
4324
+
mutablescrollTop: float,
4318
4325
/**
4319
4326
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft)
4320
4327
*/
4321
-
mutablescrollLeft: any,
4328
+
mutablescrollLeft: float,
4322
4329
/**
4323
4330
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth)
4324
4331
*/
@@ -4586,11 +4593,11 @@ and htmlAnchorElement = {
4586
4593
/**
4587
4594
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop)
4588
4595
*/
4589
-
mutablescrollTop: any,
4596
+
mutablescrollTop: float,
4590
4597
/**
4591
4598
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft)
4592
4599
*/
4593
-
mutablescrollLeft: any,
4600
+
mutablescrollLeft: float,
4594
4601
/**
4595
4602
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth)
4596
4603
*/
@@ -4959,11 +4966,11 @@ and htmlAreaElement = {
4959
4966
/**
4960
4967
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop)
4961
4968
*/
4962
-
mutablescrollTop: any,
4969
+
mutablescrollTop: float,
4963
4970
/**
4964
4971
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft)
4965
4972
*/
4966
-
mutablescrollLeft: any,
4973
+
mutablescrollLeft: float,
4967
4974
/**
4968
4975
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth)
4969
4976
*/
@@ -5312,11 +5319,11 @@ and htmlScriptElement = {
5312
5319
/**
5313
5320
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop)
5314
5321
*/
5315
-
mutablescrollTop: any,
5322
+
mutablescrollTop: float,
5316
5323
/**
5317
5324
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft)
5318
5325
*/
5319
-
mutablescrollLeft: any,
5326
+
mutablescrollLeft: float,
5320
5327
/**
5321
5328
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth)
5322
5329
*/
@@ -6550,11 +6557,11 @@ and htmlSlotElement = {
6550
6557
/**
6551
6558
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop)
6552
6559
*/
6553
-
mutablescrollTop: any,
6560
+
mutablescrollTop: float,
6554
6561
/**
6555
6562
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft)
6556
6563
*/
6557
-
mutablescrollLeft: any,
6564
+
mutablescrollLeft: float,
6558
6565
/**
6559
6566
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth)
6560
6567
*/
@@ -6677,35 +6684,35 @@ type domRectReadOnly = {
6677
6684
/**
6678
6685
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/x)
6679
6686
*/
6680
-
x: any,
6687
+
x: float,
6681
6688
/**
6682
6689
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/y)
6683
6690
*/
6684
-
y: any,
6691
+
y: float,
6685
6692
/**
6686
6693
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/width)
6687
6694
*/
6688
-
width: any,
6695
+
width: float,
6689
6696
/**
6690
6697
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/height)
6691
6698
*/
6692
-
height: any,
6699
+
height: float,
6693
6700
/**
6694
6701
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/top)
6695
6702
*/
6696
-
top: any,
6703
+
top: float,
6697
6704
/**
6698
6705
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/right)
6699
6706
*/
6700
-
right: any,
6707
+
right: float,
6701
6708
/**
6702
6709
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/bottom)
6703
6710
*/
6704
-
bottom: any,
6711
+
bottom: float,
6705
6712
/**
6706
6713
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/left)
6707
6714
*/
6708
-
left: any,
6715
+
left: float,
6709
6716
}
6710
6717
6711
6718
/**
@@ -7820,7 +7827,7 @@ and htmlInputElement = {
7820
7827
Returns the input field value as a number.
7821
7828
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsNumber)
7822
7829
*/
7823
-
mutablevalueAsNumber: any,
7830
+
mutablevalueAsNumber: float,
7824
7831
/**
7825
7832
Sets or retrieves the width of the object.
7826
7833
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/width)
@@ -8101,7 +8108,7 @@ type htmlMediaElement = {
8101
8108
Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.
8102
8109
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/duration)
8103
8110
*/
8104
-
duration: any,
8111
+
duration: float,
8105
8112
/**
8106
8113
Gets a flag that specifies whether playback is paused.
8107
8114
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/paused)
@@ -8961,7 +8968,7 @@ type xPathResult = {
8961
8968
/**
8962
8969
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/XPathResult/numberValue)
8963
8970
*/
8964
-
numberValue: any,
8971
+
numberValue: float,
8965
8972
/**
8966
8973
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/XPathResult/stringValue)
8967
8974
*/
@@ -9060,8 +9067,8 @@ type scrollOptions = {mutable behavior?: scrollBehavior}
Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.
514
+
@param url Specifies a MIME type for the document.
515
+
@param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.
516
+
@param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following values are supported.
517
+
@param replace Specifies whether the existing entry for the document is replaced in the history list.
518
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Document/open)
0 commit comments