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