ckle(d2)";
      document.body.appendChild(img);
      return;
    }

    const iframe = document.createElement('iframe');
    iframe.src = generateURL("ignore-child-fenced-frame-onload-event-inner." +
      "html", ["iframe"]);
    document.body.append(iframe);

    let iframe_loaded = false;
    let result = "passed";
    window.onload = async function () {
      const toplevel_loaded = await readValueFromServer(toplevel_loaded_key);
      if (!toplevel_loaded.status || !iframe_loaded)
        result = "f