Skip to content

Commit

Permalink
Merge pull request #467 from GoogleChromeLabs/update-chrome-launcher
Browse files Browse the repository at this point in the history
Update flags and profile color in Chrome launcher
  • Loading branch information
amedina authored Feb 1, 2024
2 parents b232745 + 09946b9 commit b4f696c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bin/chrome_launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,33 +49,33 @@ fi
# Launch default chrome
chrome-default() {
launch_chrome \
--install-autogenerated-theme='150,220,150'
--install-autogenerated-theme='255,51,51'
}

# Launch default chrome with 3rd Party Cookie Phaseout
chrome-3pcd() {
launch_chrome \
--install-autogenerated-theme='255,51,51' \
--install-autogenerated-theme='150,220,150' \
--test-third-party-cookie-phaseout \
--enable-features="FirstPartySets,StorageAccessAPI,StorageAccessAPIForOriginExtension,PageInfoCookiesSubpage,PrivacySandboxFirstPartySetsUI"
--enable-features="FirstPartySets,StorageAccessAPI,StorageAccessAPIForOriginExtension,PageInfoCookiesSubpage,PrivacySandboxFirstPartySetsUI,TpcdMetadataGrants,TpcdSupportSettings,TpcdHeuristicsGrants:TpcdReadHeuristicsGrants/true/TpcdWritePopupCurrentInteractionHeuristicsGrants/30d/TpcdBackfillPopupHeuristicsGrants/30d/TpcdPopupHeuristicEnableForIframeInitiator/all/TpcdWriteRedirectHeuristicGrants/15m/TpcdRedirectHeuristicRequireABAFlow/true/TpcdRedirectHeuristicRequireCurrentInteraction/true"
}

# Launch default chrome with Privacy Sandbox extension
chrome-default-ps() {
extension_setup
launch_chrome \
--install-autogenerated-theme='150,220,150' \
--install-autogenerated-theme='255,51,51' \
--load-extension="$extension_dir/ps-analysis-tool-$ps_analysis_tool_version/extension/"
}

# Launch default chrome with 3rd Party Cookie Phaseout with Privacy Sandbox extension
chrome-3pcd-ps() {
extension_setup
launch_chrome \
--install-autogenerated-theme='255,51,51' \
--install-autogenerated-theme='150,220,150' \
--test-third-party-cookie-phaseout \
--load-extension="$extension_dir/ps-analysis-tool-$ps_analysis_tool_version/extension" \
--enable-features="FirstPartySets,StorageAccessAPI,StorageAccessAPIForOriginExtension,PageInfoCookiesSubpage,PrivacySandboxFirstPartySetsUI"
--enable-features="FirstPartySets,StorageAccessAPI,StorageAccessAPIForOriginExtension,PageInfoCookiesSubpage,PrivacySandboxFirstPartySetsUI,TpcdMetadataGrants,TpcdSupportSettings,TpcdHeuristicsGrants:TpcdReadHeuristicsGrants/true/TpcdWritePopupCurrentInteractionHeuristicsGrants/30d/TpcdBackfillPopupHeuristicsGrants/30d/TpcdPopupHeuristicEnableForIframeInitiator/all/TpcdWriteRedirectHeuristicGrants/15m/TpcdRedirectHeuristicRequireABAFlow/true/TpcdRedirectHeuristicRequireCurrentInteraction/true"
}

# Launch default chrome with Partitioned Cookies
Expand Down

0 comments on commit b4f696c

Please sign in to comment.