Bug 148008

Summary: Web Inspector: Reduce flakiness of inspector/indexeddb/requestDatabaseNames
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, bburg, commit-queue, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: DoNotImportToRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix timothy: review+

Description Joseph Pecoraro 2015-08-13 18:12:56 PDT
* SUMMARY
This test is flakey because an earlier test may create an IndexedDB database that this test did not expect.

Simple approach: delete any IndexedDB databases before running the real test.
Comment 1 Joseph Pecoraro 2015-08-13 18:14:28 PDT
Created attachment 258964 [details]
[PATCH] Proposed Fix
Comment 2 Joseph Pecoraro 2015-08-13 18:15:22 PDT
* STEPS TO REPRODUCE
1. shell> run-webkit-tests fast/history inspector/indexeddb --child-processes=1
  => the inspector test fails
Comment 3 Joseph Pecoraro 2015-08-13 18:30:27 PDT
http://trac.webkit.org/changeset/188426
Comment 4 Alexey Proskuryakov 2015-08-14 08:43:01 PDT
This helped, the test hasn't failed again yet.