<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 - img onload event is fired upon receiving a 301"
   href="https://bugs.webkit.org/show_bug.cgi?id=156585">156585</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>img onload event is fired upon receiving a 301
          </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>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </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>Page Loading
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mmaxfield&#64;apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>beidson&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>1. Use the Network Link Conditioner (<a href="http://nshipster.com/network-link-conditioner/">http://nshipster.com/network-link-conditioner/</a>) to make the network slow
2. Open the reproduction html
3. Click somewhere
4. Wait a little while

Actual behavior: Red rectangle gets very narrow for a split second before jumping back to its original size

Expected behavior: Red rectangle never changes size

Firefox / Chrome display the expected behavior.

The link that we load when clicking (<a href="https://placehold.it/200x200">https://placehold.it/200x200</a>) returns a 301. Initial guess is that we're firing the onload event upon receiving the 301, rather than the subsequent 200.</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>