From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../content-security-policy/font-src/font-blacklisted-ref.html | 6 ++++++ .../tests/content-security-policy/font-src/font-blacklisted.html | 9 +++++++++ .../content-security-policy/font-src/font-whitelisted-ref.html | 6 ++++++ .../tests/content-security-policy/font-src/font-whitelisted.html | 9 +++++++++ .../tests/content-security-policy/font-src/fonts.css | 8 ++++++++ 5 files changed, 38 insertions(+) create mode 100644 testing/web-platform/tests/content-security-policy/font-src/font-blacklisted-ref.html create mode 100644 testing/web-platform/tests/content-security-policy/font-src/font-blacklisted.html create mode 100644 testing/web-platform/tests/content-security-policy/font-src/font-whitelisted-ref.html create mode 100644 testing/web-platform/tests/content-security-policy/font-src/font-whitelisted.html create mode 100644 testing/web-platform/tests/content-security-policy/font-src/fonts.css (limited to 'testing/web-platform/tests/content-security-policy/font-src') diff --git a/testing/web-platform/tests/content-security-policy/font-src/font-blacklisted-ref.html b/testing/web-platform/tests/content-security-policy/font-src/font-blacklisted-ref.html new file mode 100644 index 000000000..fdfbdd93d --- /dev/null +++ b/testing/web-platform/tests/content-security-policy/font-src/font-blacklisted-ref.html @@ -0,0 +1,6 @@ + + +csp font-src: blacklisted + +          +

The test passes if the line above are boxes in the test and glyphs in the reference.

\ No newline at end of file diff --git a/testing/web-platform/tests/content-security-policy/font-src/font-blacklisted.html b/testing/web-platform/tests/content-security-policy/font-src/font-blacklisted.html new file mode 100644 index 000000000..a430a417d --- /dev/null +++ b/testing/web-platform/tests/content-security-policy/font-src/font-blacklisted.html @@ -0,0 +1,9 @@ + + + +csp font-src: blacklisted + + + +          +

The test passes if the line above are boxes in the test and glyphs in the reference.

\ No newline at end of file diff --git a/testing/web-platform/tests/content-security-policy/font-src/font-whitelisted-ref.html b/testing/web-platform/tests/content-security-policy/font-src/font-whitelisted-ref.html new file mode 100644 index 000000000..25ad3bd75 --- /dev/null +++ b/testing/web-platform/tests/content-security-policy/font-src/font-whitelisted-ref.html @@ -0,0 +1,6 @@ + + +csp font-src: whitelisted + +          +

The test passes if the line above shows the same glyphs in the reference.

\ No newline at end of file diff --git a/testing/web-platform/tests/content-security-policy/font-src/font-whitelisted.html b/testing/web-platform/tests/content-security-policy/font-src/font-whitelisted.html new file mode 100644 index 000000000..f3558f766 --- /dev/null +++ b/testing/web-platform/tests/content-security-policy/font-src/font-whitelisted.html @@ -0,0 +1,9 @@ + + + +csp font-src: whitelisted + + + +          +

The test passes if the line above shows the same glyphs in the reference.

\ No newline at end of file diff --git a/testing/web-platform/tests/content-security-policy/font-src/fonts.css b/testing/web-platform/tests/content-security-policy/font-src/fonts.css new file mode 100644 index 000000000..30dd02cdb --- /dev/null +++ b/testing/web-platform/tests/content-security-policy/font-src/fonts.css @@ -0,0 +1,8 @@ +@font-face { + font-family: 'Halflings'; + src: url('/tools/runner/fonts/glyphicons-halflings-regular.woff') format('woff'); +} + +body { + font-family: 'Halflings', Fallback, sans-serif; +} \ No newline at end of file -- cgit v1.2.3