DescriptionFixed the problem that cookie blocking notification bubble is not displayed in the omnibox.
We can have multiple cookies of different blocked statuses, that means OnContentAllowed() can still be called while the cookies content setting is set to block.
And we need to show the blocking cookie icon if any of the cookie is blocked.
Also, except for media, other content setting types need reloading the page to have the new setting kick in.
BUG=224557
TEST=unit_tests --gtest_filter="*TabSpecificContentSettingsTest*"
manual test:
1.Launch chrome and go to settings > content settings
2.Under cookies select the option "Block third party cookies and site data"
3.Login to facebook.com and Go to www.latimes.com.
4.Observe the cookie blocking notification bubble in the omnibox.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191844
Patch Set 1 : #
Total comments: 2
Patch Set 2 : addressed the comment #
Messages
Total messages: 5 (0 generated)
|