v151 · Web APIs · Permissions Policy

Policy Header Builder

Toggle the directives you need and instantly see the correct Permissions-Policy header for both old Chrome (with direct-sockets-private) and Chrome 151+ (merged into local-network and loopback-network). Use this to plan your header migration.

Chrome 151 merges direct-sockets-private into local-network + loopback-network. Sites that set direct-sockets-private in their policy headers must update to the new directives — the old name is no longer recognised.
Before Chrome 151
deprecated
Chrome 151+
removed
covers private
covers loopback

Generated header — old

Generated header — Chrome 151+

feature detection

document.featurePolicy
local-network allowed
loopback-network allowed
direct-sockets allowed

migration checklist

implementation reference

Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗