Commit 4cbb312
committed
Cover allowed-child + unlisted-parent-scope round-trip
allowed_classes gates instantiation. A child that inherits private
state from its parent should round-trip on ['Child'] alone — the
parent is never instantiated, only used as a scope for the inherited
private slot write. The is-a-parent-of check on "properties" entries
is the real security boundary.1 parent 275f490 commit 4cbb312
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
97 | 114 | | |
98 | 115 | | |
99 | 116 | | |
| |||
113 | 130 | | |
114 | 131 | | |
115 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
116 | 136 | | |
0 commit comments