Bootstrap the SMP compatibility layer against fb.
Side effects performed:
bridge.on(...) subscriptions for cache sync.plman using buildPlman.fb via attachFbExtensions.fb.onSMP(...) via createOnSmp.window.GetProperty / SetProperty / NotifyOthers via attachWindowProperties.populateCache + wrappersInstalled.resolve().A SmpBootstrapResult aggregate the caller should
install onto window.*. The IIFE entry does that at script
load; ESM consumers may install selectively.
foo-webview-sdk/smp-compat— Spider Monkey Panel compatibility entry.ESM consumers import the bootstrap helper plus the wrapper classes and types directly:
The IIFE bundle (
dist/smp-compat.global.js) consumed by<script>- tag themes wires the same call automatically — see "./iife". Readingwindow.fbfrom the IIFE keeps a single runtimefbinstance shared acrossdist/bridge.global.js+dist/smp-compat.global.js.