const url_base = "/feature-policy/experimental-features/resources/"; window.messageResponseCallback = null; function setFeatureState(iframe, feature, origins) { iframe.setAttribute("allow", `${feature} ${origins};`); } // Returns a promise which is resolved when the