summaryrefslogtreecommitdiffstats
path: root/addon-sdk/source/test/fixtures/test.html
diff options
context:
space:
mode:
Diffstat (limited to 'addon-sdk/source/test/fixtures/test.html')
-rw-r--r--addon-sdk/source/test/fixtures/test.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/addon-sdk/source/test/fixtures/test.html b/addon-sdk/source/test/fixtures/test.html
new file mode 100644
index 000000000..70b5e31e5
--- /dev/null
+++ b/addon-sdk/source/test/fixtures/test.html
@@ -0,0 +1,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>