summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/location_worker.js
blob: dd35ec8a3a2c6207aa0b6c1207d9c739663c6ded (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/
 */
for (var string in self.location) {
  var value = typeof self.location[string] === "function"
              ? self.location[string]()
              : self.location[string];
  postMessage({ "string": string, "value": value });
}
postMessage({ "string": "testfinished" });