mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Ratchet Cesium-shaped viewer access in files off the Cesium list
A second ratchet beside the Cesium allow-list: files off that list (and outside the Cesium adapter) may no longer reach Cesium through the viewer either. src/render/viewerAccessAllowList.json records, per file, how many such accesses it still makes (the viewer's entities, dataSources, scene, camera, clock, imageryLayers, terrainProvider, trackedEntity and canvas; the scene's primitives, pick, drillPick, pickPosition, globe, frame events, canvas, requestRender and camera), read from the parsed source in their plain, optional, bracketed, call-result and destructured forms. viewer.container, comments and tests do not count. The test fails when a file makes more accesses than recorded, when a recorded count is higher than the file now needs or names a file gone or back on the Cesium list, and when the record grows against origin/main. scripts/viewer-access-baseline.mjs lowers the record to what the files hold; it never adds or raises an entry. The record starts with 25 files and 50 accesses.
This commit is contained in:
1 parent
0f9bd23829
commit
396e7f0deb
7 files changed
+557
No files matched your search
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"src/agent/worldPacket.js": 2,
|
||||
"src/annotations/drawTool.js": 1,
|
||||
"src/annotations/resolver.js": 1,
|
||||
"src/annotations/screenAnnotationRenderer.js": 1,
|
||||
"src/cameraVerbs.js": 1,
|
||||
"src/celestialRing.js": 1,
|
||||
"src/data/bhoteKoshiEmbeddedMedia.js": 1,
|
||||
"src/data/followed.js": 5,
|
||||
"src/data/osmOverlays.js": 2,
|
||||
"src/data/pickRegistry.js": 3,
|
||||
"src/data/spriteOrder.js": 2,
|
||||
"src/layers/cctv/geometry.js": 1,
|
||||
"src/layers/cctv/ground.js": 2,
|
||||
"src/layers/flights/motion.js": 1,
|
||||
"src/layers/military/motion.js": 1,
|
||||
"src/layers/streetLevel/view.js": 1,
|
||||
"src/layers/submarineCables/lifecycle.js": 2,
|
||||
"src/layers/submarineCables/surface.js": 2,
|
||||
"src/layers/vessels/lifecycle.js": 1,
|
||||
"src/layers/weather/imageryHost.js": 3,
|
||||
"src/maps/imageryHost.js": 4,
|
||||
"src/overlays/worldOverlay.js": 1,
|
||||
"src/ui/shareRestoration.js": 4,
|
||||
"src/ui/visualEffects.js": 1,
|
||||
"src/voice/gevActions.js": 1
|
||||
}
|
||||
Reference in new issue
Block a user