Skip to content

Commit

Permalink
Update mdn_urls: remove 404s, replace redirects, add new pages (#23481)
Browse files Browse the repository at this point in the history
* Update mdn_urls: remove 404s, replace redirects, add new pages

* fix mdn_urls 2

* Fix trailing slash for webext

---------

Co-authored-by: Queen Vinyl Da.i'gyu-Kazotetsu <vinyldarkscratch@gmail.com>
  • Loading branch information
Elchi3 and queengooborg authored Jun 26, 2024
1 parent 8e4ea7f commit 1d41e2a
Show file tree
Hide file tree
Showing 327 changed files with 192 additions and 995 deletions.
3 changes: 0 additions & 3 deletions api/AbortPaymentEvent.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"api": {
"AbortPaymentEvent": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AbortPaymentEvent",
"support": {
"chrome": {
"version_added": "70"
Expand Down Expand Up @@ -37,7 +36,6 @@
"AbortPaymentEvent": {
"__compat": {
"description": "<code>AbortPaymentEvent()</code> constructor",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AbortPaymentEvent/AbortPaymentEvent",
"support": {
"chrome": {
"version_added": "70"
Expand Down Expand Up @@ -72,7 +70,6 @@
},
"respondWith": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AbortPaymentEvent/respondWith",
"support": {
"chrome": {
"version_added": "70"
Expand Down
2 changes: 1 addition & 1 deletion api/Animation.json
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@
"remove_filling_animation": {
"__compat": {
"description": "Browsers automatically remove indefinite filling animations",
"mdn_url": "https://developer.mozilla.org/docs/web/api/web_animations_api/using_the_web_animations_api#automatically_removing_filling_animations",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Web_Animations_API/Using_the_Web_Animations_API#automatically_removing_filling_animations",
"support": {
"chrome": {
"version_added": "84"
Expand Down
2 changes: 2 additions & 0 deletions api/AudioDecoder.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@
"dequeue_event": {
"__compat": {
"description": "<code>dequeue</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioDecoder/dequeue_event",
"spec_url": "https://w3c.github.io/webcodecs/#eventdef-audiodecoder-dequeue",
"tags": [
"web-features:webcodecs"
Expand Down Expand Up @@ -307,6 +308,7 @@
"isConfigSupported_static": {
"__compat": {
"description": "<code>isConfigSupported()</code> static method",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioDecoder/isConfigSupported_static",
"spec_url": "https://w3c.github.io/webcodecs/#dom-audiodecoder-isconfigsupported",
"tags": [
"web-features:webcodecs"
Expand Down
2 changes: 2 additions & 0 deletions api/AudioEncoder.json
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@
"dequeue_event": {
"__compat": {
"description": "<code>dequeue</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioEncoder/dequeue_event",
"spec_url": "https://w3c.github.io/webcodecs/#eventdef-audioencoder-dequeue",
"tags": [
"web-features:webcodecs"
Expand Down Expand Up @@ -453,6 +454,7 @@
"isConfigSupported_static": {
"__compat": {
"description": "<code>isConfigSupported()</code> static method",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioEncoder/isConfigSupported_static",
"spec_url": "https://w3c.github.io/webcodecs/#dom-audioencoder-isconfigsupported",
"tags": [
"web-features:webcodecs"
Expand Down
1 change: 0 additions & 1 deletion api/AudioParam.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
},
"automationRate": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioParam/automationRate",
"spec_url": "https://webaudio.github.io/web-audio-api/#dom-audioparam-automationrate",
"support": {
"chrome": {
Expand Down
7 changes: 0 additions & 7 deletions api/AudioParamMap.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
},
"entries": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioParamMap/entries",
"support": {
"chrome": {
"version_added": "66"
Expand Down Expand Up @@ -68,7 +67,6 @@
},
"forEach": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioParamMap/forEach",
"support": {
"chrome": {
"version_added": "66"
Expand Down Expand Up @@ -101,7 +99,6 @@
},
"get": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioParamMap/get",
"support": {
"chrome": {
"version_added": "66"
Expand Down Expand Up @@ -134,7 +131,6 @@
},
"has": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioParamMap/has",
"support": {
"chrome": {
"version_added": "66"
Expand Down Expand Up @@ -167,7 +163,6 @@
},
"keys": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioParamMap/keys",
"support": {
"chrome": {
"version_added": "66"
Expand Down Expand Up @@ -200,7 +195,6 @@
},
"size": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioParamMap/size",
"support": {
"chrome": {
"version_added": "66"
Expand Down Expand Up @@ -233,7 +227,6 @@
},
"values": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioParamMap/values",
"support": {
"chrome": {
"version_added": "66"
Expand Down
1 change: 1 addition & 0 deletions api/BeforeUnloadEvent.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
},
"returnValue": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent/returnValue",
"spec_url": "https://html.spec.whatwg.org/multipage/browsing-the-web.html#dom-beforeunloadevent-returnvalue",
"support": {
"chrome": [
Expand Down
1 change: 0 additions & 1 deletion api/Blob.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@
},
"bytes": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Blob/bytes",
"spec_url": "https://w3c.github.io/FileAPI/#dom-blob-bytes",
"support": {
"chrome": {
Expand Down
11 changes: 0 additions & 11 deletions api/CSPViolationReportBody.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
},
"blockedURL": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/blockedURL",
"spec_url": "https://w3c.github.io/webappsec-csp/#dom-cspviolationreportbody-blockedurl",
"support": {
"chrome": {
Expand Down Expand Up @@ -81,7 +80,6 @@
},
"columnNumber": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/columnNumber",
"spec_url": "https://w3c.github.io/webappsec-csp/#dom-cspviolationreportbody-columnnumber",
"support": {
"chrome": {
Expand Down Expand Up @@ -121,7 +119,6 @@
},
"disposition": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/disposition",
"spec_url": "https://w3c.github.io/webappsec-csp/#dom-cspviolationreportbody-disposition",
"support": {
"chrome": {
Expand Down Expand Up @@ -161,7 +158,6 @@
},
"documentURL": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/documentURL",
"spec_url": "https://w3c.github.io/webappsec-csp/#dom-cspviolationreportbody-documenturl",
"support": {
"chrome": {
Expand Down Expand Up @@ -201,7 +197,6 @@
},
"effectiveDirective": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/effectiveDirective",
"spec_url": "https://w3c.github.io/webappsec-csp/#dom-cspviolationreportbody-effectivedirective",
"support": {
"chrome": {
Expand Down Expand Up @@ -241,7 +236,6 @@
},
"lineNumber": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/lineNumber",
"spec_url": "https://w3c.github.io/webappsec-csp/#dom-cspviolationreportbody-linenumber",
"support": {
"chrome": {
Expand Down Expand Up @@ -281,7 +275,6 @@
},
"originalPolicy": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/originalPolicy",
"spec_url": "https://w3c.github.io/webappsec-csp/#dom-cspviolationreportbody-originalpolicy",
"support": {
"chrome": {
Expand Down Expand Up @@ -321,7 +314,6 @@
},
"referrer": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/referrer",
"spec_url": "https://w3c.github.io/webappsec-csp/#dom-cspviolationreportbody-referrer",
"support": {
"chrome": {
Expand Down Expand Up @@ -361,7 +353,6 @@
},
"sample": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sample",
"spec_url": "https://w3c.github.io/webappsec-csp/#dom-cspviolationreportbody-sample",
"support": {
"chrome": {
Expand Down Expand Up @@ -401,7 +392,6 @@
},
"sourceFile": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sourceFile",
"spec_url": "https://w3c.github.io/webappsec-csp/#dom-cspviolationreportbody-sourcefile",
"support": {
"chrome": {
Expand Down Expand Up @@ -441,7 +431,6 @@
},
"statusCode": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/statusCode",
"spec_url": "https://w3c.github.io/webappsec-csp/#dom-cspviolationreportbody-statuscode",
"support": {
"chrome": {
Expand Down
2 changes: 1 addition & 1 deletion api/CSSImportRule.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
},
"styleSheet": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSImportRule/stylesheet",
"spec_url": "https://drafts.csswg.org/cssom/#dom-cssimportrule-stylesheet",
"support": {
"chrome": {
Expand Down
5 changes: 0 additions & 5 deletions api/CSSNumericArray.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
},
"entries": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSNumericArray/entries",
"support": {
"chrome": {
"version_added": "66"
Expand Down Expand Up @@ -69,7 +68,6 @@
},
"forEach": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSNumericArray/forEach",
"support": {
"chrome": {
"version_added": "66"
Expand Down Expand Up @@ -102,7 +100,6 @@
},
"keys": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSNumericArray/keys",
"support": {
"chrome": {
"version_added": "66"
Expand Down Expand Up @@ -170,7 +167,6 @@
},
"values": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSNumericArray/values",
"support": {
"chrome": {
"version_added": "66"
Expand Down Expand Up @@ -203,7 +199,6 @@
},
"@@iterator": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSNumericArray/@@iterator",
"support": {
"chrome": {
"version_added": "66"
Expand Down
1 change: 0 additions & 1 deletion api/CSSPositionTryDescriptors.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"api": {
"CSSPositionTryDescriptors": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors",
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#csspositiontrydescriptors",
"tags": [
"web-features:anchor-positioning"
Expand Down
3 changes: 0 additions & 3 deletions api/CSSPositionTryRule.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"api": {
"CSSPositionTryRule": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule",
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#csspositiontryrule",
"tags": [
"web-features:anchor-positioning"
Expand Down Expand Up @@ -39,7 +38,6 @@
},
"name": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/name",
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#dom-csspositiontryrule-name",
"tags": [
"web-features:anchor-positioning"
Expand Down Expand Up @@ -77,7 +75,6 @@
},
"style": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/style",
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#dom-csspositiontryrule-style",
"tags": [
"web-features:anchor-positioning"
Expand Down
2 changes: 1 addition & 1 deletion api/CSSPropertyRule.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
},
"initialValue": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialValue",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialvalue",
"spec_url": "https://drafts.css-houdini.org/css-properties-values-api/#dom-csspropertyrule-initialvalue",
"tags": [
"web-features:registered-custom-properties"
Expand Down
3 changes: 3 additions & 0 deletions api/CSSScopeRule.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"api": {
"CSSScopeRule": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSScopeRule",
"spec_url": "https://drafts.csswg.org/css-cascade-6/#cssscoperule",
"tags": [
"web-features:scope"
Expand Down Expand Up @@ -37,6 +38,7 @@
},
"end": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSScopeRule/end",
"spec_url": "https://drafts.csswg.org/css-cascade-6/#dom-cssscoperule-end",
"tags": [
"web-features:scope"
Expand Down Expand Up @@ -73,6 +75,7 @@
},
"start": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSScopeRule/start",
"spec_url": "https://drafts.csswg.org/css-cascade-6/#dom-cssscoperule-start",
"tags": [
"web-features:scope"
Expand Down
1 change: 0 additions & 1 deletion api/CSSStyleDeclaration.json
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,6 @@
},
"@@iterator": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/@@iterator",
"support": {
"chrome": {
"version_added": "51"
Expand Down
1 change: 0 additions & 1 deletion api/CSSStyleValue.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@
},
"toString": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSStyleValue/toString",
"spec_url": "https://drafts.css-houdini.org/css-typed-om/#stylevalue-serialization",
"support": {
"chrome": {
Expand Down
1 change: 0 additions & 1 deletion api/CSSTransformValue.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@
},
"@@iterator": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSTransformValue/@@iterator",
"support": {
"chrome": {
"version_added": "66"
Expand Down
1 change: 0 additions & 1 deletion api/CSSUnparsedValue.json
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@
},
"@@iterator": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/@@iterator",
"support": {
"chrome": {
"version_added": "66"
Expand Down
1 change: 1 addition & 0 deletions api/ClipboardItem.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@
},
"supports_static": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ClipboardItem/supports_static",
"spec_url": "https://w3c.github.io/clipboard-apis/#dom-clipboarditem-supports",
"tags": [
"web-features:clipboard-supports"
Expand Down
Loading

0 comments on commit 1d41e2a

Please sign in to comment.