summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/console/console-log-shadowrealm-manual.html
blob: b091a850c0c94fd7c97ba1670e3ee6fe4daa4613 (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<mete charset=utf-8>
<title>Console Logging Manual Test</title>
<p>Open the console inside the developer tools. It should contain one entry saying "test passed".</p>
<script>
const sr = new ShadowRealm();
sr.evaluate(`
  console.log("test passed");
`);
</script>