feedBack/plugins/drum_highway_3d/tests
Kris Anderson 14d116d827 fix(highways): validate panel index before indexing the camera map
_resolveFreeCam() (keys/drum) and _freeCamFor() (highway_3d) guarded the panel
map lookup with only `i != null`, so a non-integer / negative / string index
from panelIndexFor() could resolve an unintended or inherited property (e.g.
map['toString']) instead of cleanly falling back to the global camera. Gate the
index on `Number.isInteger(i) && i >= 0` before `map[i]`, matching the hardening
already applied in _bgPanelKey(). Extend the resolver tests with float/string
(prototype-key) cases. Behavior change only for malformed indices.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Kris Anderson <topkoa@gmail.com>
2026-07-09 16:33:57 -04:00
..
camera_bridge.test.js fix(highways): validate panel index before indexing the camera map 2026-07-09 16:33:57 -04:00
data_layer.test.js feat(drum_highway_3d): audio-reactive ambience + score FX overlay (D4) (#708) 2026-07-02 09:01:56 +02:00