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.
michael@0 | 1 | #if 0 |
michael@0 | 2 | // |
michael@0 | 3 | // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111 |
michael@0 | 4 | // |
michael@0 | 5 | // fxc /E passthroughps /T ps_2_0 /Fh compiled/passthroughps.h Blit.ps |
michael@0 | 6 | // |
michael@0 | 7 | // |
michael@0 | 8 | // Parameters: |
michael@0 | 9 | // |
michael@0 | 10 | // sampler2D tex; |
michael@0 | 11 | // |
michael@0 | 12 | // |
michael@0 | 13 | // Registers: |
michael@0 | 14 | // |
michael@0 | 15 | // Name Reg Size |
michael@0 | 16 | // ------------ ----- ---- |
michael@0 | 17 | // tex s0 1 |
michael@0 | 18 | // |
michael@0 | 19 | |
michael@0 | 20 | ps_2_0 |
michael@0 | 21 | dcl t0.xy |
michael@0 | 22 | dcl_2d s0 |
michael@0 | 23 | texld r0, t0, s0 |
michael@0 | 24 | mov oC0, r0 |
michael@0 | 25 | |
michael@0 | 26 | // approximately 2 instruction slots used (1 texture, 1 arithmetic) |
michael@0 | 27 | #endif |
michael@0 | 28 | |
michael@0 | 29 | const BYTE g_ps20_passthroughps[] = |
michael@0 | 30 | { |
michael@0 | 31 | 0, 2, 255, 255, 254, 255, |
michael@0 | 32 | 32, 0, 67, 84, 65, 66, |
michael@0 | 33 | 28, 0, 0, 0, 75, 0, |
michael@0 | 34 | 0, 0, 0, 2, 255, 255, |
michael@0 | 35 | 1, 0, 0, 0, 28, 0, |
michael@0 | 36 | 0, 0, 0, 1, 0, 0, |
michael@0 | 37 | 68, 0, 0, 0, 48, 0, |
michael@0 | 38 | 0, 0, 3, 0, 0, 0, |
michael@0 | 39 | 1, 0, 0, 0, 52, 0, |
michael@0 | 40 | 0, 0, 0, 0, 0, 0, |
michael@0 | 41 | 116, 101, 120, 0, 4, 0, |
michael@0 | 42 | 12, 0, 1, 0, 1, 0, |
michael@0 | 43 | 1, 0, 0, 0, 0, 0, |
michael@0 | 44 | 0, 0, 112, 115, 95, 50, |
michael@0 | 45 | 95, 48, 0, 77, 105, 99, |
michael@0 | 46 | 114, 111, 115, 111, 102, 116, |
michael@0 | 47 | 32, 40, 82, 41, 32, 72, |
michael@0 | 48 | 76, 83, 76, 32, 83, 104, |
michael@0 | 49 | 97, 100, 101, 114, 32, 67, |
michael@0 | 50 | 111, 109, 112, 105, 108, 101, |
michael@0 | 51 | 114, 32, 57, 46, 50, 57, |
michael@0 | 52 | 46, 57, 53, 50, 46, 51, |
michael@0 | 53 | 49, 49, 49, 0, 31, 0, |
michael@0 | 54 | 0, 2, 0, 0, 0, 128, |
michael@0 | 55 | 0, 0, 3, 176, 31, 0, |
michael@0 | 56 | 0, 2, 0, 0, 0, 144, |
michael@0 | 57 | 0, 8, 15, 160, 66, 0, |
michael@0 | 58 | 0, 3, 0, 0, 15, 128, |
michael@0 | 59 | 0, 0, 228, 176, 0, 8, |
michael@0 | 60 | 228, 160, 1, 0, 0, 2, |
michael@0 | 61 | 0, 8, 15, 128, 0, 0, |
michael@0 | 62 | 228, 128, 255, 255, 0, 0 |
michael@0 | 63 | }; |