Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-124004

Browser doesn't send onbeforeunload events when closing

    XMLWordPrintable

Details

    • Linux/X11, Windows
    • 07734ab07 (dev)

    Description

      When closing webpage  window.onbeforeunload events is not fired. Attached little html file  it needs to be loaded from a web server.

      Then using Qt simple browser load this page and click on the link, a new tab will be created close this tab and then you will see in previous tab "it worked" will print. 

      This works in chrome but not in QtWebengine. Attached screen recording

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            moheim Moss Heim
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes