chromium/third_party/blink/web_tests/external/wpt/fedcm/support/fedcm/pending-userinfo-iframe.html

<!doctype html>
<script type="module">
import {alt_manifest_origin} from './../fedcm-helper.sub.js';

// Invokes getUserInfo and immediately sends a message to the parent frame.
window.onload = async () => {
  try {
    const manifest_path = `${alt_manifest_origin}/\
fedcm/support/manifest.py`;
    IdentityProvider.getUserInfo({
      configURL: manifest_path,
      // Approved client
      clientId: '123',
    });
    window.top.postMessage("Pass", '*');
  } catch (error) {
    window.top.postMessage("Fail", '*');
  }
};

</script>