summaryrefslogtreecommitdiffstats
path: root/layout/reftests/reftest-sanity/scripttest-fail.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/reftest-sanity/scripttest-fail.html')
-rw-r--r--layout/reftests/reftest-sanity/scripttest-fail.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/reftest-sanity/scripttest-fail.html b/layout/reftests/reftest-sanity/scripttest-fail.html
new file mode 100644
index 0000000000..7172902f14
--- /dev/null
+++ b/layout/reftests/reftest-sanity/scripttest-fail.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>scripttest-fail</title>
+<script type="text/javascript">
+function getTestCases()
+{
+ return [
+ { testPassed: (function () { return false; }), testDescription: (function () { return "failed"; }) }
+ ];
+}
+</script>
+</head>
+<body>
+<h1>scripttest-fail</h1>
+</body>
+</html>