Backed out changeset 06f41c22f3a6 (bug 1888460) for causing linux xpcshell failures...
[gecko.git] / dom / workers / test / location_worker.js
blob2f16364e1fd415e009b579f7c99d2acfca7fbde2
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 =
7     typeof self.location[string] === "function"
8       ? self.location[string]()
9       : self.location[string];
10   postMessage({ string, value });
12 postMessage({ string: "testfinished" });