Skip to content

Conversation

@ddbeck
Copy link
Collaborator

@ddbeck ddbeck commented Nov 11, 2025

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:

There 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.

@github-actions github-actions bot added the feature definition Creating or defining new features or groups of features. label Nov 11, 2025
@ddbeck ddbeck force-pushed the deprecate-privacy-sandbox branch 2 times, most recently from 7957bb3 to e5ff69e Compare November 12, 2025 18:30
@ddbeck ddbeck force-pushed the deprecate-privacy-sandbox branch from e5ff69e to 3276862 Compare November 12, 2025 18:32
@ddbeck ddbeck changed the title Mark several privacy sandbox features as deprecated Mark several privacy sandbox features as discouraged Nov 12, 2025
@ddbeck ddbeck marked this pull request as ready for review November 12, 2025 18:36
Comment on lines -8 to 13
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);
Copy link
Collaborator Author

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.

@ddbeck
Copy link
Collaborator Author

ddbeck commented Dec 12, 2025

@github-actions github-actions bot added the tools and infrastructure Project internal tooling, such as linters, GitHub Actions, or repo settings label Dec 12, 2025
@ddbeck ddbeck force-pushed the deprecate-privacy-sandbox branch from 3426b70 to c7e9327 Compare December 12, 2025 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature definition Creating or defining new features or groups of features. tools and infrastructure Project internal tooling, such as linters, GitHub Actions, or repo settings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant