blob: 52a6ae2c22d7bc80ff8d64b681e2785609a229a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
async function handleRequest(request, response) {
response.processAsync();
const timer = Cc["@mozilla.org/timer;1"].createInstance(Ci.nsITimer);
timer.init(response.finish, 3000, Ci.nsITimer.TYPE_ONE_SHOT);
}
|