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 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | // Microsoft Visual C++ generated resource script. |
michael@0 | 6 | // |
michael@0 | 7 | #include "resource.h" |
michael@0 | 8 | |
michael@0 | 9 | #define APSTUDIO_READONLY_SYMBOLS |
michael@0 | 10 | ///////////////////////////////////////////////////////////////////////////// |
michael@0 | 11 | // |
michael@0 | 12 | // Generated from the TEXTINCLUDE 2 resource. |
michael@0 | 13 | // |
michael@0 | 14 | #include "winresrc.h" |
michael@0 | 15 | |
michael@0 | 16 | ///////////////////////////////////////////////////////////////////////////// |
michael@0 | 17 | #undef APSTUDIO_READONLY_SYMBOLS |
michael@0 | 18 | |
michael@0 | 19 | ///////////////////////////////////////////////////////////////////////////// |
michael@0 | 20 | // English (U.S.) resources |
michael@0 | 21 | |
michael@0 | 22 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) |
michael@0 | 23 | #ifdef _WIN32 |
michael@0 | 24 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US |
michael@0 | 25 | #pragma code_page(1252) |
michael@0 | 26 | #endif //_WIN32 |
michael@0 | 27 | |
michael@0 | 28 | #ifdef APSTUDIO_INVOKED |
michael@0 | 29 | ///////////////////////////////////////////////////////////////////////////// |
michael@0 | 30 | // |
michael@0 | 31 | // TEXTINCLUDE |
michael@0 | 32 | // |
michael@0 | 33 | |
michael@0 | 34 | 1 TEXTINCLUDE |
michael@0 | 35 | BEGIN |
michael@0 | 36 | "resource.h\0" |
michael@0 | 37 | END |
michael@0 | 38 | |
michael@0 | 39 | 2 TEXTINCLUDE |
michael@0 | 40 | BEGIN |
michael@0 | 41 | "#include ""winresrc.h""\r\n" |
michael@0 | 42 | "\0" |
michael@0 | 43 | END |
michael@0 | 44 | |
michael@0 | 45 | 3 TEXTINCLUDE |
michael@0 | 46 | BEGIN |
michael@0 | 47 | "\r\n" |
michael@0 | 48 | "\0" |
michael@0 | 49 | END |
michael@0 | 50 | |
michael@0 | 51 | #endif // APSTUDIO_INVOKED |
michael@0 | 52 | |
michael@0 | 53 | 1 24 "crashreporter.exe.manifest" |
michael@0 | 54 | |
michael@0 | 55 | ///////////////////////////////////////////////////////////////////////////// |
michael@0 | 56 | // |
michael@0 | 57 | // Icon |
michael@0 | 58 | // |
michael@0 | 59 | |
michael@0 | 60 | // Icon with lowest ID value placed first to ensure application icon |
michael@0 | 61 | // remains consistent on all systems. |
michael@0 | 62 | IDI_MAINICON ICON "crashreporter.ico" |
michael@0 | 63 | |
michael@0 | 64 | ///////////////////////////////////////////////////////////////////////////// |
michael@0 | 65 | // |
michael@0 | 66 | // AVI |
michael@0 | 67 | // |
michael@0 | 68 | |
michael@0 | 69 | IDR_THROBBER AVI "Throbber-small.avi" |
michael@0 | 70 | |
michael@0 | 71 | ///////////////////////////////////////////////////////////////////////////// |
michael@0 | 72 | // |
michael@0 | 73 | // Dialog |
michael@0 | 74 | // |
michael@0 | 75 | |
michael@0 | 76 | IDD_SENDDIALOG DIALOGEX 0, 0, 241, 187 |
michael@0 | 77 | STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
michael@0 | 78 | EXSTYLE WS_EX_APPWINDOW |
michael@0 | 79 | CAPTION "Sending Crash Report..." |
michael@0 | 80 | FONT 8, "MS Shell Dlg", 400, 0, 0x1 |
michael@0 | 81 | BEGIN |
michael@0 | 82 | CONTROL "",IDC_DESCRIPTIONTEXT,"RICHEDIT50W",ES_MULTILINE | ES_READONLY,8,7,226,12,WS_EX_TRANSPARENT |
michael@0 | 83 | CONTROL "tell mozilla about this crash so they can fix it",IDC_SUBMITREPORTCHECK, |
michael@0 | 84 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,25,222,10 |
michael@0 | 85 | CHECKBOX "details...",IDC_VIEWREPORTBUTTON,24,40,54,14,BS_PUSHLIKE |
michael@0 | 86 | EDITTEXT IDC_COMMENTTEXT,24,59,210,43,ES_MULTILINE | ES_WANTRETURN | WS_VSCROLL |
michael@0 | 87 | CONTROL "include the address of the page i was on",IDC_INCLUDEURLCHECK, |
michael@0 | 88 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,107,210,10 |
michael@0 | 89 | CONTROL "tell mozilla to email me with more information",IDC_EMAILMECHECK, |
michael@0 | 90 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,120,210,10 |
michael@0 | 91 | EDITTEXT IDC_EMAILTEXT,36,133,198,14,ES_AUTOHSCROLL |
michael@0 | 92 | CONTROL "",IDC_THROBBER,"SysAnimate32",ACS_TRANSPARENT | NOT WS_VISIBLE | WS_TABSTOP,4,152,16,16 |
michael@0 | 93 | LTEXT "your crash report will be submitted when you restart",IDC_PROGRESSTEXT,24,152,210,10,SS_NOPREFIX |
michael@0 | 94 | DEFPUSHBUTTON "restart firefox",IDC_RESTARTBUTTON,84,166,68,14 |
michael@0 | 95 | PUSHBUTTON "quit without sending",IDC_CLOSEBUTTON,157,166,77,14 |
michael@0 | 96 | END |
michael@0 | 97 | |
michael@0 | 98 | IDD_VIEWREPORTDIALOG DIALOGEX 0, 0, 208, 126 |
michael@0 | 99 | STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION |
michael@0 | 100 | CAPTION "view report" |
michael@0 | 101 | FONT 8, "MS Shell Dlg", 400, 0, 0x1 |
michael@0 | 102 | BEGIN |
michael@0 | 103 | CONTROL "",IDC_VIEWREPORTTEXT,"RICHEDIT50W",ES_MULTILINE | ES_READONLY | WS_BORDER | WS_VSCROLL | WS_TABSTOP,7,7,194,92 |
michael@0 | 104 | DEFPUSHBUTTON "OK",IDOK,151,105,50,14 |
michael@0 | 105 | END |
michael@0 | 106 | |
michael@0 | 107 | |
michael@0 | 108 | ///////////////////////////////////////////////////////////////////////////// |
michael@0 | 109 | // |
michael@0 | 110 | // DESIGNINFO |
michael@0 | 111 | // |
michael@0 | 112 | |
michael@0 | 113 | #ifdef APSTUDIO_INVOKED |
michael@0 | 114 | GUIDELINES DESIGNINFO |
michael@0 | 115 | BEGIN |
michael@0 | 116 | IDD_SENDDIALOG, DIALOG |
michael@0 | 117 | BEGIN |
michael@0 | 118 | LEFTMARGIN, 8 |
michael@0 | 119 | RIGHTMARGIN, 234 |
michael@0 | 120 | TOPMARGIN, 7 |
michael@0 | 121 | BOTTOMMARGIN, 180 |
michael@0 | 122 | END |
michael@0 | 123 | |
michael@0 | 124 | IDD_VIEWREPORTDIALOG, DIALOG |
michael@0 | 125 | BEGIN |
michael@0 | 126 | LEFTMARGIN, 7 |
michael@0 | 127 | RIGHTMARGIN, 201 |
michael@0 | 128 | TOPMARGIN, 7 |
michael@0 | 129 | BOTTOMMARGIN, 119 |
michael@0 | 130 | END |
michael@0 | 131 | END |
michael@0 | 132 | #endif // APSTUDIO_INVOKED |
michael@0 | 133 | |
michael@0 | 134 | #endif // English (U.S.) resources |
michael@0 | 135 | ///////////////////////////////////////////////////////////////////////////// |
michael@0 | 136 | |
michael@0 | 137 | |
michael@0 | 138 | |
michael@0 | 139 | #ifndef APSTUDIO_INVOKED |
michael@0 | 140 | ///////////////////////////////////////////////////////////////////////////// |
michael@0 | 141 | // |
michael@0 | 142 | // Generated from the TEXTINCLUDE 3 resource. |
michael@0 | 143 | // |
michael@0 | 144 | |
michael@0 | 145 | |
michael@0 | 146 | ///////////////////////////////////////////////////////////////////////////// |
michael@0 | 147 | #endif // not APSTUDIO_INVOKED |
michael@0 | 148 |