Find file History
jplaisted Automated g4 rollback of changelist 218861013.
*** Reason for rollback ***

Change broke tests

*** Original change description ***

Update goog.net.cookies.isEnabled function to, in addition to checking navigator.cookieEnabled, write and immediately read back a garbage cookie to check whether cookies are enabled for a browser.

This in particular protects against the Firefox browser incorrectly reporting cookies are enabled for an iframed site when third party cookies are actually disabled (see https://bugzilla.mozilla.org/show_bug.cgi?id=1500951).

TESTED:
  javascript/closure/bin/run_js_tests.sh javascript/...

***
RELNOTES: n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=218926197
Latest commit c268a11 Oct 26, 2018
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
ci Automated g4 rollback of changelist 218861013. Oct 29, 2018
http Increase promise timeout for crosspagechannel_test.js. Jul 18, 2018