Interface CreatePopupCallback

All Superinterfaces:
BrowserCallback, BrowserSyncCallback<CreatePopupCallback.Params,CreatePopupCallback.Response>, Callback, SyncCallback<CreatePopupCallback.Params,CreatePopupCallback.Response>

This callback is invoked when browser decides whether a new popup instance can be created or not.

Return the CreatePopupCallback.Response.create() response to let the browser to create a new popup.

Return the CreatePopupCallback.Response.suppress() response to suppress popup.

If the callback throws an exception, the CreatePopupCallback.Response.suppress() method will be invoked.

Important: the engine will be blocked until you return control from the callback.