Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
1 #if 0
2 //
3 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
4 //
5 // fxc /E flipyvs /T vs_2_0 /Fh compiled/flipyvs.h Blit.vs
6 //
7 //
8 // Parameters:
9 //
10 // float4 halfPixelSize;
11 //
12 //
13 // Registers:
14 //
15 // Name Reg Size
16 // ------------- ----- ----
17 // halfPixelSize c0 1
18 //
20 vs_2_0
21 def c1, 0.5, 1, 0, 0
22 dcl_position v0
23 add oPos, v0, c0
24 mad oT0, v0, c1.xxyy, c1.xxzz
26 // approximately 2 instruction slots used
27 #endif
29 const BYTE g_vs20_flipyvs[] =
30 {
31 0, 2, 254, 255, 254, 255,
32 35, 0, 67, 84, 65, 66,
33 28, 0, 0, 0, 87, 0,
34 0, 0, 0, 2, 254, 255,
35 1, 0, 0, 0, 28, 0,
36 0, 0, 0, 1, 0, 0,
37 80, 0, 0, 0, 48, 0,
38 0, 0, 2, 0, 0, 0,
39 1, 0, 0, 0, 64, 0,
40 0, 0, 0, 0, 0, 0,
41 104, 97, 108, 102, 80, 105,
42 120, 101, 108, 83, 105, 122,
43 101, 0, 171, 171, 1, 0,
44 3, 0, 1, 0, 4, 0,
45 1, 0, 0, 0, 0, 0,
46 0, 0, 118, 115, 95, 50,
47 95, 48, 0, 77, 105, 99,
48 114, 111, 115, 111, 102, 116,
49 32, 40, 82, 41, 32, 72,
50 76, 83, 76, 32, 83, 104,
51 97, 100, 101, 114, 32, 67,
52 111, 109, 112, 105, 108, 101,
53 114, 32, 57, 46, 50, 57,
54 46, 57, 53, 50, 46, 51,
55 49, 49, 49, 0, 81, 0,
56 0, 5, 1, 0, 15, 160,
57 0, 0, 0, 63, 0, 0,
58 128, 63, 0, 0, 0, 0,
59 0, 0, 0, 0, 31, 0,
60 0, 2, 0, 0, 0, 128,
61 0, 0, 15, 144, 2, 0,
62 0, 3, 0, 0, 15, 192,
63 0, 0, 228, 144, 0, 0,
64 228, 160, 4, 0, 0, 4,
65 0, 0, 15, 224, 0, 0,
66 228, 144, 1, 0, 80, 160,
67 1, 0, 160, 160, 255, 255,
68 0, 0
69 };