summaryrefslogtreecommitdiffstats
path: root/dom/browser-element/mochitest/file_browserElement_LoadEvents.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/browser-element/mochitest/file_browserElement_LoadEvents.html')
-rw-r--r--dom/browser-element/mochitest/file_browserElement_LoadEvents.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/dom/browser-element/mochitest/file_browserElement_LoadEvents.html b/dom/browser-element/mochitest/file_browserElement_LoadEvents.html
new file mode 100644
index 000000000..7e0705e9d
--- /dev/null
+++ b/dom/browser-element/mochitest/file_browserElement_LoadEvents.html
@@ -0,0 +1,14 @@
+<html>
+<body style="background-color:green;">
+
+<!-- Tests rely on the fact that there's an element in here called 'url' and
+ that there's visible text on the page. -->
+
+Aloha! My URL is <span id='url'></span>.
+
+<script>
+document.getElementById('url').innerHTML = window.location;
+</script>
+
+</body>
+</html>