w3cping / privacy-threat-model

A target privacy threat model for the Web
https://w3cping.github.io/privacy-threat-model
Apache License 2.0
23 stars 7 forks source link

Add a script to check that cells are under the right headers. #32

Open jyasskin opened 4 years ago

jyasskin commented 4 years ago

Depends on #30, since that changes the structure of the header cells.

It's hard to be sure that the checks and x's keep matching their column headers as the threat-model tables change, since they're far apart in the source, so this script emits console.errors when the local declaration of the goal doesn't match the reader-visible column header.

@tabatkins, FYI in case you see an easy way to surface these errors more visibly or, even better, during the Bikeshed build.


Preview | Diff

tabatkins commented 4 years ago

Hmm, so a general capability to explicitly tie cells to particular columns, to ensure order doesn't get messed up? Theoretically doable, yeah.

jyasskin commented 4 years ago

Now that #30 is merged, this is back to a single commit.