Skip to content

Commit f8a55e2

Browse files
committed
Convert part 1
1 parent 3082e4f commit f8a55e2

File tree

5 files changed

+32
-51
lines changed

5 files changed

+32
-51
lines changed

inputfiles/addedTypes.jsonc

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -28,31 +28,6 @@
2828
},
2929
"enums": {
3030
"enum": {
31-
"InsertPosition": {
32-
"name": "InsertPosition",
33-
"value": [
34-
"beforebegin",
35-
"beforeend",
36-
"afterbegin",
37-
"afterend"
38-
]
39-
},
40-
"FontDisplay": {
41-
"name": "FontDisplay",
42-
// https://w3c.github.io/csswg-drafts/css-fonts-4/#font-display-desc
43-
"value": [
44-
"auto",
45-
"block",
46-
"swap",
47-
"fallback",
48-
"optional"
49-
]
50-
},
51-
"RTCStatsIceCandidatePairState": {
52-
"value": [
53-
"inprogress"
54-
]
55-
},
5631
"GlobalCompositeOperation": {
5732
"name": "GlobalCompositeOperation",
5833
"value": [
@@ -83,32 +58,6 @@
8358
"color",
8459
"luminosity"
8560
]
86-
},
87-
"PermissionName": {
88-
"name": "PermissionName",
89-
// This is a subset of the permissions defined in the spec:
90-
// https://w3c.github.io/powerful-features-registry/#registry-table-of-powerful-features
91-
// Please add a feature only when it's supported by multiple engines.
92-
"value": [
93-
// Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility
94-
"camera",
95-
// Full support: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API#browser_compatibility
96-
"geolocation",
97-
// Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility
98-
"microphone",
99-
// Gecko and Blink: https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API#browser_compatibility
100-
"midi",
101-
// Full support: https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API#browser_compatibility
102-
"notifications",
103-
// Gecko and Blink: https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#browser_compatibility
104-
"persistent-storage",
105-
// Full support: https://developer.mozilla.org/en-US/docs/Web/API/Push_API#browser_compatibility
106-
"push",
107-
// Full support: https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API#browser_compatibility
108-
"screen-wake-lock",
109-
// Full support: https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API#browser_compatibility
110-
"storage-access"
111-
]
11261
}
11362
}
11463
},

inputfiles/patches/font.kdl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
enum FontDisplay {
2+
// https://w3c.github.io/csswg-drafts/css-fonts-4/#font-display-desc
3+
auto
4+
block
5+
swap
6+
fallback
7+
optional
8+
}

inputfiles/patches/permissions.kdl

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
enum PermissionName {
2+
// This is a subset of the permissions defined in the spec:
3+
// https://w3c.github.io/powerful-features-registry/#registry-table-of-powerful-features
4+
// Please add a feature only when it's supported by multiple engines.
5+
// Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility
6+
camera
7+
geolocation
8+
microphone
9+
midi
10+
notifications
11+
persistent-storage
12+
push
13+
screen-wake-lock
14+
storage-access
15+
}

inputfiles/patches/positioning.kdl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
enum InsertPosition {
2+
beforebegin
3+
beforeend
4+
afterbegin
5+
afterend
6+
}

inputfiles/patches/rtc.kdl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
enum RTCStatsIceCandidatePairState {
2+
inprogress
3+
}

0 commit comments

Comments
 (0)