- From: Monica Chintala <notifications@github.com>
- Date: Thu, 03 Dec 2026 14:47:52 -0800
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3ctag/design-reviews/issues/1318@github.com>
monica-ch created an issue (w3ctag/design-reviews#1318) ### Specification https://wicg.github.io/js-self-profiling/#the-profiler-interface-policy, https://github.com/WICG/document-policy/pull/46 ### Explainer https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/DocumentPolicy/DocumentPolicyInWorkers.md ### Links - Previous early design review, if any: https://github.com/w3ctag/design-reviews/issues/366 (original js-profiling API) - An introduction to the feature, aimed at unfamiliar audiences: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/DocumentPolicy/DocumentPolicyInWorkers.md#introduction - A description of the problems that end-users were facing before this proposal: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/DocumentPolicy/DocumentPolicyInWorkers.md#motivation - Alternatives considered: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/DocumentPolicy/DocumentPolicyInWorkers.md#considered-alternatives - Examples of how to use the proposal to solve the end-users' problems: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/DocumentPolicy/DocumentPolicyInWorkers.md#proposed-solution-use-document-policy-response-headers-as-authoritative-inherit-only-for-local-schemes - What do the end-users experience with this proposal: NA - User research you did to validate the problem and/or design, if any: https://github.com/WICG/js-self-profiling/issues/33#issuecomment-6518548760 - Web Platform Tests: https://github.com/web-platform-tests/wpt/tree/master/js-self-profiling/with-document-policy ### The specification - [ ] Follows the [Web Platform Design Principles](https://www.w3.org/TR/design-principles/). - [ ] Includes Security and Privacy Considerations sections based on answers to the [Security/Privacy Questionnaire](https://www.w3.org/TR/security-privacy-questionnaire/). ### Where and by whom is the work is being done? - GitHub repo: https://github.com/WICG/js-self-profiling/ - Primary contacts: - Monica Chintala (@monica-ch, Microsoft, Origin Trial lead) - Victor Huang (@victorhuangwq, Microsoft Edge, PM) - Organization/project driving the specification: Microsoft Edge - This work is being funded by: Microsoft - Primary standards group developing this feature: WICG (js-self-profiling, document-policy) - Group intended to standardize this work: NA - Incubation and standards groups that have discussed the design: - Mozilla / WebKit: No formal standards-positions yet; @annevk (WebKit) opened WICG/document-policy#34 and gave positive feedback on policy-container alignment in WICG/js-self-profiling#33. - ChromeStatus: https://chromestatus.com/feature/5159559872249856 (JS Self-Profiling in dedicated workers), https://chromestatus.com/feature/6242687411945472 (Document Policy in dedicated workers) ### Feedback so far - Multi-stakeholder feedback: - Chromium comments: Implemented in Chromium behind experimental flags (`DocumentPolicyInDedicatedWorker`, `ProfilerAPIForDedicatedWorker`) - Mozilla comments: No signal yet. The base JS Self-Profiling API is not implemented in Gecko; no standards position has been requested for this extension - WebKit comments: https://github.com/WebKit/standards-positions/issues/717 (JS Self-Profiling API, open). `@annevk` (WebKit) opened https://github.com/WICG/document-policy/issues/34 to align Document Policy with HTML's policy container and gave positive feedback on this direction in https://github.com/WICG/js-self-profiling/issues/33 - Developer feedback: Datadog tested the Chromium implementation including `Document-Policy` inheritance for `blob:` dedicated workers and confirmed samples and frames work as expected, and plans to use it internally and integrate it into Datadog's Browser SDK (https://github.com/WICG/js-self-profiling/issues/33#issuecomment-6518548760). ### You should also know that... Dedicated network workers use their top-level script response's Document-Policy header; blob:/data: workers inherit the creator's enforced policy. Required Document Policy negotiation. We are preparing an Origin Trial in chromium soon <!-- Content below this is maintained by @w3c-tag-bot --> --- Track conversations at https://tag-github-bot.w3.org/gh/w3ctag/design-reviews/1318 -- Reply to this email directly or view it on GitHub: https://github.com/w3ctag/design-reviews/issues/1318 You are receiving this because you are subscribed to this thread. Message ID: <w3ctag/design-reviews/issues/1318@github.com>
Received on Thursday, 3 December 2026 22:47:57 UTC