<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: IDBRequests that are stop()'ed don't notify the IDBServer of that fact"
   href="https://bugs.webkit.org/show_bug.cgi?id=157448">157448</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Modern IDB: IDBRequests that are stop()'ed don't notify the IDBServer of that fact
          </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>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: IDBRequests that are stop()'ed don't notify the IDBServer of that fact

Scenario:
A ScriptExecutionContext has a pending IDBOpenDBRequest that is blocked because there's already another connection to the UniqueIDBDatabase.
The IDBServer is waiting to hear back from this request.
Then the user navigates away from the page (in the Document case) or the Worker thread is terminated (in the WorkerGlobalScope case).

The server will prevent all future access to that UniqueIDBDatabase because it doesn't know that IDBOpenDBRequest has been torn down.

This is definitely preventing us from enabled all existing Worker tests, and is likely the cause of at least *some* of the flakiness tracked in <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Modern IDB: Test flakes and failures umbrella"
   href="show_bug.cgi?id=154968">https://bugs.webkit.org/show_bug.cgi?id=154968</a></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>