зеркало из https://github.com/mozilla/gecko-dev.git
f88f710018
If a reference is not kept, the Worker might be GCd before the test compteles. If that happens, the test times out as it tries to detach a worker that has already been destroyed. The state object is kept around for the duration of the tests so keeping a reference in the state object ensures the worker lifetime matches that of the test. MozReview-Commit-ID: 31F54vHlm3z --HG-- extra : transplant_source : %C1%97%D86%09Bd%AB%E8%08%98%D4%29%25S%A3%B8%2C%8E%11 |
||
---|---|---|
.. | ||
test | ||
client.js | ||
js-property-provider.js | ||
moz.build | ||
network-helper.js | ||
network-monitor.js | ||
server-logger-monitor.js | ||
server-logger.js | ||
utils.js | ||
worker-utils.js |