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
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,9 +53,9 @@ The common steps to send a pull request are:
53
53
54
54
### What are the TypeScript team's heuristics for PRs to the DOM APIs
55
55
56
-
Changes to this repo can have pretty drastic ecosystem effects, because these types are included by default in TypeScript.
56
+
Changes to this repo can have pretty drastic ecosystem effects, because these types are included by default in TypeScript.
57
57
Due to this, we tend to be quite conservative with our approach to introducing changes.
58
-
To give you a sense of whether we will accept changes, you can use these heuristics to know up-front if we'll be open to merging.
58
+
To give you a sense of whether we will accept changes, you can use these heuristics to know up-front if we'll be open to merging.
59
59
60
60
#### Fixes
61
61
@@ -71,9 +71,9 @@ To give you a sense of whether we will accept changes, you can use these heurist
71
71
> For example, adding a new spec or subsection via a new or updated IDL file
72
72
73
73
- Does the new objects or fields show up in [mdn/browser-compat-data](https://github.com/mdn/browser-compat-data)? If not, it's likely too soon.
74
-
- Is the IDL source from WHATWG?
74
+
- Is the IDL source from WHATWG?
75
75
- Are the additions available in at least two of Firefox, Safari and Chromium?
76
-
- Is the IDL source from W3C?
76
+
- Is the IDL source from W3C?
77
77
- What stage of the [W3C process](https://en.wikipedia.org/wiki/World_Wide_Web_Consortium#Specification_maturation) is the proposal for these changes: We aim for Proposed recommendation, but can accept Candidate recommendation for stable looking proposals.
78
78
- If it's at Working draft the additions available in all three of Firefox, Safari and Chromium
79
79
- Could any types added at the global scope have naming conflicts?
@@ -103,3 +103,4 @@ To give you a sense of whether we will accept changes, you can use these heurist
103
103
-`overridingTypes.json`: types that are defined in the spec file but has a better or more up-to-date definitions in the json files.
104
104
-`removedTypes.json`: types that are defined in the spec file but should be removed.
105
105
-`comments.json`: comment strings to be embedded in the generated .js files.
106
+
-`deprecatedMessage.json`: the reason why one type is deprecated. The reason why it is a sprecate file rather than merge in comment.json is mdn/apiDescriptions.json would also possiably be deprecated.
"MutationEvent": "DOM4 [DOM] provides a new mechanism using a MutationObserver interface which addresses the use cases that mutation events solve, but in a more performant manner. Thus, this specification describes mutation events for reference and completeness of legacy behavior, but deprecates the use of the MutationEvent interface.",
3
+
"IDBFactorySync": " The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers.",
4
+
"MouseScrollEvent": "Do not use this interface for wheel events.\n\nLike MouseWheelEvent, this interface is non-standard and deprecated. It was used in Gecko-based browsers only. Instead use the standard WheelEvent.\n",
5
+
"SVGExternalResourcesRequired": " This interface was removed in the SVG 2 specification.",
6
+
"IDBCursorSync": " The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers.",
7
+
"IDBTransactionSync": " The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers.",
8
+
"IDBEnvironmentSync": " The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers.",
9
+
"SVGAltGlyphDefElement": " This interface was removed in the SVG 2 specification.",
10
+
"IDBVersionChangeRequest": " The latest specification does not include this interface anymore as the IDBDatabase.setVersion() method has been removed. See the compatibility table for version details.The new way to do it is to use the IDBOpenDBRequest interface which has now the onblocked handler and the newly needed onupgradeneeded one.",
11
+
"IDBDatabaseException": " This interface was removed from the specification and was replaced by usage of DOMException.",
12
+
"FileError": " This interface is obsolete per the latest specification. Use the new DOM4 DOMError interface instead.",
13
+
"IDBObjectStoreSync": " The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers.",
14
+
"LocalMediaStream": " This interface is no longer available in any mainstream browser. Do not use LocalMediaStream; you need to update any code that does use it as soon as possible or your content or application will stop working. See Stopping a video stream in MediaStreamTrack to learn how. All other functionality is found in MediaStream.",
15
+
"SVGAltGlyphItemElement": " This interface was removed in the SVG 2 specification.",
16
+
"SVGGlyphElement": " This interface was removed in the SVG 2 specification.",
17
+
"SVGRenderingIntent": " This interface was removed in the SVG 2 specification.",
18
+
"BlobBuilder": " The BlobBuilder interface has been deprecated in favor of the newly introduced Blob constructor.",
19
+
"MouseWheelEvent": "Do not use this interface for wheel events.\n\nLike MouseScrollEvent, this interface is non-standard and deprecated. It was used in non-Gecko browsers only. Instead use the standard WheelEvent.\n",
20
+
"ServiceWorkerMessageEvent": " In modern browsers, this interface has been deprecated. Service worker messages will now use the MessageEvent interface, for consistency with other web messaging features.",
21
+
"ScriptProcessorNode": " As of the August 29 2014 Web Audio API spec publication, this feature has been marked as deprecated, and was replaced by AudioWorklet (see AudioWorkletNode).",
22
+
"IDBIndexSync": " The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers.",
23
+
"NameList": " Although this interface was previously implemented in Gecko, there was no way to actually create one. NameList has been removed, effective with Gecko 10.0",
24
+
"DOMLocator": " This is not implemented in Mozilla",
25
+
"RTCSessionDescriptionCallback": "Because this function type is part of the legacy WebRTC API, you should avoid using it (and the callback-based forms of createOffer() and createAnswer() that make use of it).\n",
26
+
"SVGMatrix": " SVG 2 replaced the SVGMatrix interface by the more general DOMMatrix and DOMMatrixReadOnly interfaces.",
27
+
"DOMConfiguration": " This interface has never been supported in Gecko, and has been removed from the DOM specification.",
28
+
"AudioProcessingEvent": " As of the August 29 2014 Web Audio API spec publication, this feature has been marked as deprecated, and is soon to be replaced by AudioWorklet.",
29
+
"IDBEnvironment": " The indexedDB property that was previously defined in this mixin is instead now WindowOrWorkerGlobalScope.indexedDB (that is, defined as a member of the WindowOrWorkerGlobalScope mixin).",
30
+
"IDBDatabaseSync": " The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers.",
31
+
"PerformanceNavigation": "This interface is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.\n"
0 commit comments