summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/document-policy/reporting/sync-script-reporting.html
blob: 45e1b8fc3c80315b8910c7f882da0358e73002fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html>
  <head>
    <script defer src='/resources/testharness.js'></script>
    <script defer src='/resources/testharnessreport.js'></script>
    <script defer src='../resources/document-policy-report-json.js'></script>
    <script defer src="resources/sync-script.js"></script>
  </head>
  <body>
    <!-- The presence of this script will violate the sync-script policy,
      and will trigger a report. -->
    <script>var newGlobal = true;</script>
  </body>
</html>