-
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
API/Credential: deprecate name + add Firefox compat data #2275
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
"version_added": "51" | ||
}, | ||
"firefox": { | ||
"version_added": null | ||
"version_added": "60" | ||
}, | ||
"firefox_android": { | ||
"version_added": null | ||
|
@@ -58,7 +58,7 @@ | |
"version_added": "51" | ||
}, | ||
"firefox": { | ||
"version_added": null | ||
"version_added": "60" | ||
}, | ||
"firefox_android": { | ||
"version_added": null | ||
|
@@ -103,7 +103,7 @@ | |
"version_added": "51" | ||
}, | ||
"firefox": { | ||
"version_added": null | ||
"version_added": "60" | ||
}, | ||
"firefox_android": { | ||
"version_added": null | ||
|
@@ -139,19 +139,25 @@ | |
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Credential/name", | ||
"support": { | ||
"webview_android": { | ||
"version_added": "51" | ||
"version_added": "51", | ||
"version_removed": "52", | ||
"notes": "See <a href='https://crbug.com/602980'>Bug 602980</a>." | ||
}, | ||
"chrome": { | ||
"version_added": "51" | ||
"version_added": "51", | ||
"version_removed": "52", | ||
"notes": "See <a href='https://crbug.com/602980'>Bug 602980</a>." | ||
}, | ||
"chrome_android": { | ||
"version_added": "51" | ||
"version_added": "51", | ||
"version_removed": "52", | ||
"notes": "See <a href='https://crbug.com/602980'>Bug 602980</a>." | ||
}, | ||
"firefox": { | ||
"version_added": null | ||
"version_added": false | ||
}, | ||
"firefox_android": { | ||
"version_added": null | ||
"version_added": false | ||
}, | ||
"ie": { | ||
"version_added": null | ||
|
@@ -173,9 +179,9 @@ | |
} | ||
}, | ||
"status": { | ||
"experimental": true, | ||
"standard_track": true, | ||
"deprecated": false | ||
"experimental": false, | ||
"standard_track": false, | ||
"deprecated": true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I realize representing mixins is a bit odd (#472), but this status seems off to me: https://w3c.github.io/webappsec-credential-management/#credentialuserdata Maybe this data needs to be moved? Or returned to experimental and standard track? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To be honest, I wasn't really aware of the mixin situation. Strictly speaking, Would it be a bad idea to extract There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Well, the discussion on #472 makes it sound like the right way to go is to document mixin interfaces as if they were part of the interface that inherits from the mixin. I get the impression that mixins are a sort of shorthand for spec authors to say that two or more interfaces will have some semantics in common, not that browsers will necessarily implement them as named mixins. So in this case, I'd expect to see features for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alright. Should we maybe describe the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. PS: To be honest, I personally tend to prefer having mixins separated and handle them like parent interfaces. Recently I edited the HashChangeEvent article which had listed There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I'm with you that mixins are confusing. I like your
Does that sound OK to you? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you very much, let's do this (see ccdd0da)! :-) |
||
} | ||
} | ||
} | ||
|
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.
Out of curiosity, where did the 52 number come from? I couldn't figure it out from the links.
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 remember that it was a bit tricky, because removed lines don't show up in the blame view, but here's the Chromium diff that removes
name
andiconURL
fromCredential
(and extracts it into a new super-interfaceSiteBoundCredential
):https://chromium.googlesource.com/chromium/src/+/be6cc81fc74f63c8e134525bbf15ea966c8403d5%5E%21/#F5
And I (hopefully) verified the
version_added
with this blame:https://chromium.googlesource.com/chromium/src/+blame/3df6ff1f5b8a0732469c57e56c805aefde17ebfe/third_party/WebKit/Source/modules/credentialmanager/Credential.idl