[referrer-policy-tests] Referrer policy (#1807)

This PR introduces the Referrer Policy testsuite covering the draft specification https://w3c.github.io/webappsec/specs/referrer-policy/

* Add referrer-policy directory for all tests regarding the Referrer Policy specification

* Add stub for the README file on how to write these tests.

* Introduce a fundamental test: Check that a loaded subresource (e.g. an iframe) receives the refererr URL from the parent when no explicit Referrer Policy is set.

The newly added test runs successfully on x64 Linux:

* Google Chrome 42.0.2311.135 (Official Build) (64-bit)

* Mozilla Firefox 37.02.

Other browsers and OS still untested.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/1807

Received on Tuesday, 5 May 2015 13:51:21 UTC