Draft
Conversation
✅ Deploy Preview for content-scope-scripts ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
Temporary Branch UpdateThe temporary branch has been updated with the latest changes. Below are the details:
Please use the above install command to update to the latest version. |
Contributor
[Beta] Generated file diffTime updated: Thu, 05 Mar 2026 01:53:05 GMT Chrome-mv3File has changed FirefoxFile has changed IntegrationFile has changed WindowsFile has changed |
Contributor
Build Branch
Static preview entry points
QR codes (mobile preview)
Integration commandsnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", branch: "pr-releases/jkt/auto/chosen-policy-undefined-595a")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/jkt/auto/chosen-policy-undefined-595a
git -C submodules/content-scope-scripts checkout origin/pr-releases/jkt/auto/chosen-policy-undefined-595aPin to exact commitnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", revision: "b3185dabbd99ef37ca81f4557123ebda1a9ab93f")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/jkt/auto/chosen-policy-undefined-595a
git -C submodules/content-scope-scripts checkout b3185dabbd99ef37ca81f4557123ebda1a9ab93f |
daxtheduck
previously approved these changes
Mar 1, 2026
Dismissing stale approval — new commits pushed, awaiting Cursor re-review.
Contributor
|
This PR requires a manual review and approval from a member of one of the following teams:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Asana Task/Github Issue: #2183
Description
Add robustness to the lack of config within the cookie feature.
Testing Steps
Checklist
Please tick all that apply:
Note
Medium Risk
Changes defaulting logic for cookie restriction policies; misconfiguration could alter cookie expiry enforcement/allowance behavior in third-party frames, though the change is small and mainly adds safe defaults.
Overview
Improves robustness of
CookieFeaturewhen cookie policy config is missing by introducing default policy constants and consistently falling back to them.load()now uses nullish-coalescing fallbacks when reading bundled config (firstPartyCookiePolicy/firstPartyTrackerCookiePolicy), andinit()ensurescookiePolicy.policyandcookiePolicy.trackerPolicyare always populated (using previously-set values or defaults) before resolving the policy promise.Written by Cursor Bugbot for commit b03be1e. This will update automatically on new commits. Configure here.