summaryrefslogtreecommitdiffstats
path: root/caps/tests/mochitest/file_disableScript.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--caps/tests/mochitest/file_disableScript.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/caps/tests/mochitest/file_disableScript.html b/caps/tests/mochitest/file_disableScript.html
new file mode 100644
index 0000000000..f4888cd586
--- /dev/null
+++ b/caps/tests/mochitest/file_disableScript.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+var gFiredOnload = false;
+var gFiredOnclick = false;
+</script>
+</head>
+<body onload="gFiredOnload = true;" onclick="gFiredOnclick = true;">
+</body>
+</html>