-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add compat data for Response (Fetch API) #940
Conversation
api/Response.json
Outdated
} | ||
], | ||
"opera_android": { | ||
"version_added": false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"opera_android"
should match "opera"
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
api/Response.json
Outdated
"deprecated": false | ||
} | ||
}, | ||
"body_formdata": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove this. It is stored here https://github.com/mdn/browser-compat-data/blob/master/api/Body.json#L380
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
api/Response.json
Outdated
} | ||
} | ||
}, | ||
"redirected_attribute": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this, it is redundant with the entry for redirected
below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
api/Response.json
Outdated
"flags": [ | ||
{ | ||
"type": "preference", | ||
"name": "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Experimental Web Platform Features"
api/Response.json
Outdated
"__compat": { | ||
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Response", | ||
"support": { | ||
"webview_android": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be
"webview_android": [
{
"version_added": "42"
},
{
"version_added": "41",
"flags": [
{
"type": "preference",
"name": "Experimental Web Platform Features"
}
]
}
],
"chrome": [
{
"version_added": "42"
},
{
"version_added": "41",
"flags": [
{
"type": "preference",
"name": "Experimental Web Platform Features"
}
]
}
],
"chrome_android": [
{
"version_added": "42"
},
{
"version_added": "41",
"flags": [
{
"type": "preference",
"name": "Experimental Web Platform Features"
}
]
}
],
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
api/Response.json
Outdated
"flags": [ | ||
{ | ||
"type": "preference", | ||
"name": "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Experimental Web Platform Features"
api/Response.json
Outdated
"flags": [ | ||
{ | ||
"type": "preference", | ||
"name": "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dom.fetch.enabled
api/Response.json
Outdated
"flags": [ | ||
{ | ||
"type": "preference", | ||
"name": "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Experimental Web Platform Features"
api/Response.json
Outdated
"flags": [ | ||
{ | ||
"type": "preference", | ||
"name": "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Experimental Web Platform Features"
api/Response.json
Outdated
"flags": [ | ||
{ | ||
"type": "preference", | ||
"name": "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dom.fetch.enabled
api/Response.json
Outdated
"flags": [ | ||
{ | ||
"type": "preference", | ||
"name": "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Experimental Web Platform Features"
Should be good to go now! :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
There's no trace of this in Chromium, Gecko or WebKit, with no case-insensitive matches for "usefinalurl" at all. The closest thing is that there was once a TODO for `finalURL` in Blink which was removed: https://bugs.chromium.org/p/chromium/issues/detail?id=455112 This is from the initial wiki migration: mdn#940 The version numbers match the parent feature and many sibling features, and was probably copied.
There's no trace of this in Chromium, Gecko or WebKit, with no case-insensitive matches for "usefinalurl" at all. The closest thing is that there was once a TODO for `finalURL` in Blink which was removed: https://bugs.chromium.org/p/chromium/issues/detail?id=455112 This is from the initial wiki migration: #940 The version numbers match the parent feature and many sibling features, and was probably copied.
https://developer.mozilla.org/en-US/docs/Web/API/Response