From c585a14e478f88585dcc20c1fb564d2710c11b12 Mon Sep 17 00:00:00 2001 From: Shane Tomlinson <stomlinson@mozilla.com> Date: Fri, 4 May 2012 09:43:56 +0100 Subject: [PATCH] Updating documentation in cookiesEnabled to include Android 4.0 default browser still passing the cookiesEnabled check with cookiesDisabled. close #1542 --- resources/static/shared/network.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/static/shared/network.js b/resources/static/shared/network.js index 45f422fbe..c1a5abb63 100644 --- a/resources/static/shared/network.js +++ b/resources/static/shared/network.js @@ -639,7 +639,10 @@ BrowserID.Network = (function() { withContext(function() { try { // set a test cookie with a duration of 1 second. - // NOTE - The Android 3.3 default browser will still pass this. + // NOTE - The Android 3.3 and 4.0 default browsers will still pass + // this check. This causes the Android browsers to only display the + // cookies diabled error screen only after the user has entered and + // submitted input. // http://stackoverflow.com/questions/8509387/android-browser-not-respecting-cookies-disabled/9264996#9264996 document.cookie = "test=true; max-age=1"; var enabled = document.cookie.indexOf("test") > -1; -- GitLab