-
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 Window sub features from A to F #2109
Conversation
Thanks @keshavmesta ! It looks to me as if this is missing some items. It includes data for the following:
Looking at the sidebar for
...and these methods:
The ones I put an asterisk |
@wbamberg yes there is no compat data available for the skipped ones on MDN. |
Thanks for the clarification @keshavmesta :) |
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.
Thanks @keshavmesta ! A few comments, but they're all pretty minor :).
api/Window.json
Outdated
}, | ||
"ie": { | ||
"version_added": true, | ||
"notes": "This method is currently only proposed, is not expected to become standard, and is only implemented by recent builds of Internet Explorer." |
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.
We should omit this note, since we can capture the same information more effectively by marking it nonstandard in the data.
}, | ||
"status": { | ||
"experimental": false, | ||
"standard_track": true, |
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.
We should make this false
(i.e. it is not standard)
"version_added": true | ||
}, | ||
"firefox": { | ||
"version_added": true |
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'm not sure why this omitted the note: https://developer.mozilla.org/en-US/docs/Web/API/Window/close#Browser_compatibility.
"opera_android": { | ||
"version_added": null | ||
}, | ||
"safari": { |
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.
This also omits a note saying that the Safari version is prefixed - we should capure this, but using prefix
not a note.
That note also refers to IE, including a link that now redirects to the MDN page :). We should just scrap that part of the note.
"version_added": null | ||
}, | ||
"safari": { | ||
"version_added": true |
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.
Same issue as above for convertPointFromNodeToPage
.
api/Window.json
Outdated
}, | ||
"safari": { | ||
"version_added": "4", | ||
"notes": "?" |
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.
Same comment here, omit this.
api/Window.json
Outdated
}, | ||
"firefox": { | ||
"version_added": "1", | ||
"notes": "1.7 or earlier" |
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.
Same comment here, omit this. Use "1" or true
.
api/Window.json
Outdated
}, | ||
"firefox_android": { | ||
"version_added": true, | ||
"notes": "1.7 or earlier" |
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.
Again, omit this.
}, | ||
"status": { | ||
"experimental": false, | ||
"standard_track": true, |
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.
This is not standard according to the page "window.fullScreen is not part of any W3C specification or technical recommendation.".
api/Window.json
Outdated
@@ -2595,4 +3112,4 @@ | |||
} | |||
} | |||
} | |||
} | |||
} |
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.
Files should end with a newline.
I've pushed a commit that (I hope) addresses the review comments I had for this PR. I don't know if it needs an extra review go-round or not :). |
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.
This looks good to me now. Thanks @keshavmesta and @wbamberg 👍
Thanks @wbamberg for taking care of those review comments 👍 |
* master: (175 commits) Add Server-Timing header (mdn#2148) 40th alpha version Add compat data for input-password (mdn#2235) Add addTransceiver() method for RTCPeerConnection. (mdn#2311) Update Payments API for Chrome. (mdn#2378) Add compat data for MutationObserver (mdn#2094) Fix compat data for "let" in Chrome (mdn#1632) Safari has more formdata support now (mdn#2376) Add compat data for Window sub features from A to F (mdn#2109) Add guidelines around worker support and constructors for API subfeatures (mdn#2373) Update place-content.json (mdn#2240) Add compat data for HTMLDetailsElement (mdn#2315) Add compat data for input-month (mdn#2204) Add compat data to input-week (mdn#2230) Add compat data for input-radio (mdn#2208) Add compat data for input-tel (mdn#2226) Add compat data for input-image (mdn#2207) Add compat data for input-number (mdn#2206) Add compat data for input-hidden (mdn#2203) Add compat data for input-file (mdn#2202) ...
As discussed in #2011