https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 7c998af1493f2690b300d7ec321bcc62bf428fca authored by Brandon Jones on 21 December 2018, 18:45:11 UTC
Replace XRCoodinateSystem/FrameOfReference with XRSpace/XRReferenceSpace
Tip revision: 7c998af
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