Skip to content

Loading…

Better abstraction for vAPI.tabs.onPopup() #967

Closed
gorhill opened this Issue · 0 comments

1 participant

@gorhill

The details parameter for vAPI.tabs.onPopup() is being revised in a way to abstract better platform-specific details:

details.openerTabId: the tab id from within which the popup is launched. Optional.

details.openerURL: the URL from within which the popup is launched. Optional.

It is ok for openerTabId or openerURL to be undefined. The popup handler will use either one of them to figure the context from where the popup was opened.

details.targetTabId: the tab id of the popup.

details.targetURL: the URL of the popup.

@gorhill gorhill added a commit that closed this issue
@gorhill gorhill this fixes #967 8341fb2
@gorhill gorhill closed this in 8341fb2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.