Starcounter / DevTools

A browser extension that helps you debug Starcounter apps with ease
3 stars 1 forks source link

Opener window management #85

Closed warpech closed 5 years ago

warpech commented 6 years ago

What I find missing in Starcounter DevTools is proper lifecycle handling of window.opener. What happens when the opener tab is closed? The DevTools remains open. Is Palindrom session properly detached at this point?

I think there should be some information like:

This is Starcounter DevTools opened by the tab http://localhost:8080/UniformDocs/FileUpload Focus tab

The URL should be the current URL of the opener tab.

Clicking on the Focus tab button should focus the opener.

When that tab gets closed, the Focus tab button should become permanently disabled. After that button display text That tab is closed now.

alshakero commented 5 years ago

I agree with the Focus tab idea. But I think the devtools should be closed when the tab is closed or navigated away. WDYT?

tomalec commented 5 years ago

I upvote the Focus tab + closing when opener closed or navigated away

alshakero commented 5 years ago

Closing as done in #97