Skip to content

Commit

Permalink
Add Document member support notes for Chrome (#25619)
Browse files Browse the repository at this point in the history
This includes some fixes where current data was wrong:
- `hasFocus` was only added in Chrome 34
- `close`, `open`, `writeln` were already fixed in Chrome 45.
- `dir`, `embeds`, `plugins` were already fixed in Chrome 36.
  • Loading branch information
caugner authored Jan 10, 2025
1 parent a87dc17 commit f77a043
Showing 1 changed file with 57 additions and 25 deletions.
82 changes: 57 additions & 25 deletions api/Document.json
Original file line number Diff line number Diff line change
Expand Up @@ -1384,11 +1384,11 @@
"support": {
"chrome": [
{
"version_added": "64"
"version_added": "45"
},
{
"version_added": "1",
"version_removed": "64",
"version_removed": "45",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
Expand Down Expand Up @@ -1466,9 +1466,17 @@
"web-features:dom"
],
"support": {
"chrome": {
"version_added": "1"
},
"chrome": [
{
"version_added": "8"
},
{
"version_added": "1",
"version_removed": "8",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
],
"chrome_android": "mirror",
"edge": {
"version_added": "12"
Expand Down Expand Up @@ -2601,9 +2609,17 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/designMode",
"spec_url": "https://html.spec.whatwg.org/multipage/interaction.html#dom-document-designmode-dev",
"support": {
"chrome": {
"version_added": "1"
},
"chrome": [
{
"version_added": "36"
},
{
"version_added": "1",
"version_removed": "36",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
],
"chrome_android": "mirror",
"edge": {
"version_added": "12"
Expand Down Expand Up @@ -2655,11 +2671,11 @@
"support": {
"chrome": [
{
"version_added": "64"
"version_added": "36"
},
{
"version_added": "1",
"version_removed": "64",
"version_removed": "36",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
Expand Down Expand Up @@ -3022,11 +3038,11 @@
"support": {
"chrome": [
{
"version_added": "64"
"version_added": "36"
},
{
"version_added": "1",
"version_removed": "64",
"version_removed": "36",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
Expand Down Expand Up @@ -4868,7 +4884,7 @@
],
"support": {
"chrome": {
"version_added": "2"
"version_added": "34"
},
"chrome_android": "mirror",
"edge": {
Expand Down Expand Up @@ -5652,11 +5668,11 @@
"support": {
"chrome": [
{
"version_added": "64"
"version_added": "45"
},
{
"version_added": "1",
"version_removed": "64",
"version_removed": "45",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
Expand Down Expand Up @@ -5869,11 +5885,11 @@
"support": {
"chrome": [
{
"version_added": "64"
"version_added": "36"
},
{
"version_added": "1",
"version_removed": "64",
"version_removed": "36",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
Expand Down Expand Up @@ -7689,9 +7705,17 @@
"web-features:dom"
],
"support": {
"chrome": {
"version_added": "1"
},
"chrome": [
{
"version_added": "36"
},
{
"version_added": "1",
"version_removed": "36",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
],
"chrome_android": "mirror",
"edge": {
"version_added": "12"
Expand Down Expand Up @@ -8613,9 +8637,17 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/write",
"spec_url": "https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-document-write-dev",
"support": {
"chrome": {
"version_added": "1"
},
"chrome": [
{
"version_added": "45"
},
{
"version_added": "1",
"version_removed": "45",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
],
"chrome_android": "mirror",
"edge": {
"version_added": "12"
Expand Down Expand Up @@ -8664,11 +8696,11 @@
"support": {
"chrome": [
{
"version_added": "64"
"version_added": "45"
},
{
"version_added": "1",
"version_removed": "64",
"version_removed": "45",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
Expand Down

0 comments on commit f77a043

Please sign in to comment.