The global variable `figma` in browser cannot listen for events

Although this is a plugin api, in previous experiments it was possible to retrieve the figma object in the browser and perform the same behavior. But it doesn’t seem to be working now. Is it a proactive strategy or an inadvertent defect?

Hmm, maybe this is a recent accidental regression for Figma plugins in the browser?

Wonder if this is related to an issue we are likewise facing where figma.on(“drop”) events are not firing as expected for us in the browser despite working just fine in the Figma desktop app.

Cross-posting / linking in case relevant: