AboutSupportDeveloper GuideVersion 46.151.100.37

Generated when an extension creates a popup window on this host window (e.g. via chrome.windows.create({ type: 'popup' })). The runtime auto-creates a backing View and ChromeBrowser; this event notifies the platform provider so it can create a registered OpenFin window. Only fires on windows created with chromeBrowser: true.

interface ExtensionWindowCreatedEvent {
    activeTabIdentity?: Identity;
    childOptions: Record<string, unknown>;
    disposition: "popup";
    name: string;
    tabIdentity: Identity;
    topic: "window";
    type: "extension-window-created";
    url: string;
    uuid: string;
}

Properties

activeTabIdentity?: Identity

Identity of the view that was active when the extension triggered window creation. Undefined if no tab was active.

childOptions: Record<string, unknown>

Options for the child window the platform provider should create.

disposition

Always 'popup' for extension-created popup windows.

name: string
tabIdentity: Identity

Identity of the auto-created tab backing the popup window.

topic

The "kebab-case" classname of the emitter that raised the event.

OpenFin.Frame is represented as iframe.

type

The type of event that was raised. Equal to the typename of the event payload in "kebab case".

Guaranteed to be unique within each topic, but can be repeated between topics (e.g. WebContentsEvents.CrashedEvent and ApplicationEvents.CrashedEvent).

url: string

Initial URL the extension requested.

uuid: string