Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
1 Components.utils.import("resource://gre/modules/Services.jsm");
3 function run_test() {
4 Services.prefs.setBoolPref('dom.mozTCPSocket.enabled', true);
5 run_test_in_child("../unit/test_tcpsocket.js", function() {
6 Services.prefs.clearUserPref('dom.mozTCPSocket.enabled');
7 do_test_finished();
8 });
9 }