AboutSupportDeveloper GuideVersion 34.118.78.83

Configurations for API injection.

Hierarchy

  • Api

Properties

Properties

iframe?: {
    crossOriginInjection?: boolean;
    enableDeprecatedSharedName?: boolean;
    sameOriginInjection?: boolean;
}

Configure injection of OpenFin API into iframes based on domain

Type declaration

  • Optional crossOriginInjection?: boolean

    Inject OpenFin API into cross-origin iframes

    Default Value

    false

  • Optional enableDeprecatedSharedName?: boolean

    Deprecated

    Shared names should not be used; support is provided purely for back-compat reasons.

    When true, iframes will have the same name as their parent WebContents.

  • Optional sameOriginInjection?: boolean

    Inject OpenFin API into same-origin iframes

    Default Value

    true