patcg-individual-drafts / private-aggregation-api

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

Align enableDebugMode() semantics in explainer with spec #133

Closed dmcardle closed 1 month ago

dmcardle commented 1 month ago

The spec defines method steps for enableDebugMode(). These steps indicate that the method should throw a DataError exception when it has already been called in the current scope.

dmcardle commented 1 month ago

@alexmturner PTAL when you're available!

johnivdel commented 1 month ago

Could you link the part of the spec which captures this rather than the crbug?

dmcardle commented 1 month ago

Done!

dmcardle commented 1 month ago

Thanks! This is ready to go, but I don't have write access :)

alexmturner commented 1 month ago

Oh huh, not seeing the setting to change that right now, so I'll just go ahead and merge for now :)