Skip to content

Commit

Permalink
Fix broken spec_urls for APIs (M-X); set some features to non-standard (
Browse files Browse the repository at this point in the history
  • Loading branch information
Elchi3 authored Jul 30, 2024
1 parent 56a2b88 commit 99bd8c8
Show file tree
Hide file tree
Showing 18 changed files with 34 additions and 52 deletions.
2 changes: 1 addition & 1 deletion api/MediaKeyMessageEvent.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"__compat": {
"description": "<code>MediaKeyMessageEvent()</code> constructor",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/MediaKeyMessageEvent/MediaKeyMessageEvent",
"spec_url": "https://w3c.github.io/encrypted-media/#constructors",
"spec_url": "https://w3c.github.io/encrypted-media/#dom-mediakeymessageevent-constructor",
"support": {
"chrome": {
"version_added": "42"
Expand Down
2 changes: 1 addition & 1 deletion api/MimeType.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"MimeType": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/MimeType",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#mimetype",
"spec_url": "https://html.spec.whatwg.org/multipage/system-state.html#mimetype",
"support": {
"chrome": {
"version_added": "1"
Expand Down
2 changes: 1 addition & 1 deletion api/MimeTypeArray.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"MimeTypeArray": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/MimeTypeArray",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#mimetypearray",
"spec_url": "https://html.spec.whatwg.org/multipage/system-state.html#mimetypearray",
"support": {
"chrome": {
"version_added": "1"
Expand Down
6 changes: 3 additions & 3 deletions api/Navigator.json
Original file line number Diff line number Diff line change
Expand Up @@ -1675,7 +1675,7 @@
"javaEnabled": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-navigator-javaenabled",
"spec_url": "https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator-javaenabled",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -2151,7 +2151,7 @@
"mimeTypes": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-navigator-mimetypes",
"spec_url": "https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator-mimetypes",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -2494,7 +2494,7 @@
"plugins": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Navigator/plugins",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-navigator-plugins",
"spec_url": "https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator-plugins",
"support": {
"chrome": {
"version_added": "1"
Expand Down
21 changes: 7 additions & 14 deletions api/PaymentInstruments.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"api": {
"PaymentInstruments": {
"__compat": {
"spec_url": "https://w3c.github.io/payment-handler/#paymentinstruments-interface",
"support": {
"chrome": {
"version_added": "70",
Expand Down Expand Up @@ -31,14 +30,13 @@
},
"status": {
"experimental": false,
"standard_track": true,
"standard_track": false,
"deprecated": true
}
},
"clear": {
"__compat": {
"description": "<code>clear()</code>",
"spec_url": "https://w3c.github.io/payment-handler/#dom-paymentinstruments-clear",
"support": {
"chrome": {
"version_added": "70",
Expand Down Expand Up @@ -67,15 +65,14 @@
},
"status": {
"experimental": false,
"standard_track": true,
"standard_track": false,
"deprecated": true
}
}
},
"delete": {
"__compat": {
"description": "<code>delete()</code>",
"spec_url": "https://w3c.github.io/payment-handler/#dom-paymentinstruments-delete",
"support": {
"chrome": {
"version_added": "70",
Expand Down Expand Up @@ -104,15 +101,14 @@
},
"status": {
"experimental": false,
"standard_track": true,
"standard_track": false,
"deprecated": true
}
}
},
"get": {
"__compat": {
"description": "<code>get()</code>",
"spec_url": "https://w3c.github.io/payment-handler/#dom-paymentinstruments-get",
"support": {
"chrome": {
"version_added": "70",
Expand Down Expand Up @@ -141,15 +137,14 @@
},
"status": {
"experimental": false,
"standard_track": true,
"standard_track": false,
"deprecated": true
}
}
},
"has": {
"__compat": {
"description": "<code>has()</code>",
"spec_url": "https://w3c.github.io/payment-handler/#dom-paymentinstruments-has",
"support": {
"chrome": {
"version_added": "70",
Expand Down Expand Up @@ -178,15 +173,14 @@
},
"status": {
"experimental": false,
"standard_track": true,
"standard_track": false,
"deprecated": true
}
}
},
"keys": {
"__compat": {
"description": "<code>keys()</code>",
"spec_url": "https://w3c.github.io/payment-handler/#dom-paymentinstruments-keys",
"support": {
"chrome": {
"version_added": "70",
Expand Down Expand Up @@ -215,15 +209,14 @@
},
"status": {
"experimental": false,
"standard_track": true,
"standard_track": false,
"deprecated": true
}
}
},
"set": {
"__compat": {
"description": "<code>set()</code>",
"spec_url": "https://w3c.github.io/payment-handler/#dom-paymentinstruments-set",
"support": {
"chrome": {
"version_added": "70",
Expand Down Expand Up @@ -252,7 +245,7 @@
},
"status": {
"experimental": false,
"standard_track": true,
"standard_track": false,
"deprecated": true
}
}
Expand Down
2 changes: 1 addition & 1 deletion api/Plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Plugin": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Plugin",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-plugin",
"spec_url": "https://html.spec.whatwg.org/multipage/system-state.html#dom-plugin",
"support": {
"chrome": {
"version_added": "1"
Expand Down
2 changes: 1 addition & 1 deletion api/PluginArray.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"PluginArray": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PluginArray",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#pluginarray",
"spec_url": "https://html.spec.whatwg.org/multipage/system-state.html#pluginarray",
"support": {
"chrome": {
"version_added": "1"
Expand Down
10 changes: 3 additions & 7 deletions api/RTCEncodedAudioFrame.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"RTCEncodedAudioFrame": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame",
"spec_url": "https://w3c.github.io/webrtc-encoded-transform/#ref-for-rtcencodedaudioframe%E2%91%A1",
"spec_url": "https://w3c.github.io/webrtc-encoded-transform/#rtcencodedaudioframe",
"tags": [
"web-features:webrtc-encoded-transform"
],
Expand Down Expand Up @@ -147,10 +147,6 @@
"timestamp": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp",
"spec_url": "https://w3c.github.io/webrtc-encoded-transform/#dom-rtcencodedaudioframe-timestamp",
"tags": [
"web-features:webrtc-encoded-transform"
],
"support": {
"chrome": {
"version_added": "86"
Expand All @@ -176,8 +172,8 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
}
Expand Down
8 changes: 2 additions & 6 deletions api/RTCEncodedVideoFrame.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,6 @@
"timestamp": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp",
"spec_url": "https://w3c.github.io/webrtc-encoded-transform/#dom-rtcencodedvideoframe-timestamp",
"tags": [
"web-features:webrtc-encoded-transform"
],
"support": {
"chrome": {
"version_added": "86"
Expand All @@ -176,8 +172,8 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion api/RTCStatsReport.json
Original file line number Diff line number Diff line change
Expand Up @@ -2919,7 +2919,7 @@
"kind": {
"__compat": {
"description": "<code>kind</code> in 'inbound-rtp' stats",
"spec_url": "https://w3c.github.io/webrtc-stats/#dom-rtcinboundrtpstreamstats-kind",
"spec_url": "https://w3c.github.io/webrtc-stats/#dom-rtcrtpstreamstats-kind",
"support": {
"chrome": {
"version_added": "80"
Expand Down
2 changes: 1 addition & 1 deletion api/Range.json
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@
"createContextualFragment": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment",
"spec_url": "https://w3c.github.io/DOM-Parsing/#ref-for-dom-range-createcontextualfragment-2",
"spec_url": "https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-range-createcontextualfragment",
"support": {
"chrome": {
"version_added": "1"
Expand Down
9 changes: 3 additions & 6 deletions api/Sanitizer.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
},
"getConfiguration": {
"__compat": {
"spec_url": "https://wicg.github.io/sanitizer-api/#dom-sanitizer-getconfiguration",
"support": {
"chrome": {
"version_added": "105",
Expand All @@ -113,15 +112,14 @@
},
"status": {
"experimental": false,
"standard_track": true,
"standard_track": false,
"deprecated": true
}
}
},
"getDefaultConfiguration_static": {
"__compat": {
"description": "<code>getDefaultConfiguration()</code> static method",
"spec_url": "https://wicg.github.io/sanitizer-api/#dom-sanitizer-getdefaultconfiguration",
"support": {
"chrome": {
"version_added": "105",
Expand All @@ -148,15 +146,14 @@
},
"status": {
"experimental": false,
"standard_track": true,
"standard_track": false,
"deprecated": true
}
}
},
"sanitize": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Sanitizer/sanitize",
"spec_url": "https://wicg.github.io/sanitizer-api/#dom-sanitizer-sanitize",
"support": {
"chrome": {
"version_added": false
Expand Down Expand Up @@ -189,7 +186,7 @@
},
"status": {
"experimental": false,
"standard_track": true,
"standard_track": false,
"deprecated": true
}
}
Expand Down
8 changes: 4 additions & 4 deletions api/ToggleEvent.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"ToggleEvent": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ToggleEvent",
"spec_url": "https://html.spec.whatwg.org/multipage/popover.html#toggleevent",
"spec_url": "https://html.spec.whatwg.org/multipage/interaction.html#toggleevent",
"tags": [
"web-features:popover"
],
Expand Down Expand Up @@ -40,7 +40,7 @@
"__compat": {
"description": "<code>ToggleEvent()</code> constructor",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ToggleEvent/ToggleEvent",
"spec_url": "https://html.spec.whatwg.org/multipage/popover.html#toggleevent",
"spec_url": "https://html.spec.whatwg.org/multipage/interaction.html#toggleevent",
"tags": [
"web-features:popover"
],
Expand Down Expand Up @@ -77,7 +77,7 @@
"newState": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState",
"spec_url": "https://html.spec.whatwg.org/multipage/popover.html#dom-toggleevent-newstate",
"spec_url": "https://html.spec.whatwg.org/multipage/interaction.html#dom-toggleevent-newstate",
"tags": [
"web-features:popover"
],
Expand Down Expand Up @@ -114,7 +114,7 @@
"oldState": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState",
"spec_url": "https://html.spec.whatwg.org/multipage/popover.html#dom-toggleevent-oldstate",
"spec_url": "https://html.spec.whatwg.org/multipage/interaction.html#dom-toggleevent-oldstate",
"tags": [
"web-features:popover"
],
Expand Down
2 changes: 1 addition & 1 deletion api/VideoEncoder.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"__compat": {
"description": "<code>dequeue</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event",
"spec_url": "https://w3c.github.io/webcodecs/#eventdef-videencoder-dequeue",
"spec_url": "https://w3c.github.io/webcodecs/#dom-videodecoder-ondequeue",
"tags": [
"web-features:webcodecs"
],
Expand Down
2 changes: 1 addition & 1 deletion api/XRCubeLayer.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"__compat": {
"description": "<code>redraw</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/XRCubeLayer/redraw_event",
"spec_url": "https://immersive-web.github.io/layers/#eventdef-xrlayer-redraw",
"spec_url": "https://immersive-web.github.io/layers/#dom-xrcubelayer-onredraw",
"support": {
"chrome": {
"version_added": false
Expand Down
2 changes: 1 addition & 1 deletion api/XRCylinderLayer.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"__compat": {
"description": "<code>redraw</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/XRCylinderLayer/redraw_event",
"spec_url": "https://immersive-web.github.io/layers/#eventdef-xrlayer-redraw",
"spec_url": "https://immersive-web.github.io/layers/#dom-xrcylinderlayer-onredraw",
"support": {
"chrome": {
"version_added": false
Expand Down
2 changes: 1 addition & 1 deletion api/XREquirectLayer.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"__compat": {
"description": "<code>redraw</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/XREquirectLayer/redraw_event",
"spec_url": "https://immersive-web.github.io/layers/#eventdef-xrlayer-redraw",
"spec_url": "https://immersive-web.github.io/layers/#dom-xrequirectlayer-onredraw",
"support": {
"chrome": {
"version_added": false
Expand Down
2 changes: 1 addition & 1 deletion api/XRQuadLayer.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"__compat": {
"description": "<code>redraw</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/XRQuadLayer/redraw_event",
"spec_url": "https://immersive-web.github.io/layers/#eventdef-xrlayer-redraw",
"spec_url": "https://immersive-web.github.io/layers/#dom-xrquadlayer-onredraw",
"support": {
"chrome": {
"version_added": false
Expand Down

0 comments on commit 99bd8c8

Please sign in to comment.