Bug 161122

Summary: Web Inspector: Test IndexedDB.requestDatabase
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: DoNotImportToRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix bburg: review+

Joseph Pecoraro
Reported 2016-08-23 18:07:14 PDT
Summary: Test IndexedDB.requestDatabase. Also use this opportunity to share some code across indexed db tests.
Attachments
[PATCH] Proposed Fix (16.08 KB, patch)
2016-08-23 18:08 PDT, Joseph Pecoraro
bburg: review+
Joseph Pecoraro
Comment 1 2016-08-23 18:08:38 PDT
Created attachment 286811 [details] [PATCH] Proposed Fix
Blaze Burg
Comment 2 2016-08-25 15:06:16 PDT
Comment on attachment 286811 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=286811&action=review r=me, looks fine. But please rebase and run through EWS before landing. > LayoutTests/inspector/indexeddb/requestDatabase.html:12 > + name: "ClearDatabases", It might make sense to make this a helper method and configure each test case's 'setup' parameter to run it. Then we won't even need to rebase test results when the workaround is removed. > LayoutTests/inspector/indexeddb/requestDatabase.html:65 > + InspectorTest.expectThat(objectStores[2].indexes.length === 2, "Object store should have 2 indexes."); I really appreciate the good messages in these expectations. > LayoutTests/inspector/indexeddb/requestDatabase.html:74 > + // FIXME: <https://webkit.org/b/161121> Web Inspector: IndexedDB.requestDatabase() should not create a database if one did not exist Oops.
Joseph Pecoraro
Comment 3 2016-08-26 14:01:24 PDT
Note You need to log in before you can comment on or make changes to this bug.