Skip to content

Commit b8a56a3

Browse files
committed
chore(build): remove redundant denylist items
1 parent 3a24bfa commit b8a56a3

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

inputfiles/removedTypes.json

+11-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
"GlobalEventHandlers": {
4242
"properties": {
4343
"property": {
44+
"onbeforexrselect": null,
4445
"onpointerrawupdate": null,
45-
"onslotchange": null,
46-
"onbeforexrselect": null
46+
"onslotchange": null
4747
}
4848
}
4949
},
@@ -66,10 +66,18 @@
6666
}
6767
}
6868
},
69+
"WindowEventHandlers": {
70+
"properties": {
71+
"property": {
72+
"onportalactivate": null
73+
}
74+
}
75+
},
6976
"WindowOrWorkerGlobalScope": {
7077
"properties": {
7178
"property": {
72-
"originPolicyIds": null
79+
"originPolicyIds": null,
80+
"trustedTypes": null
7381
}
7482
}
7583
}

src/build.ts

+1-13
Original file line numberDiff line numberDiff line change
@@ -115,20 +115,8 @@ async function emitDom() {
115115
).filter(i => i) as ReturnType<typeof convert>[];
116116

117117
async function convertWidl(shortName: string) {
118-
// Specs that clashes with other specs
119-
const skip = [
120-
"EXT_disjoint_timer_query_webgl2",
121-
"portals",
122-
"svg-markers",
123-
"svg-paths",
124-
"trusted-types",
125-
];
126-
if (skip.includes(shortName)) {
127-
return;
128-
}
129-
130118
// Specs that need to fix their syntax, etc.
131-
const local = ["css-typed-om", "permissions", "uievents", "xsltprocessor"];
119+
const local = ["uievents", "xsltprocessor"];
132120
const idl = local.includes(shortName)
133121
? await fs.readFile(new URL(`idl/${shortName}.webidl`, inputFolder), {
134122
encoding: "utf-8",

0 commit comments

Comments
 (0)