https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 7da4e3fdf745990e52bb535e8e6d317cd21f2121 authored by Madeleine Barowsky on 21 December 2018, 02:41:02 UTC
WIP to add native YUV support for lossy WebP without alpha in the GPU rasterization non-OOPR case.
Tip revision: 7da4e3f
TrustedTypePolicy-CSP-wildcard.tentative.html
<!DOCTYPE html>
<script src="/resources/testharness.js" ></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support/helper.sub.js"></script>

<meta http-equiv="Content-Security-Policy" content="trusted-types *">
<body>
<script>
  test(t => {
    let policy = window.TrustedTypes.createPolicy('SomeName', { createHTML: s => s } );
    assert_equals(policy.name, 'SomeName');
  }, "CSP supports wildcards.");
</script>
back to top