Add crypto.randomUUID to a scope that lacks it, built on
crypto.getRandomValues, which browsers expose outside secure contexts.
Self-contained so renderRandomUuidFallbackScript can serialise it
into an applet's srcdoc: an opaque-origin frame inherits its parent's
insecure context, and the applet runtime calls randomUUID per request.
Add
crypto.randomUUIDto a scope that lacks it, built oncrypto.getRandomValues, which browsers expose outside secure contexts.Self-contained so renderRandomUuidFallbackScript can serialise it into an applet's srcdoc: an opaque-origin frame inherits its parent's insecure context, and the applet runtime calls
randomUUIDper request.