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.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <bindings id="xbltestBindings" xmlns="http://www.mozilla.org/xbl"> |
michael@0 | 3 | <binding id="xbltest"> |
michael@0 | 4 | <content>PASS</content> |
michael@0 | 5 | <implementation> |
michael@0 | 6 | <constructor> |
michael@0 | 7 | var win = XPCNativeWrapper.unwrap(window); |
michael@0 | 8 | var SpecialPowers = win.SpecialPowers; |
michael@0 | 9 | var is = win.is; |
michael@0 | 10 | var todo_is = win.todo_is; |
michael@0 | 11 | var ok = win.ok; |
michael@0 | 12 | var legacyMozPrefixedInterfaces = win.legacyMozPrefixedInterfaces; |
michael@0 | 13 | var createInterfaceMap = win.createInterfaceMap; |
michael@0 | 14 | eval(win.runTest.toString()); |
michael@0 | 15 | runTest(true); |
michael@0 | 16 | win.SimpleTest.finish(); |
michael@0 | 17 | </constructor> |
michael@0 | 18 | </implementation> |
michael@0 | 19 | </binding> |
michael@0 | 20 | </bindings> |