-
Notifications
You must be signed in to change notification settings - Fork 224
Mark several privacy sandbox features as discouraged #3526
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
Mark several privacy sandbox features as discouraged #3526
Conversation
7957bb3 to
e5ff69e
Compare
e5ff69e to
3276862
Compare
| export function convertMarkdown(markdown: string) { | ||
| export function convertMarkdown(markdown: unknown) { | ||
| if (typeof markdown !== "string") { | ||
| throw new Error(`${markdown} is not a string!`); | ||
| } | ||
|
|
||
| const mdTree = unified().use(remarkParse).parse(markdown); |
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.
Remark stringifies anything, apparently, converting undefined to the string "undefined". This throw ought to stop us from "successfully" converting missing fields to strings.
|
This is becoming more urgent as BCD has started marking the keys as deprecated: |
3426b70 to
c7e9327
Compare
captainbrosset
left a comment
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.
@foolip could someone from Google please review this PR?
|
For info, the Privacy Sandbox status page proved a useful resource to find up to date information on this: https://privacysandbox.google.com/overview/status |
captainbrosset
left a comment
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.
Making some suggestions as per Sam's review.
captainbrosset
left a comment
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.
More suggestions (this PR is from Daniel's fork, so I can't contribute to it directly).
Google is deprecating a number of privacy sandbox features I think all of them are single implementer, so they'll qualify for deprecation in BCD and end up here too. No reason not to get ahead a little. Features affected:
attribution-reportingprotected-audience(see Addprotected-audiencefeature #2635)storage-access(break outrequestStorageAccessFor())shared-storagetopicsThere are questions about Edge on some of these, so there's some more research to be done on this.
via mdn/browser-compat-data#28417, where there's a nice list of links to intent-to-deprecate messages.