summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/infrastructure
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/infrastructure')
-rw-r--r--testing/web-platform/tests/infrastructure/failing-test.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/infrastructure/failing-test.html b/testing/web-platform/tests/infrastructure/failing-test.html
new file mode 100644
index 000000000..249099c06
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/failing-test.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<meta charset=utf-8>
+<title>Failing test</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script>
+test(function() {
+ assert_unreached("Expected failure");
+});
+</script>