Closed mleyen closed 8 years ago
When closing a page with the associated gesture, if the page needs confirmation (onbeforeunload), the dialog will appear, but the tab will close regardless of choice. Clicking on "Stay on Page" does not prevent the tab from being closed.
This only happens when using the gesture. Regular closing (from the tab bar or Ctrl-W) uses the standard behavior. You can test it here: http://www.4guysfromrolla.com/demos/OnBeforeUnloadDemo1.htm
Is this intended? Would it be possible to fix it so "Stay on Page" actually stops the tab from closing?
Confirmed.
When closing a page with the associated gesture, if the page needs confirmation (onbeforeunload), the dialog will appear, but the tab will close regardless of choice. Clicking on "Stay on Page" does not prevent the tab from being closed.
This only happens when using the gesture. Regular closing (from the tab bar or Ctrl-W) uses the standard behavior. You can test it here: http://www.4guysfromrolla.com/demos/OnBeforeUnloadDemo1.htm
Is this intended? Would it be possible to fix it so "Stay on Page" actually stops the tab from closing?