summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/tests/browser/browser_async.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mochitest/tests/browser/browser_async.js')
-rw-r--r--testing/mochitest/tests/browser/browser_async.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/mochitest/tests/browser/browser_async.js b/testing/mochitest/tests/browser/browser_async.js
new file mode 100644
index 000000000..51ba0700e
--- /dev/null
+++ b/testing/mochitest/tests/browser/browser_async.js
@@ -0,0 +1,8 @@
+function test() {
+ waitForExplicitFinish();
+ function done() {
+ ok(true, "timeout ran");
+ finish();
+ }
+ setTimeout(done, 10000);
+}