Bug 224993 - Web Inspector: Audit: Uncaught Exception: Failed to execute 'delete' on 'IDBObjectStore': The parameter is not a valid key range.
Summary: Web Inspector: Audit: Uncaught Exception: Failed to execute 'delete' on 'IDBO...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL: https://webkit.org/
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-04-23 14:05 PDT by Devin Rousso
Modified: 2021-04-26 11:09 PDT (History)
4 users (show)

See Also:


Attachments
Patch (4.24 KB, patch)
2021-04-23 14:18 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2021-04-23 14:05:44 PDT
Uncaught Exception in Web Inspector.

Steps to Reproduce:
1. inspect any page
2. go to the Audits Tab
3. enter Edit mode
4. create a new audit
5. delete the newly added audit

Uncaught Exceptions:
-----------------------
 - Failed to execute 'delete' on 'IDBObjectStore': The parameter is not a valid key range. (at ObjectStore.js:216:35)
    delete @ [native code]
    ? @ ObjectStore.js:216:35
    _open @ ObjectStore.js:59:21
    ? @ ObjectStore.js:210:33
    Promise @ [native code]
    ? @ ObjectStore.js:209:27
    asyncFunctionResume @ [native code]
    asyncFunctionResume @ [native code]
    asyncFunctionResume @ [native code]
    removeTest @ AuditManager.js:309:44
    remove @ AuditTestBase.js:278:39
    ondelete @ AuditTreeElement.js:169:38
    _treeKeyDown @ TreeOutline.js:604:69
    _treeKeyDown @ [native code]
-----------------------

Notes:
Inspected URL:        https://webkit.org/
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)
Comment 1 Devin Rousso 2021-04-23 14:18:08 PDT
Created attachment 426944 [details]
Patch
Comment 2 BJ Burg 2021-04-26 10:59:34 PDT
Comment on attachment 426944 [details]
Patch

r=me
Comment 3 EWS 2021-04-26 11:08:49 PDT
Committed r276603 (237035@main): <https://commits.webkit.org/237035@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 426944 [details].
Comment 4 Radar WebKit Bug Importer 2021-04-26 11:09:23 PDT
<rdar://problem/77166213>