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 //
6 // fxc /E VS_Clear /T vs_4_0 /Fh compiled/clear11vs.h Clear11.hlsl
7 //
8 //
9 //
10 // Input signature:
11 //
12 // Name Index Mask Register SysValue Format Used
13 // -------------------- ----- ------ -------- -------- ------ ------
14 // POSITION 0 xyz 0 NONE float xyz
15 // COLOR 0 xyzw 1 NONE float xyzw
16 //
17 //
18 // Output signature:
19 //
20 // Name Index Mask Register SysValue Format Used
21 // -------------------- ----- ------ -------- -------- ------ ------
22 // SV_POSITION 0 xyzw 0 POS float xyzw
23 // COLOR 0 xyzw 1 NONE float xyzw
24 //
25 vs_4_0
26 dcl_input v0.xyz
27 dcl_input v1.xyzw
28 dcl_output_siv o0.xyzw, position
29 dcl_output o1.xyzw
30 mov o0.xyz, v0.xyzx
31 mov o0.w, l(1.000000)
32 mov o1.xyzw, v1.xyzw
33 ret
34 // Approximately 4 instruction slots used
35 #endif
37 const BYTE g_VS_Clear[] =
38 {
39 68, 88, 66, 67, 109, 138,
40 105, 83, 86, 190, 83, 125,
41 72, 102, 194, 136, 46, 69,
42 17, 121, 1, 0, 0, 0,
43 48, 2, 0, 0, 5, 0,
44 0, 0, 52, 0, 0, 0,
45 140, 0, 0, 0, 220, 0,
46 0, 0, 48, 1, 0, 0,
47 180, 1, 0, 0, 82, 68,
48 69, 70, 80, 0, 0, 0,
49 0, 0, 0, 0, 0, 0,
50 0, 0, 0, 0, 0, 0,
51 28, 0, 0, 0, 0, 4,
52 254, 255, 0, 1, 0, 0,
53 28, 0, 0, 0, 77, 105,
54 99, 114, 111, 115, 111, 102,
55 116, 32, 40, 82, 41, 32,
56 72, 76, 83, 76, 32, 83,
57 104, 97, 100, 101, 114, 32,
58 67, 111, 109, 112, 105, 108,
59 101, 114, 32, 57, 46, 50,
60 57, 46, 57, 53, 50, 46,
61 51, 49, 49, 49, 0, 171,
62 171, 171, 73, 83, 71, 78,
63 72, 0, 0, 0, 2, 0,
64 0, 0, 8, 0, 0, 0,
65 56, 0, 0, 0, 0, 0,
66 0, 0, 0, 0, 0, 0,
67 3, 0, 0, 0, 0, 0,
68 0, 0, 7, 7, 0, 0,
69 65, 0, 0, 0, 0, 0,
70 0, 0, 0, 0, 0, 0,
71 3, 0, 0, 0, 1, 0,
72 0, 0, 15, 15, 0, 0,
73 80, 79, 83, 73, 84, 73,
74 79, 78, 0, 67, 79, 76,
75 79, 82, 0, 171, 79, 83,
76 71, 78, 76, 0, 0, 0,
77 2, 0, 0, 0, 8, 0,
78 0, 0, 56, 0, 0, 0,
79 0, 0, 0, 0, 1, 0,
80 0, 0, 3, 0, 0, 0,
81 0, 0, 0, 0, 15, 0,
82 0, 0, 68, 0, 0, 0,
83 0, 0, 0, 0, 0, 0,
84 0, 0, 3, 0, 0, 0,
85 1, 0, 0, 0, 15, 0,
86 0, 0, 83, 86, 95, 80,
87 79, 83, 73, 84, 73, 79,
88 78, 0, 67, 79, 76, 79,
89 82, 0, 171, 171, 83, 72,
90 68, 82, 124, 0, 0, 0,
91 64, 0, 1, 0, 31, 0,
92 0, 0, 95, 0, 0, 3,
93 114, 16, 16, 0, 0, 0,
94 0, 0, 95, 0, 0, 3,
95 242, 16, 16, 0, 1, 0,
96 0, 0, 103, 0, 0, 4,
97 242, 32, 16, 0, 0, 0,
98 0, 0, 1, 0, 0, 0,
99 101, 0, 0, 3, 242, 32,
100 16, 0, 1, 0, 0, 0,
101 54, 0, 0, 5, 114, 32,
102 16, 0, 0, 0, 0, 0,
103 70, 18, 16, 0, 0, 0,
104 0, 0, 54, 0, 0, 5,
105 130, 32, 16, 0, 0, 0,
106 0, 0, 1, 64, 0, 0,
107 0, 0, 128, 63, 54, 0,
108 0, 5, 242, 32, 16, 0,
109 1, 0, 0, 0, 70, 30,
110 16, 0, 1, 0, 0, 0,
111 62, 0, 0, 1, 83, 84,
112 65, 84, 116, 0, 0, 0,
113 4, 0, 0, 0, 0, 0,
114 0, 0, 0, 0, 0, 0,
115 4, 0, 0, 0, 0, 0,
116 0, 0, 0, 0, 0, 0,
117 0, 0, 0, 0, 1, 0,
118 0, 0, 0, 0, 0, 0,
119 0, 0, 0, 0, 0, 0,
120 0, 0, 0, 0, 0, 0,
121 0, 0, 0, 0, 0, 0,
122 0, 0, 0, 0, 0, 0,
123 0, 0, 0, 0, 0, 0,
124 0, 0, 0, 0, 0, 0,
125 0, 0, 0, 0, 3, 0,
126 0, 0, 0, 0, 0, 0,
127 0, 0, 0, 0, 0, 0,
128 0, 0, 0, 0, 0, 0,
129 0, 0, 0, 0, 0, 0,
130 0, 0, 0, 0, 0, 0,
131 0, 0, 0, 0, 0, 0,
132 0, 0
133 };