Spatial Navigation for GeckoView - v3.2.0
    Preparing search index...

    Function initSpatialNavigation

    • Run the full initialization pipeline.

      Multiple init attempts can occur if GeckoView re-injects the content script: each call gets fresh state and a new handler ID. Stale handlers from prior injections short-circuit themselves via the DOM-level data-spatnav-handler-id attribute (set by attachHandlers in navigation/handlers.ts). That event-level guard is the dedup mechanism — we deliberately do not also gate at the init level, because past attempts to do so left stale handlers attached after navigation.

      Returns void