Skip to content
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

Fix PositionOptions secure context information #2447

Merged
merged 1 commit into from
Jul 15, 2018

Conversation

ExE-Boss
Copy link
Contributor

@ExE-Boss ExE-Boss commented Jul 11, 2018

This fixes @gsouquet’s #2283.

review?(@Elchi3)

@ExE-Boss ExE-Boss force-pushed the api/parser-options branch from 2041a86 to bc18361 Compare July 11, 2018 14:03
@ddbeck ddbeck added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Jul 11, 2018
Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR, @ExE-Boss! I spotted a couple places that might need some more attention. But thank you again for catching the structural issue and starting this PR to address it.

"version_added": null
},
"webview_android": {
"version_added": false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like more than just a rearranging of the data happened here. Is there more to the story behind version "47" going away for WebView?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used the information from the Legacy compatibility table and cross-referenced this with the information in Geolocation.

"version_added": "47"
},
"edge": {
"version_added": null
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original note says secure context was not required, yet this isn't false. Is there more to the story here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

"version_added": null
},
"edge_mobile": {
"version_added": null
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as Edge desktop before it. This seems contrary to the prior data

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

"version_removed": "55",
"notes": "Secure context not required"
}
],
"ie": {
"version_added": "9",
"notes": "Secure context not required"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this note can be removed

"enableHighAccuracy": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PositionOptions/enableHighAccuracy",
"support": {
"webview_android": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change (sorting the browsers?) seems to be unrelated to the topic of the PR. I don't mind incidental clean ups in the course of another change, but for future reference, it's easier to understand and review when those changes happen in their own commits

@@ -159,14 +154,20 @@
},
{
"version_added": "10",
"version_removed": "15"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a substantive change that seems out of scope with the topic of the PR. Can you submit this change separately with the story behind it?

Copy link
Contributor Author

@ExE-Boss ExE-Boss Jul 11, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opera for Android began using Blink in version 14 (see also #1712).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’ve now moved this to #2468.

@@ -219,14 +217,20 @@
},
{
"version_added": "10",
"version_removed": "15"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As before, this is seems out of scope

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

@@ -279,14 +280,20 @@
},
{
"version_added": "10",
"version_removed": "15"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As before, this seems out of scope

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

@ExE-Boss ExE-Boss changed the title Fix ParserOptions secure context information Fix PositionOptions secure context information Jul 13, 2018
@ExE-Boss ExE-Boss force-pushed the api/parser-options branch from b649dcd to 508301f Compare July 13, 2018 21:05
@ddbeck
Copy link
Collaborator

ddbeck commented Jul 15, 2018

Thanks for the clarifications, @ExE-Boss! 🎉

@ddbeck ddbeck merged commit 0badf3b into mdn:master Jul 15, 2018
@ExE-Boss ExE-Boss deleted the api/parser-options branch July 15, 2018 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants