Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | # PngSuite - Ancillary chunks |
michael@0 | 2 | |
michael@0 | 3 | # cHRM chunks |
michael@0 | 4 | # |
michael@0 | 5 | # ccwn2c08 - gamma 1.0000 chunk, chroma chunk w:0.3127,0.3290 r:0.64,0.33 g:0.30,0.60 b:0.15,0.06 |
michael@0 | 6 | fails-if(prefs.getIntPref("gfx.color_management.mode")!=2) fuzzy-if(winWidget,8,569) == ccwn2c08.png ccwn2c08.html |
michael@0 | 7 | # ccwn3p08 - gamma 1.0000 chunk, chroma chunk w:0.3127,0.3290 r:0.64,0.33 g:0.30,0.60 b:0.15,0.06 |
michael@0 | 8 | fails-if(prefs.getIntPref("gfx.color_management.mode")!=2) fuzzy-if(winWidget,8,577) == ccwn3p08.png ccwn3p08.html |
michael@0 | 9 | |
michael@0 | 10 | # pHYs chunks |
michael@0 | 11 | # |
michael@0 | 12 | # PngSuite implies these first 3 should end up as 32x32 bitmaps, but |
michael@0 | 13 | # per discussion in bug 408622 that's not actually true. |
michael@0 | 14 | # |
michael@0 | 15 | # cdfn2c08 - physical pixel dimensions, 8x32 flat pixels |
michael@0 | 16 | fails-if(Android) == cdfn2c08.png cdfn2c08.html |
michael@0 | 17 | # cdhn2c08 - physical pixel dimensions, 32x8 high pixels |
michael@0 | 18 | fails-if(Android) == cdhn2c08.png cdhn2c08.html |
michael@0 | 19 | # cdsn2c08 - physical pixel dimensions, 8x8 square pixels |
michael@0 | 20 | fails-if(Android) == cdsn2c08.png cdsn2c08.html |
michael@0 | 21 | # cdun2c08 - physical pixel dimensions, 1000 pixels per 1 meter |
michael@0 | 22 | fails-if(Android) == cdun2c08.png cdun2c08.html |
michael@0 | 23 | |
michael@0 | 24 | # hISt chunks (shouldn't affect display on 24bit systems) |
michael@0 | 25 | # |
michael@0 | 26 | # ch1n3p04 - histogram 15 colors |
michael@0 | 27 | fails-if(Android) == ch1n3p04.png ch1n3p04.html |
michael@0 | 28 | # ch2n3p08 - histogram 256 colors |
michael@0 | 29 | fails-if(Android) == ch2n3p08.png ch2n3p08.html |
michael@0 | 30 | |
michael@0 | 31 | # tIME chunks (doesn't affect display) |
michael@0 | 32 | # |
michael@0 | 33 | # cm0n0g04 - modification time, 01-jan-2000 12:34:56 |
michael@0 | 34 | fails-if(Android) == cm0n0g04.png cm0n0g04.html |
michael@0 | 35 | # cm7n0g04 - modification time, 01-jan-1970 00:00:00 |
michael@0 | 36 | fails-if(Android) == cm7n0g04.png cm7n0g04.html |
michael@0 | 37 | # cm9n0g04 - modification time, 31-dec-1999 23:59:59 |
michael@0 | 38 | fails-if(Android) == cm9n0g04.png cm9n0g04.html |
michael@0 | 39 | |
michael@0 | 40 | # sBIT chunks |
michael@0 | 41 | # |
michael@0 | 42 | # cs3n2c16 - color, 13 significant bits |
michael@0 | 43 | fails-if(Android) == cs3n2c16.png cs3n2c16.html |
michael@0 | 44 | # cs3n3p08 - paletted, 3 significant bits |
michael@0 | 45 | fails-if(Android) == cs3n3p08.png cs3n3p08.html |
michael@0 | 46 | # cs5n2c08 - color, 5 significant bits |
michael@0 | 47 | fails-if(Android) == cs5n2c08.png cs5n2c08.html |
michael@0 | 48 | # cs5n3p08 - paletted, 5 significant bits |
michael@0 | 49 | fails-if(Android) == cs5n3p08.png cs5n3p08.html |
michael@0 | 50 | # cs8n2c08 - color, 8 significant bits (reference) |
michael@0 | 51 | fails-if(Android) == cs8n2c08.png cs8n2c08.html |
michael@0 | 52 | # cs8n3p08 - paletted, 8 significant bits (reference) |
michael@0 | 53 | fails-if(Android) == cs8n3p08.png cs8n3p08.html |
michael@0 | 54 | |
michael@0 | 55 | # tEXt chunks (doesn't affect display) |
michael@0 | 56 | # |
michael@0 | 57 | # ct0n0g04 - no textual data |
michael@0 | 58 | fails-if(Android) == ct0n0g04.png ct0n0g04.html |
michael@0 | 59 | # ct1n0g04 - with textual data |
michael@0 | 60 | fails-if(Android) == ct1n0g04.png ct1n0g04.html |
michael@0 | 61 | # ctzn0g04 - with compressed textual data |
michael@0 | 62 | fails-if(Android) == ctzn0g04.png ctzn0g04.html |