summaryrefslogtreecommitdiffstats
path: root/addon-sdk/source/test/fixtures/test.html
blob: 70b5e31e560ad9747f9b2ebf3762fa842c8d1a4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<html>
  <head>
    <meta charset="UTF-8">
    <title>foo</title>
  </head>
  <body>
    <p>bar</p>
    <script>
    function getTestURL() {
      return window.document.documentURI + "";
    }
    function changesInWindow() {
      window.document.documentElement.setAttribute('test', 'changes in window');
      return null;
    }
    function getAUQLUE() {
      return "AUQLUE" in window;
    }
    </script>
  </body>
</html>