setPopup method
Sets the HTML document to be opened as a popup when the user clicks on the page action's icon.
Implementation
Future<void> setPopup(SetPopupDetails details) async {
await promiseToFuture<void>($js.chrome.pageAction.setPopup(details.toJS));
}