Skip to content

Commit fe19f02

Browse files
authored
Remove redundant files and types (#1044)
* fix(knownTypes): remove CanvasRenderingContext2DSettings from workers This is an upstream fix. * Remove redundant files and types Removing additional redundancies found by `git diff origin/main -- src inputfiles baselines`. * Restore migrate.ts
1 parent 6bc261c commit fe19f02

14 files changed

+640
-3041
lines changed

baselines/dom.generated.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1592,7 +1592,7 @@ interface SecurityPolicyViolationEventInit extends EventInit {
15921592
}
15931593

15941594
interface ShadowRootInit {
1595-
delegatesFocus: boolean;
1595+
delegatesFocus?: boolean;
15961596
mode: ShadowRootMode;
15971597
slotAssignment?: SlotAssignmentMode;
15981598
}
@@ -18786,13 +18786,11 @@ type RTCIceCredentialType = "password";
1878618786
type RTCIceGathererState = "complete" | "gathering" | "new";
1878718787
type RTCIceGatheringState = "complete" | "gathering" | "new";
1878818788
type RTCIceProtocol = "tcp" | "udp";
18789-
type RTCIceRole = "controlled" | "controlling" | "unknown";
1879018789
type RTCIceTcpCandidateType = "active" | "passive" | "so";
1879118790
type RTCIceTransportPolicy = "all" | "relay";
1879218791
type RTCIceTransportState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";
1879318792
type RTCPeerConnectionState = "closed" | "connected" | "connecting" | "disconnected" | "failed" | "new";
1879418793
type RTCPriorityType = "high" | "low" | "medium" | "very-low";
18795-
type RTCQualityLimitationReason = "bandwidth" | "cpu" | "none" | "other";
1879618794
type RTCRtcpMuxPolicy = "require";
1879718795
type RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendrecv" | "stopped";
1879818796
type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";

inputfiles/addedTypes.json

Lines changed: 11 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,6 @@
3232
"GlobalEventHandlers": {
3333
"events": {
3434
"event": [
35-
{
36-
"name": "beforeinput",
37-
"type": "InputEvent"
38-
},
39-
{
40-
"name": "compositionstart",
41-
"type": "CompositionEvent"
42-
},
43-
{
44-
"name": "compositionupdate",
45-
"type": "CompositionEvent"
46-
},
47-
{
48-
"name": "compositionend",
49-
"type": "CompositionEvent"
50-
},
51-
{
52-
"name": "focusin",
53-
"type": "FocusEvent"
54-
},
5535
{
5636
"name": "abort",
5737
"type": "UIEvent"
@@ -644,7 +624,7 @@
644624
}
645625
}
646626
},
647-
// This is used in the React d.ts files, and not including
627+
// This is used in the React d.ts files, and not including
648628
// it would force an update for anyone using React.
649629
"StyleMedia": {
650630
"name": "StyleMedia",
@@ -1059,28 +1039,6 @@
10591039
"url": {
10601040
"name": "url",
10611041
"type": "DOMString",
1062-
"required": 1
1063-
}
1064-
}
1065-
}
1066-
},
1067-
"MemoryDescriptor": {
1068-
"legacy-namespace": "WebAssembly",
1069-
"members": {
1070-
"member": {
1071-
"shared": {
1072-
"name": "shared",
1073-
"type": "boolean"
1074-
}
1075-
}
1076-
}
1077-
},
1078-
"ShadowRootInit": {
1079-
"members": {
1080-
"member": {
1081-
"delegatesFocus": {
1082-
"name": "delegatesFocus",
1083-
"type": "boolean",
10841042
"required": true
10851043
}
10861044
}
@@ -1098,6 +1056,16 @@
10981056
}
10991057
}
11001058
},
1059+
"MemoryDescriptor": {
1060+
"members": {
1061+
"member": {
1062+
"shared": {
1063+
"name": "shared",
1064+
"type": "boolean"
1065+
}
1066+
}
1067+
}
1068+
},
11011069
"ReadableStreamDefaultReadDoneResult": {
11021070
"name": "ReadableStreamDefaultReadDoneResult",
11031071
"members": {

inputfiles/idl/Payment Request.widl

Lines changed: 0 additions & 188 deletions
This file was deleted.

inputfiles/idl/Permissions.widl

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)