summaryrefslogtreecommitdiffstats
path: root/dom/serviceworkers/test/update_worker.sjs
blob: 44782a2732d57f4b5f08e5057b44ea39a92fbc6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";

function handleRequest(request, response) {
  // This header is necessary for making this script able to be loaded.
  response.setHeader("Content-Type", "application/javascript");

  var body = "/* " + Date.now() + " */";
  response.write(body);
}