Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec: Allow debug mode to be disabled arbitrarily by the user agent. #90

Merged
merged 2 commits into from
Sep 25, 2023

Conversation

alexmturner
Copy link
Collaborator

@alexmturner alexmturner commented Aug 22, 2023

Adds logic that allows for debug mode to be disabled even if enableDebugMode() is called. This addresses issue #57. See also the corresponding explainer change: #93.

As a drive-by, adds an issue for an assert that is currently hit.


Preview | Diff

Adds logic that allows for debug mode to be disabled even if
enableDebugMode() is called. This addresses issue #57.

As a drive-by, adds an issue for an assert that is currently hit.
@alexmturner
Copy link
Collaborator Author

@linnan-github, could you PTAL? Thanks!

alexmturner added a commit that referenced this pull request Sep 11, 2023
Per issue #57, we tie debug mode to third-party cookie eligibility. See also the related spec change in #90.
aarongable pushed a commit to chromium/chromium that referenced this pull request Sep 11, 2023
Adds new feature params that allow for controlling debug mode
eligibility. By default, this cl continues the current behavior of
always allowing debug mode, so this cl should be a no-op unless one of
the FeatureParams are force enabled/disabled.

We add one param that allows for debug mode to be conditioned on third-
party cookie eligibility. We plan to enable this in a follow-up cl. This
cl also adds a kill switch param that disallows debug mode globally.

See also the related spec change:
patcg-individual-drafts/private-aggregation-api#90

Bug: 1476980
Change-Id: Iebd3cb9dbd4dfa9fb9322ac0bdf8b5f7408bf153
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4822930
Reviewed-by: Theodore Olsauskas-Warren <[email protected]>
Commit-Queue: Alex Turner <[email protected]>
Reviewed-by: John Abd-El-Malek <[email protected]>
Reviewed-by: Nan Lin <[email protected]>
Reviewed-by: Qingxin Wu <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1195010}
@alexmturner
Copy link
Collaborator Author

cc @yoavweiss

@alexmturner alexmturner added the spec Related to specification/standardization label Sep 12, 2023
alexmturner added a commit that referenced this pull request Sep 25, 2023
Per issue #57, we tie debug mode to third-party cookie eligibility. See also the related spec change in #90.
@alexmturner alexmturner merged commit 2eb3d35 into main Sep 25, 2023
1 check passed
@alexmturner alexmturner deleted the debug-mode-conditional branch September 25, 2023 22:05
github-actions bot added a commit that referenced this pull request Sep 25, 2023
…90)

SHA: 2eb3d35
Reason: push, by alexmturner

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec Related to specification/standardization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants