title: Remove error messages when using an unrecognized feature with Feature-Policy in Chrome
body: <p>I'm adding <a href="https://developers.google.com/web/updates/2018/06/feature-policy" rel="noreferrer">Feature-Policy</a> in HTTP headers of an application. It works well but I have this kind of messages on Chrome : </p>
  
  <pre><code>Error with Feature-Policy header: Unrecognized feature: 'document-domain'.
  </code></pre>
  
  <p>This feature isn't recognized by Chrome but it is with Firefox. This messages cause problems on the test suite of the app.</p>
  
  <p>I checked in <a href="https://peter.sh/experiments/chromium-command-line-switches/" rel="noreferrer">the list of switches</a> we can use with Chrome but didn't found the right one. I know it's probably possible to change header depending off the browsers used but this is a pain in the ass. The ideal would be to add something in headers.</p>
  
  <p>What's the best solution ?</p>