Commit 33e8cd5
committed
docs: correct the CSP contrast on the docs site too
The deployment page carried the same framework-versus-app nonce contrast
the source comment now denies, in nearly the same words as the blog
sentence already fixed. style-src has no nonce source, so unsafe-inline
admits every inline style including WebJs's own head rule, and the page
now says that before listing what makes the allowance hard to give up.
The global-error guidance said an inline style there must carry the
nonce. Under the default policy that is inert for style and load-bearing
only for script, so both places now say which is which.
The scaffold-sync rule went too far the other way. Several cards do carry
a prune note, and they are the ones where removal spans paths or another
card depends on them, so the rule now describes that shape instead of
forbidding it. AGENTS.md also documents selective pruning, which a
blanket prohibition contradicted.1 parent 2139f5f commit 33e8cd5
4 files changed
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
217 | 221 | | |
218 | 222 | | |
219 | 223 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
0 commit comments