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