<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 - Web Inspector: Stepping through an JavaScript with an IndexedDB Transaction is broken"
   href="https://bugs.webkit.org/show_bug.cgi?id=168414">168414</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Web Inspector: Stepping through an JavaScript with an IndexedDB Transaction is broken
          </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>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </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>Web Inspector
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>joepeck&#64;webkit.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>beidson&#64;apple.com, inspector-bugzilla-changes&#64;group.apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=301712" name="attach_301712" title="[TEST] Test Page">attachment 301712</a> <a href="attachment.cgi?id=301712&amp;action=edit" title="[TEST] Test Page">[details]</a></span>
[TEST] Test Page

Stepping through an JavaScript with an IndexedDB Transaction is broken

Sample IndexedDB Source:
<a href="https://gist.github.com/BigstickCarpet/a0d6389a5d0e3a24814b">https://gist.github.com/BigstickCarpet/a0d6389a5d0e3a24814b</a>

* Steps to Reproduce
1. Load test page
2. Set breakpoint in open.onsuccess
3. Step through code
  =&gt; Sudden Exception after opening the transaction

* Exception
[Error] InvalidStateError (DOM IDBDatabase Exception 11): Failed to execute 'objectStore' on 'IDBTransaction': The transaction finished.
    objectStore (idb.html:19)
    onsuccess (idb.html:19)

I think the Nested Run Loop used by debugger stepping may be affecting the lifetime of the transaction, causing it to go away prematurely.

Brady does this sound possible?</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>