<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - onbeforeunload does not show up after the first time Leave is clicked"
   href="https://bugs.webkit.org/show_bug.cgi?id=164993">164993</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>onbeforeunload does not show up after the first time Leave is clicked
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>macOS 10.12
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>HTML Events
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>manuel+bugzilla&#64;xaibot.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=295272" name="attach_295272" title="a test page that demonstrates and explains the problem">attachment 295272</a> <a href="attachment.cgi?id=295272&amp;action=edit" title="a test page that demonstrates and explains the problem">[details]</a></span>
a test page that demonstrates and explains the problem

After the first time the user is presented with the dialog triggered by onbeforeunload and the user chooses to leave, the dialog does not show up any more regardless of the way used to navigate out of the page.

We found this issue on Safari 10.0 (12602.1.50.0.10) and then we were able to reproduce it on Version 10.0.1 and the latest nightly build.

See the attachment for complete description and steps to follow to reproduce the issue.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>