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 | Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd |
michael@0 | 2 | and Clark Cooper |
michael@0 | 3 | Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers. |
michael@0 | 4 | |
michael@0 | 5 | Permission is hereby granted, free of charge, to any person obtaining |
michael@0 | 6 | a copy of this software and associated documentation files (the |
michael@0 | 7 | "Software"), to deal in the Software without restriction, including |
michael@0 | 8 | without limitation the rights to use, copy, modify, merge, publish, |
michael@0 | 9 | distribute, sublicense, and/or sell copies of the Software, and to |
michael@0 | 10 | permit persons to whom the Software is furnished to do so, subject to |
michael@0 | 11 | the following conditions: |
michael@0 | 12 | |
michael@0 | 13 | The above copyright notice and this permission notice shall be included |
michael@0 | 14 | in all copies or substantial portions of the Software. |
michael@0 | 15 | |
michael@0 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
michael@0 | 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
michael@0 | 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
michael@0 | 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
michael@0 | 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
michael@0 | 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
michael@0 | 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |