IN_PROC_BROWSER_TEST_F(PrivacySandboxAdPrivacyDeprecationDisabledTest,
SettingsRoutesRedirect) {
content::WebContents* web_contents =
browser()->tab_strip_model()->GetActiveWebContents();
GURL base_settings_url("chrome://settings/");
for (const char* url_string : kAdPrivacyUrls) {
ASSERT_TRUE(ui_test_utils::NavigateToURL(browser(), GURL(url_string)));
EXPECT_EQ(web_contents->GetLastCommittedURL(), base_settings_url);
}
}test no longer needed. Delete it.
html_source->AddBoolean(
"isPrivacySandboxRestricted",
privacy_sandbox_service->IsPrivacySandboxRestricted());why is this still needed here? should it be removed?
html_source->AddBoolean(
"isPrivacySandboxAdPrivacyUxDeprecationEnabled",
base::FeatureList::IsEnabled(
privacy_sandbox::kPrivacySandboxAdPrivacyUxDeprecation));why is this still needed here? shouldn't it be removed?
suite('PrivacySandboxAdPrivacyUxDeprecationEnabled', function() {shouldn't this entire suite be removed?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
IN_PROC_BROWSER_TEST_F(PrivacySandboxAdPrivacyDeprecationDisabledTest,
SettingsRoutesRedirect) {
content::WebContents* web_contents =
browser()->tab_strip_model()->GetActiveWebContents();
GURL base_settings_url("chrome://settings/");
for (const char* url_string : kAdPrivacyUrls) {
ASSERT_TRUE(ui_test_utils::NavigateToURL(browser(), GURL(url_string)));
EXPECT_EQ(web_contents->GetLastCommittedURL(), base_settings_url);
}
}test no longer needed. Delete it.
Done
// Required for Third Party Cookies settings subpage (cookies_page.ts).remove this comment.
html_source->AddBoolean(
"isPrivacySandboxRestricted",
privacy_sandbox_service->IsPrivacySandboxRestricted());why is this still needed here? should it be removed?
Done
html_source->AddBoolean(
"isPrivacySandboxAdPrivacyUxDeprecationEnabled",
base::FeatureList::IsEnabled(
privacy_sandbox::kPrivacySandboxAdPrivacyUxDeprecation));why is this still needed here? shouldn't it be removed?
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Abe Boujaneremove empty line
Done
'privacy20:ads-click-old';where does this come from? should it be cleaned up if no longer used?
Abe Boujaneremove empty line
Done
// Required for Third Party Cookies settings subpage (cookies_page.ts).Abe Boujaneremove this comment.
Done
Abe Boujaneremove empty line
Done
suite('PrivacySandboxAdPrivacyUxDeprecationEnabled', function() {Abe Boujaneshouldn't this entire suite be removed?
Done
Abe Boujaneremove empty line
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Abe Boujaneremove empty line
Done
Abe Boujaneremove empty line
Done
'privacy20:ads-click-old';where does this come from? should it be cleaned up if no longer used?
Abe Boujaneremove empty line
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
no need for 2 blank lines at end of namespace
protected getAdsClickIcon_(): string {Do we also need to remove the HTML template chunk that is referencing this? https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/resources/settings/privacy_page/privacy_guide/privacy_guide_completion_fragment.html;l=54
html_source->AddBoolean("isPrivacySandboxAdPrivacyUxDeprecationEnabled",
is_ad_privacy_ux_deprecation_enabled);Still referenced in cookies_page:
https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/resources/settings/privacy_page/cookies_page.ts;l=129
loadTimeData.overrideValues({
});Remove unnecessary call
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
no need for 2 blank lines at end of namespace
Done
protected getAdsClickIcon_(): string {Do we also need to remove the HTML template chunk that is referencing this? https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/resources/settings/privacy_page/privacy_guide/privacy_guide_completion_fragment.html;l=54
yes this is being removed in the parent cl. (https://chromium-review.git.corp.google.com/c/chromium/src/+/8130860/11/chrome/browser/resources/settings/privacy_page/privacy_guide/privacy_guide_completion_fragment.html) I think I'll actually make the privacy_guide completion fragment.ts change in the parent cl since that one is supposed to contain the privacy guide component.
html_source->AddBoolean("isPrivacySandboxAdPrivacyUxDeprecationEnabled",
is_ad_privacy_ux_deprecation_enabled);Still referenced in cookies_page:
https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/resources/settings/privacy_page/cookies_page.ts;l=129
Great catch! Thank you!
loadTimeData.overrideValues({
});Abe BoujaneRemove unnecessary call
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |