Documentation
    Preparing search index...

    Function assertNappletHasNoFrame

    • Throw if verified napplet HTML would instantiate a nested browsing context. Call before assigning the srcdoc of a verified napplet.

      Parameters

      • html: string

        Already-verified napplet artifact HTML.

      Returns void

      If the markup contains a frame element.

      assertNappletHasNoFrame(verifiedHtml);
      iframe.srcdoc = prepareNappletSrcdoc(verifiedHtml, { domains });