)]}'
{"id": 5159559872249856, "name": "js-profiling in dedicated workers", "summary": "Allows js-profiling in dedicated workers\n\nThis feature enables the JavaScript Self\u2011Profiling (js-profiling) API in Dedicated Workers, while remaining gated by Document Policy. It allows developers to obtain low\u2011overhead CPU attribution for JavaScript execution in workers, with Document Policy support for workers tracked separately.", "markdown_fields": [], "blink_components": ["Blink>PerformanceAPIs"], "star_count": 92, "search_tags": [], "created": {"by": "monicach@microsoft.com", "when": "2026-02-13 20:06:56.827526"}, "updated": {"by": "monicach@microsoft.com", "when": "2026-11-23 22:46:58.579117"}, "category": "JavaScript", "category_int": 10, "feature_notes": null, "web_feature": "profiler", "is_official_web_feature": true, "webdx_usecounter_enum": null, "enterprise_feature_categories": [], "enterprise_product_category": 0, "is_releasenotes_content_reviewed": false, "is_releasenotes_publish_ready": false, "stages": [{"id": 5157301860302848, "created": "2026-02-13 20:06:57.470942", "feature_id": 5159559872249856, "stage_type": 110, "display_name": null, "pm_emails": [], "tl_emails": [], "ux_emails": [], "te_emails": [], "intent_thread_url": null, "announcement_url": null, "experiment_goals": null, "experiment_risks": null, "origin_trial_id": null, "origin_trial_feedback_url": null, "ot_action_requested": false, "ot_approval_buganizer_component": null, "ot_approval_buganizer_custom_field_id": null, "ot_approval_criteria_url": null, "ot_approval_group_email": null, "ot_chromium_trial_name": null, "ot_description": null, "ot_display_name": null, "ot_documentation_url": null, "ot_emails": [], "ot_feedback_submission_url": null, "ot_has_third_party_support": false, "ot_is_critical_trial": false, "ot_is_deprecation_trial": false, "ot_owner_email": null, "ot_requester_email": null, "ot_require_approvals": false, "ot_use_counter_bucket_number": null, "ot_webfeature_use_counter": null, "extensions": [], "experiment_extension_reason": null, "ot_stage_id": null, "finch_url": null, "rollout_milestone": null, "rollout_platforms": [], "rollout_details": null, "rollout_impact": 2, "rollout_stage_plan": null, "enterprise_policies": [], "desktop_first": null, "android_first": null, "ios_first": null, "webview_first": null, "desktop_last": null, "android_last": null, "ios_last": null, "webview_last": null}, {"id": 5115145212788736, "created": "2026-02-13 20:06:57.529438", "feature_id": 5159559872249856, "stage_type": 120, "display_name": null, "pm_emails": [], "tl_emails": [], "ux_emails": [], "te_emails": [], "intent_thread_url": "https://groups.google.com/a/chromium.org/d/msgid/blink-dev/69975252.050a0220.1f729.0da6.GAE%40google.com", "announcement_url": null, "experiment_goals": null, "experiment_risks": null, "origin_trial_id": null, "origin_trial_feedback_url": null, "ot_action_requested": false, "ot_approval_buganizer_component": null, "ot_approval_buganizer_custom_field_id": null, "ot_approval_criteria_url": null, "ot_approval_group_email": null, "ot_chromium_trial_name": null, "ot_description": null, "ot_display_name": null, "ot_documentation_url": null, "ot_emails": [], "ot_feedback_submission_url": null, "ot_has_third_party_support": false, "ot_is_critical_trial": false, "ot_is_deprecation_trial": false, "ot_owner_email": null, "ot_requester_email": null, "ot_require_approvals": false, "ot_use_counter_bucket_number": null, "ot_webfeature_use_counter": null, "extensions": [], "experiment_extension_reason": null, "ot_stage_id": null, "finch_url": null, "rollout_milestone": null, "rollout_platforms": [], "rollout_details": null, "rollout_impact": 2, "rollout_stage_plan": null, "enterprise_policies": [], "desktop_first": null, "android_first": null, "ios_first": null, "webview_first": null, "desktop_last": null, "android_last": null, "ios_last": null, "webview_last": null}, {"id": 5174641045929984, "created": "2026-02-13 20:06:57.658292", "feature_id": 5159559872249856, "stage_type": 130, "display_name": null, "pm_emails": [], "tl_emails": [], "ux_emails": [], "te_emails": [], "intent_thread_url": null, "announcement_url": null, "experiment_goals": null, "experiment_risks": null, "origin_trial_id": null, "origin_trial_feedback_url": null, "ot_action_requested": false, "ot_approval_buganizer_component": null, "ot_approval_buganizer_custom_field_id": null, "ot_approval_criteria_url": null, "ot_approval_group_email": null, "ot_chromium_trial_name": null, "ot_description": null, "ot_display_name": null, "ot_documentation_url": null, "ot_emails": [], "ot_feedback_submission_url": null, "ot_has_third_party_support": false, "ot_is_critical_trial": false, "ot_is_deprecation_trial": false, "ot_owner_email": null, "ot_requester_email": null, "ot_require_approvals": false, "ot_use_counter_bucket_number": null, "ot_webfeature_use_counter": null, "extensions": [], "experiment_extension_reason": null, "ot_stage_id": null, "finch_url": null, "rollout_milestone": null, "rollout_platforms": [], "rollout_details": null, "rollout_impact": 2, "rollout_stage_plan": null, "enterprise_policies": [], "desktop_first": 154, "android_first": null, "ios_first": null, "webview_first": null, "desktop_last": null, "android_last": null, "ios_last": null, "webview_last": null}, {"id": 5192627429441536, "created": "2026-02-13 20:06:57.735215", "feature_id": 5159559872249856, "stage_type": 140, "display_name": null, "pm_emails": [], "tl_emails": [], "ux_emails": [], "te_emails": [], "intent_thread_url": null, "announcement_url": null, "experiment_goals": null, "experiment_risks": null, "origin_trial_id": null, "origin_trial_feedback_url": null, "ot_action_requested": false, "ot_approval_buganizer_component": null, "ot_approval_buganizer_custom_field_id": null, "ot_approval_criteria_url": null, "ot_approval_group_email": null, "ot_chromium_trial_name": null, "ot_description": null, "ot_display_name": null, "ot_documentation_url": null, "ot_emails": [], "ot_feedback_submission_url": null, "ot_has_third_party_support": false, "ot_is_critical_trial": false, "ot_is_deprecation_trial": false, "ot_owner_email": null, "ot_requester_email": null, "ot_require_approvals": false, "ot_use_counter_bucket_number": null, "ot_webfeature_use_counter": null, "extensions": [], "experiment_extension_reason": null, "ot_stage_id": null, "finch_url": null, "rollout_milestone": null, "rollout_platforms": [], "rollout_details": null, "rollout_impact": 2, "rollout_stage_plan": null, "enterprise_policies": [], "desktop_first": null, "android_first": null, "ios_first": null, "webview_first": null, "desktop_last": null, "android_last": null, "ios_last": null, "webview_last": null}, {"id": 5176069961416704, "created": "2026-02-13 20:06:57.802989", "feature_id": 5159559872249856, "stage_type": 150, "display_name": null, "pm_emails": [], "tl_emails": [], "ux_emails": [], "te_emails": [], "intent_thread_url": null, "announcement_url": null, "experiment_goals": "Evaluate whether worker JavaScript stack sampling provides actionable CPU attribution in production applications. Gather feedback on trace usefulness, profiling overhead, worker lifecycle behavior and Document Policy configuration.", "experiment_risks": "Profiling introduces potential CPU and memory overhead and exposes sampled execution information. The experiment retains existing profiling restrictions and requires both trial activation and Document Policy permission. Shared Workers, Service Workers and the independent js-profiling-mode feature are excluded.", "origin_trial_id": null, "origin_trial_feedback_url": null, "ot_action_requested": false, "ot_approval_buganizer_component": null, "ot_approval_buganizer_custom_field_id": null, "ot_approval_criteria_url": null, "ot_approval_group_email": null, "ot_chromium_trial_name": null, "ot_description": null, "ot_display_name": null, "ot_documentation_url": null, "ot_emails": [], "ot_feedback_submission_url": null, "ot_has_third_party_support": false, "ot_is_critical_trial": false, "ot_is_deprecation_trial": false, "ot_owner_email": null, "ot_requester_email": null, "ot_require_approvals": false, "ot_use_counter_bucket_number": null, "ot_webfeature_use_counter": null, "extensions": [], "experiment_extension_reason": null, "ot_stage_id": null, "finch_url": null, "rollout_milestone": null, "rollout_platforms": [], "rollout_details": null, "rollout_impact": 2, "rollout_stage_plan": null, "enterprise_policies": [], "desktop_first": null, "android_first": null, "ios_first": null, "webview_first": null, "desktop_last": null, "android_last": null, "ios_last": null, "webview_last": null}, {"id": 5159169298661376, "created": "2026-02-13 20:06:57.932114", "feature_id": 5159559872249856, "stage_type": 160, "display_name": null, "pm_emails": [], "tl_emails": [], "ux_emails": [], "te_emails": [], "intent_thread_url": null, "announcement_url": null, "experiment_goals": null, "experiment_risks": null, "origin_trial_id": null, "origin_trial_feedback_url": null, "ot_action_requested": false, "ot_approval_buganizer_component": null, "ot_approval_buganizer_custom_field_id": null, "ot_approval_criteria_url": null, "ot_approval_group_email": null, "ot_chromium_trial_name": null, "ot_description": null, "ot_display_name": null, "ot_documentation_url": null, "ot_emails": [], "ot_feedback_submission_url": null, "ot_has_third_party_support": false, "ot_is_critical_trial": false, "ot_is_deprecation_trial": false, "ot_owner_email": null, "ot_requester_email": null, "ot_require_approvals": false, "ot_use_counter_bucket_number": null, "ot_webfeature_use_counter": null, "extensions": [], "experiment_extension_reason": null, "ot_stage_id": null, "finch_url": null, "rollout_milestone": null, "rollout_platforms": [], "rollout_details": null, "rollout_impact": 2, "rollout_stage_plan": null, "enterprise_policies": [], "desktop_first": null, "android_first": null, "ios_first": null, "webview_first": null, "desktop_last": null, "android_last": null, "ios_last": null, "webview_last": null}], "accurate_as_of": "2026-02-13 20:06:56.827425", "creator_email": "monicach@microsoft.com", "updater_email": "monicach@microsoft.com", "owner_emails": ["monicach@microsoft.com"], "editor_emails": ["victorhuang@microsoft.com"], "cc_emails": ["edgecin@microsoft.com"], "spec_mentor_emails": [], "unlisted": false, "deleted": false, "editors": ["victorhuang@microsoft.com"], "cc_recipients": ["edgecin@microsoft.com"], "spec_mentors": [], "creator": "monicach@microsoft.com", "feature_type": "New or changed feature", "feature_type_int": 0, "intent_stage": "None", "intent_stage_int": 0, "active_stage_id": 5176069961416704, "bug_url": "https://issues.chromium.org/issues/482085416", "launch_bug_url": null, "new_crbug_url": "https://bugs.chromium.org/p/chromium/issues/entry?components=Blink>PerformanceAPIs&blocking=482085416&cc=monicach@microsoft.com", "screenshot_links": [], "first_enterprise_notification_milestone": null, "enterprise_impact": 1, "breaking_change": false, "confidential": false, "shipping_year": 2027, "flag_name": "--enable-experimental-web-platform-features", "finch_name": "DocumentPolicyInDedicatedWorker,ProfilerAPIForDedicatedWorker", "non_finch_justification": null, "ongoing_constraints": null, "rollout_plan": 0, "rollout_plan_displayname": "Will ship enabled for all users", "motivation": "Modern web applications increasingly offload performance\u2011critical work to Dedicated Workers to keep the main thread responsive. While the JavaScript Self\u2011Profiling API provides low\u2011overhead CPU attribution for JavaScript execution, it is currently unavailable in workers due to its reliance on Document Policy, leaving developers without visibility into where CPU time is spent during background computation.\n\nEnabling js-profiling in Dedicated Workers fills this gap by allowing developers to capture representative JavaScript CPU profiles for worker execution, using the same explicit opt\u2011in and policy\u2011gated model already required for documents.", "devtrial_instructions": "https://docs.google.com/document/d/1prxxuck3NDqOjuhMkT8vykV9Fl3IQyUzdESQdxz_7pg/edit?tab=t.0", "activation_risks": "Low. Developers use the same `new Profiler({...})` / `profiler.stop()` API inside the worker. For network workers, send `Document-Policy: js-profiling` on the worker script response; for blob:/data:/about: workers, declare the policy on the creating document and it is inherited automatically (no per-worker header is possible).", "measurement": "Track successful worker Profiler construction using kJSSelfProfilingInDedicatedWorker. Collect participant feedback on diagnostic value, profiling overhead and deployment difficulties.", "availability_expectation": null, "adoption_expectation": null, "adoption_plan": null, "initial_public_proposal_url": "https://github.com/WICG/js-self-profiling/issues/33", "explainer_links": ["https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/DocumentPolicy/DocumentPolicyInWorkers.md"], "requires_embedder_support": false, "spec_link": "https://wicg.github.io/js-self-profiling/#the-profiler-interface", "api_spec": true, "automation_spec": false, "interop_compat_risks": "Low. This exposes the existing, spec-defined JS Self-Profiling Profiler API to dedicated workers behind the same Document Policy (\"js-profiling\") opt-in already required for documents. No new API surface or syntax is added; behavior for existing documents is unchanged. \n\nLocal-scheme workers (blob:, data:, about:) inherit the creator document's Document Policy, matching HTML's policy-container inheritance rules that CSP already follows. Risk is limited to differences in whether other engines adopt Document Policy and js-profiling in workers.", "all_platforms": true, "all_platforms_descr": "Yes. This is a Blink-level capability with no platform-specific dependencies; it applies on all platforms where dedicated workers and JS Self-Profiling are available.", "non_oss_deps": null, "anticipated_spec_changes": null, "security_risks": "Same profile-data exposure model as the existing document-scoped API, and gated by the same explicit Document Policy opt-in \u2014 profiling is never silently enabled. Local-scheme workers only ever inherit policy from their own creator document, so a worker cannot gain\nprofiling capability its creator did not have. No cross-origin data is exposed that the creating context could not already profile.", "ergonomics_risks": "Low. Developers use the same `new Profiler({...})` / `profiler.stop()` API inside the worker. For network workers, send `Document-Policy: js-profiling` on the worker script response; for blob:/data:/about: workers, declare the policy on the creating document and it is inherited automatically (no per-worker header is possible).", "wpt": true, "wpt_descr": "https://wpt.fyi/results/js-self-profiling/with-document-policy?label=master&label=experimental&aligned&q=document-policy", "webview_risks": null, "devrel_emails": ["devrel-chromestatus-all@google.com"], "debuggability": "Traces captured in a dedicated worker use the same Profiler trace format as the main thread (frames/resources/samples), so existing tooling that consumes js-self-profiling output works unchanged; results are posted back to the page via postMessage.", "doc_links": ["https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/DocumentPolicy/DocumentPolicyInWorkers.md"], "sample_links": ["https://docs.google.com/document/d/1prxxuck3NDqOjuhMkT8vykV9Fl3IQyUzdESQdxz_7pg/edit?tab=t.0"], "prefixed": null, "tags": [], "tag_review": null, "tag_review_status": "Pending", "tag_review_status_int": 1, "security_review_status": "Pending", "security_review_status_int": 1, "privacy_review_status": "Pending", "privacy_review_status_int": 1, "security_continuity_id": null, "security_launch_issue_id": null, "updated_display": null, "resources": {"samples": ["https://docs.google.com/document/d/1prxxuck3NDqOjuhMkT8vykV9Fl3IQyUzdESQdxz_7pg/edit?tab=t.0"], "docs": ["https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/DocumentPolicy/DocumentPolicyInWorkers.md"]}, "comments": null, "ff_views": 5, "safari_views": 5, "web_dev_views": 2, "browsers": {"chrome": {"bug": "https://issues.chromium.org/issues/482085416", "blink_components": ["Blink>PerformanceAPIs"], "devrel": ["devrel-chromestatus-all@google.com"], "owners": ["monicach@microsoft.com"], "origintrial": false, "prefixed": null, "flag": false, "status": {"text": "Proposed", "val": 2, "milestone_str": "Proposed"}, "announced": false, "desktop": null, "android": null, "webview": null, "ios": null}, "ff": {"view": {"url": null, "notes": "Firefox has not shipped JS Self-Profiling; no specific\nsignal on the worker extension.", "text": "No signal", "val": 5}}, "safari": {"view": {"url": null, "notes": "Safari has not shipped JS Self-Profiling; no specific signal\non the worker extension.", "text": "No signal", "val": 5}}, "webdev": {"view": {"text": "Positive", "val": 2, "url": null, "notes": "Partners profiling performance-critical work offloaded to\ndedicated workers have asked for CPU attribution inside workers; this is the specific capability they are waiting on. Feedback thread:\nhttps://github.com/WICG/js-self-profiling/issues/33"}}, "other": {"view": {"text": null, "val": null, "url": null, "notes": null}}}, "standards": {"spec": "https://wicg.github.io/js-self-profiling/#the-profiler-interface", "maturity": {"text": "Specification currently under development in a Working Group", "short_text": "Working draft", "val": 4}}, "is_released": false, "is_enterprise_feature": false, "experiment_timeline": null, "ai_test_eval_report": null, "ai_test_eval_run_status": null, "ai_test_eval_status_timestamp": null}