Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /trusted-types/HTMLScriptElement-in-xhtml-document.tentative.https.xhtml - WPT Dashboard Interop Dashboard
<?xml version="1.0" encoding="UTF-8"?>
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<meta http-equiv="Content-Security-Policy" content="require-trusted-types-for 'script'"/>
</head>
<body>
<script>
// This this a regresion test that verifies that in-tree script element in
// an xhtml document still works correctly. The test itself doesn't do much.
test(t => {
t.done();
}, "Test whether a script element still executes for XHTML documents.");
</script>
</body>
</html>