On Wed, Nov 14, 2018 at 11:20 AM Boris Zbarsky <[email protected]> wrote:
> On 11/13/18 4:33 AM, Andrea Marchesini wrote: > > I decided to implement this API, because it is required in the > > web-platform-tests for FeaturePolicy. > > Is it needed for any other reason? If not, this seems like a bug in the > tests: they should not be coupling the two specs together. > It is. The Reporting API and Feature Policy are meant to be used together. For example, developers may want to reduce the usage of sync XHR on their website, but on a very complex site it may not be easy to figure out where sync XHR is being used. The idea is to use Feature Policy in report-only mode to report the usages of Sync XHR for example so that they can fix them gradually without disallowing Sync XHR using Feature Policy right off the bat. -- Ehsan _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

