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 <?xml version="1.0"?>
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <body style="margin: 0px">
4 <svg xmlns="http://www.w3.org/2000/svg" style="display: block; height: 0px">
5 <defs>
6 <!-- Copied verbatim from layout/reftests/filters.svg: -->
7 <filter id="NonWhiteToBlack" x="0%" y="0%" width="100%" height="100%">
8 <feComponentTransfer>
9 <feFuncR type="linear" slope="-1" intercept="1" />
10 <feFuncG type="linear" slope="-1" intercept="1" />
11 <feFuncB type="linear" slope="-1" intercept="1" />
12 </feComponentTransfer>
13 <feColorMatrix type="matrix" values="255 255 255 0 0
14 255 255 255 0 0
15 255 255 255 0 0
16 0 0 0 1 0" />
17 <feComponentTransfer>
18 <feFuncR type="linear" slope="-1" intercept="1" />
19 <feFuncG type="linear" slope="-1" intercept="1" />
20 <feFuncB type="linear" slope="-1" intercept="1" />
21 </feComponentTransfer>
22 </filter>
23 </defs>
24 </svg>
25 <div style="filter: url(#NonWhiteToBlack);
26 background: lime;
27 height: 100px; width: 100px">
28 </div>
29 </body>
30 </html>