CINXE.COM

Attachment 308509 Details for Bug 419596 – patch v3

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta property="og:type" content="website"> <meta property="og:title" content=" Attachment 308509 Details for Bug 419596 &ndash; patch v3"> <meta name="viewport" content="width=1024"> <meta name="color-scheme" content="dark light"> <meta name="generator" content="Bugzilla 20241119.1"> <meta name="bugzilla-global" content="dummy" id="bugzilla-global" data-bugzilla="{&quot;api_token&quot;:&quot;&quot;,&quot;config&quot;:{&quot;basepath&quot;:&quot;\/&quot;},&quot;constant&quot;:{&quot;COMMENT_COLS&quot;:80},&quot;param&quot;:{&quot;maxattachmentsize&quot;:&quot;10240&quot;,&quot;maxusermatches&quot;:&quot;50&quot;,&quot;splinter_base&quot;:&quot;\/page.cgi?id=splinter.html&amp;ignore=\/&quot;,&quot;use_markdown&quot;:&quot;1&quot;},&quot;string&quot;:{&quot;TextEditor&quot;:{&quot;command_bold&quot;:&quot;Bold&quot;,&quot;command_bulleted_list&quot;:&quot;Bulleted list&quot;,&quot;command_code&quot;:&quot;Code&quot;,&quot;command_heading&quot;:&quot;Heading&quot;,&quot;command_italic&quot;:&quot;Italic&quot;,&quot;command_link&quot;:&quot;Link&quot;,&quot;command_numbered_list&quot;:&quot;Numbered list&quot;,&quot;command_quote&quot;:&quot;Quote&quot;,&quot;comment_editor&quot;:&quot;Comment Editor&quot;,&quot;edit&quot;:&quot;Edit&quot;,&quot;etiquette_link&quot;:{&quot;href&quot;:&quot;page.cgi?id=etiquette.html&quot;,&quot;text&quot;:&quot;Etiquette&quot;},&quot;guidelines_link&quot;:{&quot;href&quot;:&quot;page.cgi?id=bug-writing.html&quot;,&quot;text&quot;:&quot;Bug Writing Guidelines&quot;},&quot;loading&quot;:&quot;Loading…&quot;,&quot;markdown_link&quot;:{&quot;href&quot;:&quot;https:\/\/guides.github.com\/features\/mastering-markdown\/&quot;,&quot;text&quot;:&quot;Markdown supported&quot;},&quot;preview&quot;:&quot;Preview&quot;,&quot;preview_error&quot;:&quot;Preview could not be loaded. Please try again later.&quot;,&quot;text_editor&quot;:&quot;Text Editor&quot;,&quot;toolbar_label&quot;:&quot;Markdown text-formatting toolbar&quot;},&quot;bug&quot;:&quot;bug&quot;,&quot;bug_type_required&quot;:&quot;You must select a Type for this bug&quot;,&quot;component_required&quot;:&quot;You must select a Component for this bug&quot;,&quot;description_required&quot;:&quot;You must enter a Description for this bug&quot;,&quot;short_desc_required&quot;:&quot;You must enter a Summary for this bug&quot;,&quot;version_required&quot;:&quot;You must select a Version for this bug&quot;},&quot;user&quot;:{&quot;is_new&quot;:true,&quot;login&quot;:&quot;&quot;}}"> <meta name="google-site-verification" content="JYXIuR9cAlV7fLmglSrc_4UaJS6Wzh5Mdxiorqu5AQc" /> <title> Attachment 308509 Details for Bug 419596 &ndash; patch v3</title> <link href="/static/v20241119.1/skins/standard/global.css" rel="stylesheet" type="text/css"><link href="/static/v20241119.1/skins/standard/attachment.css" rel="stylesheet" type="text/css"><link href="/static/v20241119.1/js/jquery/ui/jquery-ui-min.css" rel="stylesheet" type="text/css"><link href="/static/v20241119.1/js/jquery/ui/jquery-ui-structure-min.css" rel="stylesheet" type="text/css"><link href="/static/v20241119.1/js/jquery/ui/jquery-ui-theme-min.css" rel="stylesheet" type="text/css"><link href="/static/v20241119.1/skins/lib/prism.css" rel="stylesheet" type="text/css"><link href="/static/v20241119.1/extensions/Needinfo/web/styles/needinfo.css" rel="stylesheet" type="text/css"><link href="/static/v20241119.1/extensions/Review/web/styles/badge.css" rel="stylesheet" type="text/css"><link href="/static/v20241119.1/extensions/Review/web/styles/review.css" rel="stylesheet" type="text/css"><link href="/static/v20241119.1/skins/standard/text-editor.css" rel="stylesheet" type="text/css"> <script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK" src="/static/v20241119.1/js/jquery/jquery-min.js"></script><script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK" src="/static/v20241119.1/js/jquery/ui/jquery-ui-min.js"></script><script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK" src="/static/v20241119.1/js/jquery/plugins/devbridgeAutocomplete/devbridgeAutocomplete-min.js"></script><script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK" src="/static/v20241119.1/js/global.js"></script><script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK" src="/static/v20241119.1/js/util.js"></script><script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK" src="/static/v20241119.1/js/widgets.js"></script> <script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK">BUGZILLA.value_descs = JSON.parse('{\"bug_status\":{},\"resolution\":{\"\":\"---\"}}'); review_suggestions = { _mentors: [ ], 'Settings UI': [ ], _end: 1 }; static_component = 'Settings UI'; </script> <script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK" src="/static/v20241119.1/js/text-editor.js"></script><script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK" src="/static/v20241119.1/js/attachment.js"></script><script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK" src="/static/v20241119.1/js/field.js"></script><script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK" src="/static/v20241119.1/js/lib/prism.js"></script><script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK" src="/static/v20241119.1/extensions/GoogleAnalytics/web/js/analytics.js"></script><script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK" src="/static/v20241119.1/js/lib/md5.min.js"></script><script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK" src="/static/v20241119.1/extensions/Review/web/js/badge.js"></script><script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK" src="/static/v20241119.1/extensions/Review/web/js/review.js"></script> <link href="/static/v20241119.1/skins/lib/fontawesome.min.css" rel="stylesheet" type="text/css"> <link href="/static/v20241119.1/skins/lib/fontawesome-brands.min.css" rel="stylesheet" type="text/css"> <link href="/static/v20241119.1/skins/lib/fontawesome-solid.min.css" rel="stylesheet" type="text/css"> <link rel="search" type="application/opensearchdescription+xml" title="Bugzilla@Mozilla" href="/search_plugin.cgi"><link rel="shortcut icon" href="/extensions/BMO/web/images/favicon.ico"><meta name="google-analytics" content="UA-36116321-3" data-location="https://bugzilla.mozilla.org/attachment/edit" data-title="Attachment 308509 Details for Bug 419596 &amp;ndash; patch v3"> <script async src="https://www.google-analytics.com/analytics.js"></script><meta name="robots" content="noarchive"> </head> <body class="bugzilla-mozilla-org skin-standard no_javascript"> <div id="wrapper"> <header id="header" role="banner" aria-label="Global Header"> <div class="inner" role="none"> <button type="button" class="iconic ghost" id="open-menu-drawer" aria-label="Open Site Menu"> <span class="icon" aria-hidden="true" data-icon="menu"></span> </button><div id="header-external-links" class="dropdown" role="none"> <button type="button" id="header-external-menu-button" class="dropdown-button minor" aria-label="Show Mozilla Menu" aria-expanded="false" aria-haspopup="true" aria-controls="header-external-menu"> <img src="/static/v20241119.1/extensions/BMO/web/images/moz-fav-one-color-white-rgb.svg" width="32" height="32" alt=""> </button> <ul class="dropdown-content right" id="header-external-menu" role="menu" aria-label="Mozilla Menu" style="display:none;"> <li role="none"> <a href="https://www.mozilla.org/" role="menuitem"> <span class="label" role="none">Mozilla Home</span> </a> </li> <li role="separator"></li> <li role="none"> <a href="https://www.mozilla.org/privacy/websites/" role="menuitem"> <span class="label" role="none">Privacy</span> </a> </li> <li role="none"> <a href="https://www.mozilla.org/privacy/websites/#cookies" role="menuitem"> <span class="label" role="none">Cookies</span> </a> </li> <li role="none"> <a href="https://www.mozilla.org/about/legal/" role="menuitem"> <span class="label" role="none">Legal</span> </a> </li> </ul> </div> <h1 id="header-title" class="title" role="none"> <a class="header-button" href="https://bugzilla.mozilla.org/home" title="Go to home page"> <span aria-label="Go to Bugzilla Home Page">Bugzilla</span> </a> </h1> <form id="header-search" class="quicksearch" action="/buglist.cgi" data-no-csrf role="search" aria-label="Search Bugs"> <button type="button" class="iconic ghost" id="show-searchbox" aria-label="Search Bugs"> <span class="icon" aria-hidden="true" data-icon="search"></span> </button> <div class="searchbox-outer dropdown" role="combobox" aria-label="Quick Search" aria-haspopup="listbox" aria-owns="header-search-dropdown" aria-expanded="false"> <span class="icon" aria-hidden="true" data-icon="search"></span> <input id="quicksearch_top" class="dropdown-button" name="quicksearch" autocomplete="off" value="" accesskey="s" placeholder="Search Bugs" title="Enter a bug number or some search terms" role="searchbox" aria-controls="header-search-dropdown" aria-label="Search Terms"><div id="header-search-dropdown" class="dropdown-content dropdown-panel right" role="listbox" style="display: none;"> <div id="header-search-dropdown-wrapper" role="none"> <section id="header-search-dropdown-help" role="group" aria-label="Help"> <footer role="none"> <a href="/page.cgi?id=quicksearch.html">Quick Search Tips</a> <a href="/query.cgi?format=advanced">Advanced Search</a> </footer> </section> </div> </div> </div> </form> <nav id="header-nav" role="menubar" aria-label="Site Links"> <ul class="links" role="none"><li role="none"> <a class="header-button" href="/describecomponents.cgi" title="Browse bugs by component" role="menuitem"> <span class="icon" aria-hidden="true" data-icon="category"></span> <span class="label" role="none">Browse</span> </a> </li> <li role="none"> <a class="header-button" href="/query.cgi?format=advanced" title="Search bugs using various criteria" role="menuitem"> <span class="icon" aria-hidden="true" data-icon="pageview"></span> <span class="label" role="none">Advanced Search</span> </a> </li> <li role="none"> <a class="header-button" href="/enter_bug.cgi" title="File a new bug" role="menuitem"> <span class="icon" aria-hidden="true" data-icon="add_box"></span> <span class="label" role="none">New Bug</span> </a> </li> </ul> <div class="dropdown" role="none"> <button type="button" id="header-tools-menu-button" class="header-button dropdown-button minor" title="More tools…" role="menuitem" aria-label="Show More Tools Menu" aria-expanded="false" aria-haspopup="true" aria-controls="header-tools-menu"> <span class="icon" aria-hidden="true" data-icon="more_horiz"></span> </button> <ul class="dropdown-content left" id="header-tools-menu" role="menu" aria-label="More Tools Menu" style="display:none;"><li role="none"> <a href="/report.cgi" role="menuitem"> <span class="icon" aria-hidden="true" data-icon="analytics"></span> <span class="label" role="none">Reports</span> </a> </li> <li role="separator"></li> <li role="none"> <a href="https://bmo.readthedocs.io/en/latest/" target="_blank" role="menuitem"> <span class="icon" aria-hidden="true" data-icon="help"></span> <span class="label" role="none">Documentation</span> </a> </li> </ul> </div> </nav> <ul id="header-login" class="links" role="none"><li id="mini_login_container_top" role="none"> <a id="login_link_top" href="/index.cgi?GoAheadAndLogIn=1" class='show_mini_login_form header-button' data-qs-suffix="_top" role="button"> <span class="icon" aria-hidden="true" data-icon="login"></span> <span class="label" role="none">Log In</span> </a> <div id="mini_login_top" class="mini-popup mini_login bz_default_hidden"> <form method="post" action="/github.cgi"> <input type="hidden" name="github_token" value="Cz5gi8bJGPnYYtgJLLpnlrs5shQU34Zcfch6B21oex73cEr8xD6pppaOfQNOxlHRr5Kb1YvIN7KSW9lbIjzR1Tr5hYMjlJQlOUQWF9KF2f6yyTef8ilyTiIY8canMbOsFElt0qjyDuonysBCEbwT60Aw7fpgnfSGFHY2IGxnIEeh37LBclOEg3GaUhOkWkroRAwFc3qHV5Sz3tfmb2dgmZxR2Q25Gq2kCrpdPAWtgTzRQKgIqDJl5LyIBfLttz4f"> <input type="hidden" name="target_uri" value="https://bugzilla.mozilla.org/attachment.cgi"> <button type="submit"> <i class="fab fa-github"></i> Log In with GitHub </button> </form> <div class="method-separator">or</div> <form action="/attachment.cgi?id=308509&amp;action=edit" method="POST" data-qs-suffix="_top"> <input id="Bugzilla_login_top" class="bz_login" name="Bugzilla_login" title="Login" placeholder="Email" aria-label="Email" type="email" required > <input class="bz_password" id="Bugzilla_password_top" name="Bugzilla_password" type="password" title="Password" placeholder="Password" aria-label="Password" required > <input class="bz_password bz_default_hidden bz_mini_login_help" type="text" id="Bugzilla_password_dummy_top" value="password" title="Password" > <span class="remember-outer"> <input type="checkbox" id="Bugzilla_remember_top" name="Bugzilla_remember" value="on" class="bz_remember" checked> <label for="Bugzilla_remember_top">Remember me</label> </span> <input type="hidden" name="Bugzilla_login_token" value="1732370696-a597Ej7lVpJROa2UdFIG_y8gjVU6w081T6mNA-K0rVY"> <input type="submit" name="GoAheadAndLogIn" value="Log In" id="log_in_top" class="check_mini_login_fields" data-qs-suffix="_top"> <a href="#" id="hide_mini_login_top" aria-label="Close" class="close-button hide_mini_login_form" data-qs-suffix="_top"> <span class="icon" aria-hidden="true"></span> </a> </form> <div class="footer"> <a href="/createaccount.cgi">Create an Account</a> &middot; <a id="forgot_link_top" href="/index.cgi?GoAheadAndLogIn=1#forgot" class='show_forgot_form' data-qs-suffix="_top">Forgot Password</a> </div> </div> <div id="forgot_form_top" class="mini-popup mini_forgot bz_default_hidden"> <form action="/token.cgi" method="post"> <input type="email" name="loginname" size="20" placeholder="Email" aria-label="Email" required> <input id="forgot_button_top" value="Reset Password" type="submit"> <input type="hidden" name="a" value="reqpw"> <input type="hidden" id="token_top" name="token" value="1732370696-8hRzVHm-OG2DKiuvwPDaC3OVT5hQewxLZKtwtd-UgBk"> <a href="#" class="close-button hide_forgot_form" aria-label="Close" data-qs-suffix="_top"> <span class="icon" aria-hidden="true"></span> </a> </form> </div> </li> </ul> </div> <dialog id="menu-drawer" inert aria-label="Site Menu"> <div class="drawer-inner" role="none"> <div class="header" role="none"> <button type="button" class="iconic ghost" id="close-menu-drawer" aria-label="Close Site Menu"> <span class="icon" aria-hidden="true" data-icon="close"></span> </button> </div> <ul role="menu" aria-label="Site Links"><li role="none"> <a class="header-button" href="/describecomponents.cgi" title="Browse bugs by component" role="menuitem"> <span class="icon" aria-hidden="true" data-icon="category"></span> <span class="label" role="none">Browse</span> </a> </li> <li role="none"> <a class="header-button" href="/query.cgi?format=advanced" title="Search bugs using various criteria" role="menuitem"> <span class="icon" aria-hidden="true" data-icon="pageview"></span> <span class="label" role="none">Advanced Search</span> </a> </li> <li role="none"> <a class="header-button" href="/enter_bug.cgi" title="File a new bug" role="menuitem"> <span class="icon" aria-hidden="true" data-icon="add_box"></span> <span class="label" role="none">New Bug</span> </a> </li><li role="none"> <a href="/report.cgi" role="menuitem"> <span class="icon" aria-hidden="true" data-icon="analytics"></span> <span class="label" role="none">Reports</span> </a> </li> <li role="separator"></li> <li role="none"> <a href="https://bmo.readthedocs.io/en/latest/" target="_blank" role="menuitem"> <span class="icon" aria-hidden="true" data-icon="help"></span> <span class="label" role="none">Documentation</span> </a> </li> </ul> </div> </dialog> </header> <main id="bugzilla-body" tabindex="-1"> <aside id="message-container" role="complementary"> <noscript> <div class="noscript"> <div class="inner"> <p>Please enable JavaScript in your browser to use all the features on this site.</p> </div> </div> </noscript> </aside> <div id="main-inner"> <h2> Attachment 308509 Details for <a class="bz_bug_link bz_status_RESOLVED bz_closed" title="RESOLVED FIXED - add third party cookie blocking option to cookie pref UI" href="/show_bug.cgi?id=419596">Bug 419596</a></h2> <form method="post" action="/attachment.cgi" onsubmit="normalizeComments();"> <input type="hidden" name="bugid" value="419596"> <input type="hidden" name="id" value="308509"> <input type="hidden" name="action" value="update"> <input type="hidden" name="contenttypemethod" value="manual"> <input type="hidden" name="delta_ts" value="2008-03-11 14:03:08"> <div id="attachment_info" class="attachment_info read"> <div id="attachment_attributes"> <div id="attachment_information_read_only" class=""> <div class="title">[patch] <span class="" title="">patch v3 </span> </div> <div class="details">419596-3.diff (text/plain), 4.96 KB, created by <span class="vcard vcard_75420"><span class="fn">dwitte&#64;gmail.com</span> </span> </div> </div> <div id="attachment_information_edit"> <span class="bz_hide"> (<a href="javascript:toggle_attachment_details_visibility();">hide</a>) </span> <div id="attachment_description"> <label for="description">Description:</label>&nbsp;<textarea name="description" id="description" class="block bz_hidden_option" wrap="soft" rows="3" cols="25">patch v3</textarea> </div> <div id="attachment_filename"> <label for="filename">Filename:</label> <input type="text" size="20" class="text block bz_hidden_option" id="filename" name="filename" value="419596-3.diff"> </div> <div id="attachment_mimetype"> <label for="contenttypeentry">MIME Type:</label> <input type="text" size="20" class="text block bz_hidden_option" id="contenttypeentry" name="contenttypeentry" value="text/plain"> </div> <div id="attachment_creator"> <span class="label">Creator:</span> <span class="vcard vcard_75420"><span class="fn">dwitte&#64;gmail.com</span> </span> </div> <div id="attachment_size"> <span class="label">Size:</span> 4.96 KB </div> <div id="attachment_ispatch"> <input type="checkbox" id="ispatch" name="ispatch" value="1" checked="checked"> <label for="ispatch">patch</label> </div> <div class="readonly"> <div class="checkboxes"> <div id="attachment_isobsolete"> <input type="checkbox" id="isobsolete" name="isobsolete" value="1" > <label for="isobsolete">obsolete</label> </div> </div> </div> </div> <div id="attachment_view_window"> <div> <input type="hidden" name="markdown_off" value="0"><textarea name="comment" id="editFrame" class="bz_default_hidden" wrap="soft" disabled="disabled" rows="10" cols="80">&gt;Index: browser/components/preferences/privacy.js &gt;=================================================================== &gt;RCS file: /cvsroot/mozilla/browser/components/preferences/privacy.js,v &gt;retrieving revision 1.25 &gt;diff -u -8 -p -r1.25 privacy.js &gt;--- browser/components/preferences/privacy.js 25 Feb 2008 08:50:16 -0000 1.25 &gt;+++ browser/components/preferences/privacy.js 10 Mar 2008 23:23:32 -0000 &gt;&#64;&#64; -156,53 +156,73 &#64;&#64; var gPrivacyPane = { &gt; // COOKIES &gt; &gt; /* &gt; * Preferences: &gt; * &gt; * network.cookie.cookieBehavior &gt; * - determines how the browser should handle cookies: &gt; * 0 means enable all cookies &gt;- * 1 means allow cookies from the &quot;originating&quot; server only; see &gt;+ * 1 means reject third party cookies; see &gt; * netwerk/cookie/src/nsCookieService.cpp for a hairier definition &gt; * 2 means disable all cookies &gt; * network.cookie.lifetimePolicy &gt; * - determines how long cookies are stored: &gt; * 0 means keep cookies until they expire &gt; * 1 means ask how long to keep each cookie &gt; * 2 means keep cookies until the browser is closed &gt; */ &gt; &gt; /** &gt; * Reads the network.cookie.cookieBehavior preference value and &gt;- * enables/disables the &quot;Keep until:&quot; UI accordingly, returning true &gt;+ * enables/disables the rest of the cookie UI accordingly, returning true &gt; * if cookies are enabled. &gt; */ &gt; readAcceptCookies: function () &gt; { &gt; var pref = document.getElementById(&quot;network.cookie.cookieBehavior&quot;); &gt;+ var acceptThirdParty = document.getElementById(&quot;acceptThirdParty&quot;); &gt; var keepUntil = document.getElementById(&quot;keepUntil&quot;); &gt; var menu = document.getElementById(&quot;keepCookiesUntil&quot;); &gt; &gt;- // anything other than &quot;disable all cookies&quot; maps to &quot;accept cookies&quot; &gt;+ // enable the rest of the UI for anything other than &quot;disable all cookies&quot; &gt; var acceptCookies = (pref.value != 2); &gt; &gt;- keepUntil.disabled = menu.disabled = !acceptCookies; &gt;+ keepUntil.disabled = menu.disabled = acceptThirdParty.disabled = !acceptCookies; &gt; &gt; return acceptCookies; &gt; }, &gt; &gt;+ readAcceptThirdPartyCookies: function () &gt;+ { &gt;+ var pref = document.getElementById(&quot;network.cookie.cookieBehavior&quot;); &gt;+ return pref.value == 0; &gt;+ }, &gt;+ &gt; /** &gt; * Enables/disables the &quot;keep until&quot; label and menulist in response to the &gt; * &quot;accept cookies&quot; checkbox being checked or unchecked. &gt; */ &gt; writeAcceptCookies: function () &gt; { &gt;- var checkbox = document.getElementById(&quot;acceptCookies&quot;); &gt;- return checkbox.checked ? 0 : 2; &gt;+ var accept = document.getElementById(&quot;acceptCookies&quot;); &gt;+ var acceptThirdParty = document.getElementById(&quot;acceptThirdParty&quot;); &gt;+ &gt;+ // if we're enabling cookies, automatically check 'accept third party' &gt;+ if (accept.checked) &gt;+ acceptThirdParty.checked = true; &gt;+ &gt;+ return accept.checked ? (acceptThirdParty.checked ? 0 : 1) : 2; &gt;+ }, &gt;+ &gt;+ writeAcceptThirdPartyCookies: function () &gt;+ { &gt;+ var accept = document.getElementById(&quot;acceptCookies&quot;); &gt;+ var acceptThirdParty = document.getElementById(&quot;acceptThirdParty&quot;); &gt;+ return accept.checked ? (acceptThirdParty.checked ? 0 : 1) : 2; &gt; }, &gt; &gt; /** &gt; * Displays fine-grained, per-site preferences for cookies. &gt; */ &gt; showCookieExceptions: function () &gt; { &gt; var bundlePreferences = document.getElementById(&quot;bundlePreferences&quot;); &gt;Index: browser/components/preferences/privacy.xul &gt;=================================================================== &gt;RCS file: /cvsroot/mozilla/browser/components/preferences/privacy.xul,v &gt;retrieving revision 1.26 &gt;diff -u -8 -p -r1.26 privacy.xul &gt;--- browser/components/preferences/privacy.xul 8 Mar 2008 01:07:48 -0000 1.26 &gt;+++ browser/components/preferences/privacy.xul 10 Mar 2008 23:23:32 -0000 &gt;&#64;&#64; -137,16 +137,22 &#64;&#64; &gt; preference=&quot;network.cookie.cookieBehavior&quot; &gt; accesskey=&quot;&amp;acceptCookies.accesskey;&quot; &gt; onsyncfrompreference=&quot;return gPrivacyPane.readAcceptCookies();&quot; &gt; onsynctopreference=&quot;return gPrivacyPane.writeAcceptCookies();&quot;/&gt; &gt; &lt;button id=&quot;cookieExceptions&quot; oncommand=&quot;gPrivacyPane.showCookieExceptions();&quot; &gt; label=&quot;&amp;cookieExceptions.label;&quot; accesskey=&quot;&amp;cookieExceptions.accesskey;&quot; &gt; preference=&quot;pref.privacy.disable_button.cookie_exceptions&quot;/&gt; &gt; &lt;/hbox&gt; &gt;+ &lt;checkbox id=&quot;acceptThirdParty&quot; label=&quot;&amp;acceptThirdParty.label;&quot; class=&quot;indent&quot; &gt;+ preference=&quot;network.cookie.cookieBehavior&quot; &gt;+ accesskey=&quot;&amp;acceptThirdParty.accesskey;&quot; &gt;+ onsyncfrompreference=&quot;return gPrivacyPane.readAcceptThirdPartyCookies();&quot; &gt;+ onsynctopreference=&quot;return gPrivacyPane.writeAcceptThirdPartyCookies();&quot;/&gt; &gt;+ &gt; &lt;hbox id=&quot;keepRow&quot;&gt; &gt; &lt;hbox id=&quot;keepBox&quot; align=&quot;center&quot; class=&quot;indent&quot;&gt; &gt; &lt;label id=&quot;keepUntil&quot; &gt; control=&quot;keepCookiesUntil&quot; &gt; accesskey=&quot;&amp;keepUntil.accesskey;&quot;&gt;&amp;keepUntil.label;&lt;/label&gt; &gt; &lt;menulist id=&quot;keepCookiesUntil&quot; &gt; preference=&quot;network.cookie.lifetimePolicy&quot;&gt; &gt; &lt;menupopup&gt; </textarea> <iframe id="viewFrame" src="/attachment.cgi?id=308509" sandbox> <b>You cannot view the attachment while viewing its details because your browser does not support IFRAMEs. <a href="/attachment.cgi?id=308509">View the attachment on a separate page</a>.</b> </iframe> <script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK"> <!-- var patchviewerinstalled = 0; var attachment_id = 308509; if (typeof document.getElementById == "function") { var patchviewerinstalled = 1; document.write('<iframe id="viewDiffFrame" class="bz_default_hidden"><\/iframe>'); document.write('<button type="button" id="viewDiffButton" onclick="viewDiff(attachment_id, patchviewerinstalled);">View Attachment As Diff<\/button>'); document.write('<button type="button" id="viewRawButton" onclick="viewRaw(patchviewerinstalled);" class="bz_default_hidden">View Attachment As Raw<\/button>'); } //--> </script> </div> </div> <div id="attachment_comments_and_flags"> <div id="attachment_flags"><p><b>Flags:</b></p> <span title=":Gavin Sharp [email: gavin&#64;gavinsharp.com]">Gavin</span>: review+<br> <span title="dwitte&#64;gmail.com">dwitte</span>: ui-review+<br> </div> </div> </div> </div> </form> <div id="attachment_actions"> <span class="label">Actions:</span> <a href="/attachment.cgi?id=308509">View</a> | <a href="/attachment.cgi?id=308509&amp;action=diff">Diff</a>&#x0020; | <a href="/page.cgi?id=splinter.html&ignore=&bug=419596&attachment=308509">Review</a> </div> <div id="attachment_list"> Attachments on <a class="bz_bug_link bz_status_RESOLVED bz_closed" title="RESOLVED FIXED - add third party cookie blocking option to cookie pref UI" href="/show_bug.cgi?id=419596">bug 419596</a>: <span class="bz_obsolete"> <a href="/attachment.cgi?id=307678&amp;action=edit" title="patch v1">307678</a> </span> | <span class="bz_obsolete"> <a href="/attachment.cgi?id=307680&amp;action=edit" title="patch v1, string only">307680</a> </span> | <a href="/attachment.cgi?id=307681&amp;action=edit" title="prefpanel screenshot">307681</a> | <span class="bz_obsolete"> <a href="/attachment.cgi?id=307854&amp;action=edit" title="patch v2">307854</a> </span> | <a href="/attachment.cgi?id=307855&amp;action=edit" title="patch v2, string change (checked in)">307855</a> | 308509 </div><link rel="stylesheet" href="/static/v20241119.1/extensions/FlagTypeComment/web/styles/ftc.css"> <script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK" src="/static/v20241119.1/extensions/FlagTypeComment/web/js/ftc.js"></script><script nonce="2zAAPxxCOMxOfxdoFfrLO5ab44x3klBzQi9STXO4R7mCDOJK"> $(function() { REVIEW.init_mandatory(); }); </script> </div> </main> </div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10