<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 - Modern IDB: IDBTransaction::hasPendingActivity() was wrong, leading to premature GC of the wrapper"
   href="https://bugs.webkit.org/show_bug.cgi?id=151507">151507</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Modern IDB: IDBTransaction::hasPendingActivity() was wrong, leading to premature GC of the wrapper
          </td>
        </tr>

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

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

        <tr>
          <th>Version</th>
          <td>Safari 9
          </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>WebCore Misc.
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>beidson&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Modern IDB: IDBTransaction::hasPendingActivity() was wrong, leading to premature GC of the wrapper

Since the JS wrapper for an IDBTransaction might have been GC'ed before the transaction was done, javascript event callbacks to the transaction would fail.

This would stall many tests, which would fail with a timeout.

Because it's GC and therefore timing related, it showed up as flakiness.

Known cases:
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Layout Test storage/indexeddb/modern/idbindex-properties-basic.html is flaky on mac-wk1"
   href="show_bug.cgi?id=151219">https://bugs.webkit.org/show_bug.cgi?id=151219</a>
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - storage/indexeddb/modern/get-index-failures.html flakily times out on mac-wk1"
   href="show_bug.cgi?id=151364">https://bugs.webkit.org/show_bug.cgi?id=151364</a>
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - storage/indexeddb/modern/aborted-put.html flakily times out on mac-wk1"
   href="show_bug.cgi?id=151389">https://bugs.webkit.org/show_bug.cgi?id=151389</a>
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - storage/indexeddb/modern/cursor tests flakily time out on mac-wk1"
   href="show_bug.cgi?id=151448">https://bugs.webkit.org/show_bug.cgi?id=151448</a>

However, the bug was fixed in <a href="https://trac.webkit.org/changeset/192687">https://trac.webkit.org/changeset/192687</a>

So I suspect that all of these tests will un-flake going forward.

I'll be closing all of those bugs as dupes of this one, and then once we're sure they've unflaked we can revert the TestExpectations changes made in each of those bugs.</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>