[Webkit-unassigned] [Bug 168414] New: Web Inspector: Stepping through an JavaScript with an IndexedDB Transaction is broken

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 15 22:51:07 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=168414

            Bug ID: 168414
           Summary: Web Inspector: Stepping through an JavaScript with an
                    IndexedDB Transaction is broken
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joepeck at webkit.org
                CC: beidson at apple.com,
                    inspector-bugzilla-changes at group.apple.com

Created attachment 301712
  --> https://bugs.webkit.org/attachment.cgi?id=301712&action=review
[TEST] Test Page

Stepping through an JavaScript with an IndexedDB Transaction is broken

Sample IndexedDB Source:
https://gist.github.com/BigstickCarpet/a0d6389a5d0e3a24814b

* Steps to Reproduce
1. Load test page
2. Set breakpoint in open.onsuccess
3. Step through code
  => 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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170216/9391b9b3/attachment.html>


More information about the webkit-unassigned mailing list