dom/workers/test/location_worker.js

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:004b8cc2c522
1 /**
2 * Any copyright is dedicated to the Public Domain.
3 * http://creativecommons.org/publicdomain/zero/1.0/
4 */
5 for (var string in self.location) {
6 var value = typeof self.location[string] === "function"
7 ? self.location[string]()
8 : self.location[string];
9 postMessage({ "string": string, "value": value });
10 }
11 postMessage({ "string": "testfinished" });

mercurial