summaryrefslogtreecommitdiffstats
path: root/gfx/layers/apz/test/mochitest/helper_self_closer.html
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/apz/test/mochitest/helper_self_closer.html')
-rw-r--r--gfx/layers/apz/test/mochitest/helper_self_closer.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/gfx/layers/apz/test/mochitest/helper_self_closer.html b/gfx/layers/apz/test/mochitest/helper_self_closer.html
new file mode 100644
index 0000000000..09a9286c06
--- /dev/null
+++ b/gfx/layers/apz/test/mochitest/helper_self_closer.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<script src="/tests/SimpleTest/SimpleTest.js"></script>
+<script src="apz_test_utils.js"></script>
+<script src="/tests/SimpleTest/paint_listener.js"></script>
+<script>
+waitUntilApzStable().then(() => {
+ dump("Bye!\n");
+ window.close();
+});
+</script>
+
+See ya! (This window will close itself)