patcg-individual-drafts / private-aggregation-api

Explainer for proposed web platform API
https://patcg-individual-drafts.github.io/private-aggregation-api/
41 stars 17 forks source link

Consider tying `enableDebugMode()` availability to third-party cookie eligibility #57

Closed alexmturner closed 9 months ago

alexmturner commented 1 year ago

This would ensure parity with what is available through cookies and allow for the temporary debugging mechanism to 'automatically' be removed when third-party cookies are.

alexmturner commented 1 year ago

Note that this change would not be backwards compatabile in the case where a frame that does not have third-party cookie eligibility runs an Protected Audience auction or Shared Storage operation and tries to use Private Aggregation's debug mode.

In that case, we could avoid defining enableDebugMode() to allow easy detection of this case. If we are more concerned about breaking existing code, we could instead silently drop the enableDebugMode() call.

alexmturner commented 9 months ago

Closing as this has been implemented

nikijohnson4 commented 6 months ago

Thanks for the update