Skip to content

Commit

Permalink
Remove api.Node.localName/namespaceURI/prefix
Browse files Browse the repository at this point in the history
api.Element.prefix was 13 for Edge, but confirmed to have been in 12 by
mdn-bcd-collector: foolip/mdn-bcd-results#1772

Notes on api.Node.prefix:
- "this property was read-write; starting with Firefox 5.0 it is
  read-only, following the specification" not necessary to capture even
  if had been a recent change, as the old behavior was a superset of the
  new behavior.
- "Only supported on <code>Element</code>" captured by the IE support
  on api.Attr.prefix being false, like for localName and namespaceURI.

Fixes #6545.
  • Loading branch information
foolip committed Mar 22, 2021
1 parent 12b458f commit 29c1c47
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 223 deletions.
72 changes: 24 additions & 48 deletions api/Attr.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,34 +52,28 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Attr/localName",
"support": {
"chrome": {
"version_added": "46",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "1"
},
"chrome_android": {
"version_added": "46",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "18"
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "48",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "1"
},
"firefox_android": {
"version_added": "48",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "4"
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "33",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "≤12.1"
},
"opera_android": {
"version_added": "33",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "≤12.1"
},
"safari": {
"version_added": "1.3"
Expand All @@ -88,12 +82,10 @@
"version_added": "1"
},
"samsunginternet_android": {
"version_added": "5.0",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "1.0"
},
"webview_android": {
"version_added": "46",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "1"
}
},
"status": {
Expand Down Expand Up @@ -155,34 +147,28 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Attr/namespaceURI",
"support": {
"chrome": {
"version_added": "46",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "1"
},
"chrome_android": {
"version_added": "46",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "18"
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "48",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "1"
},
"firefox_android": {
"version_added": "48",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "4"
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "33",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "≤12.1"
},
"opera_android": {
"version_added": "33",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "≤12.1"
},
"safari": {
"version_added": "1.3"
Expand All @@ -191,12 +177,10 @@
"version_added": "1"
},
"samsunginternet_android": {
"version_added": "5.0",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "1.0"
},
"webview_android": {
"version_added": "46",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "1"
}
},
"status": {
Expand Down Expand Up @@ -258,34 +242,28 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Attr/prefix",
"support": {
"chrome": {
"version_added": "46",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "1"
},
"chrome_android": {
"version_added": "46",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "18"
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "48",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "1"
},
"firefox_android": {
"version_added": "48",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "4"
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "33",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "≤12.1"
},
"opera_android": {
"version_added": "33",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "≤12.1"
},
"safari": {
"version_added": "1.3"
Expand All @@ -294,12 +272,10 @@
"version_added": "1"
},
"samsunginternet_android": {
"version_added": "5.0",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "1.0"
},
"webview_android": {
"version_added": "46",
"notes": "This API was previously available on the <a href='https://developer.mozilla.org/docs/Web/API/Node'><code>Node</code></a> API."
"version_added": "1"
}
},
"status": {
Expand Down
74 changes: 27 additions & 47 deletions api/Element.json
Original file line number Diff line number Diff line change
Expand Up @@ -5081,23 +5081,19 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/localName",
"support": {
"chrome": {
"version_added": "31",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "1"
},
"chrome_android": {
"version_added": "31",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "18"
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "48",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "1"
},
"firefox_android": {
"version_added": "48",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "4"
},
"ie": {
"version_added": "9"
Expand All @@ -5109,18 +5105,16 @@
"version_added": "≤12.1"
},
"safari": {
"version_added": "10"
"version_added": "1"
},
"safari_ios": {
"version_added": "10"
"version_added": "1"
},
"samsunginternet_android": {
"version_added": "2.0",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "1.0"
},
"webview_android": {
"version_added": "4.4.3",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "1"
}
},
"status": {
Expand Down Expand Up @@ -5719,48 +5713,40 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/namespaceURI",
"support": {
"chrome": {
"version_added": "31",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "1"
},
"chrome_android": {
"version_added": "31",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "18"
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "48",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "1"
},
"firefox_android": {
"version_added": "48",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "4"
},
"ie": {
"version_added": "9"
},
"opera": {
"version_added": "≤12.1",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "≤12.1"
},
"opera_android": {
"version_added": "≤12.1",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "≤12.1"
},
"safari": {
"version_added": "10"
"version_added": "1"
},
"safari_ios": {
"version_added": "10"
"version_added": "1"
},
"samsunginternet_android": {
"version_added": "2.0",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "1.0"
},
"webview_android": {
"version_added": "4.4.3",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "1"
}
},
"status": {
Expand Down Expand Up @@ -6290,23 +6276,19 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/prefix",
"support": {
"chrome": {
"version_added": "31",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "1"
},
"chrome_android": {
"version_added": "31",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "18"
},
"edge": {
"version_added": "13"
"version_added": "12"
},
"firefox": {
"version_added": "48",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "1"
},
"firefox_android": {
"version_added": "48",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "4"
},
"ie": {
"version_added": "9"
Expand All @@ -6318,18 +6300,16 @@
"version_added": "≤12.1"
},
"safari": {
"version_added": "10"
"version_added": "1"
},
"safari_ios": {
"version_added": "10"
"version_added": "1"
},
"samsunginternet_android": {
"version_added": "2.0",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "1.0"
},
"webview_android": {
"version_added": "4.4.3",
"notes": "This API was previously available on the <code>Node</code> API."
"version_added": "1"
}
},
"status": {
Expand Down
Loading

0 comments on commit 29c1c47

Please sign in to comment.