Skip to content
A mechanism to selectively enable and disable browser features and APIs
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
policies fix typo in header name (#285) Mar 7, 2019
.gitignore Enable Travis to auto-build HTML output Jun 19, 2018
.travis.yml Enable Travis to auto-build HTML output Jun 19, 2018 Update web-platform-tests URLs Jun 11, 2018 Adding baseline Jul 5, 2016 Fix links in Dec 22, 2018 Add executable bit to Jun 19, 2018
deploy_key.enc Update Feb 22, 2019 Fix typo in link Dec 22, 2018 fix typo in ReportingObserver example (#283) Feb 28, 2019 Update (#290) Apr 1, 2019 Update Jul 25, 2018 Create Jan 29, 2019
w3c.json Minor tweak Mar 21, 2019

Feature Policy

A web platform API which gives a website the ability to allow and deny the use of browser features in its own frame, and in iframes that it embeds. Examples of features that could be controlled by feature policy include:

  • getUserMedia (Camera, Speakers and Microphone)
  • Fullscreen
  • Geolocation
  • MIDI
  • Payments
  • Synchronous XHR
  • Synchronous scripts
  • Lazyload
  • ...

The spec is hosted on this repo, at

For more explanation, use cases, examples, etc., please refer to the explainer document.

Questions, suggestions? Please open an issue or send a pull request!

You can’t perform that action at this time.