   window.trustedTypes.createPolicy("default",
                                     { createHTML: x => x.toUpperCase()});
    div.innerHTML = "abcd";
    assert_equals(div.innerHTML, "ABCD");
  }, "Default Trusted Types policy in a sandboxed page with allow-scripts.");
</script>
