Bug 173868

Summary: [Win] When running layout tests, each DRT should have a unique IndexedDB directory path.
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: NEW    
Severity: Normal CC: achristensen, ahmad.saleem792, bfulgham
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch achristensen: review-

Per Arne Vollan
Reported 2017-06-27 00:10:23 PDT
DRTs should not share the IndexedDB directory path.
Attachments
Patch (2.84 KB, patch)
2017-06-27 00:13 PDT, Per Arne Vollan
achristensen: review-
Per Arne Vollan
Comment 1 2017-06-27 00:13:02 PDT
Alex Christensen
Comment 2 2017-06-28 10:10:50 PDT
Comment on attachment 313902 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=313902&action=review > Source/WebKit/win/ChangeLog:8 > + DRTs should not share the IndexedDB directory path, as this can cause flakiness. This change is not specific to DRT, is it?
Alex Christensen
Comment 3 2017-06-28 10:11:38 PDT
After this change, will apps using indexeddb be able to find their files that are already stored on people's disks?
Per Arne Vollan
Comment 4 2017-06-28 22:36:24 PDT
(In reply to Alex Christensen from comment #3) > After this change, will apps using indexeddb be able to find their files > that are already stored on people's disks? That's a good point. If the app has set the 'WebDatabaseDirectory' preference, the indexeddb files will then have a new location with this patch. Otherwise, the files will be located at the same place. Thanks for reviewing!
Per Arne Vollan
Comment 5 2017-06-28 22:39:34 PDT
(In reply to Alex Christensen from comment #2) > Comment on attachment 313902 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=313902&action=review > > > Source/WebKit/win/ChangeLog:8 > > + DRTs should not share the IndexedDB directory path, as this can cause flakiness. > > This change is not specific to DRT, is it? That's correct.
Alex Christensen
Comment 6 2017-06-29 12:40:40 PDT
Comment on attachment 313902 [details] Patch I think this should be fixed by having DRT set the IndexedDB directory. If there is not a way to do so, we should make a way and use the default directory if it isn't set to avoid breaking existing apps by having them not find existing files after updating WebKit.
Per Arne Vollan
Comment 7 2017-07-07 16:28:03 PDT
(In reply to Alex Christensen from comment #6) > Comment on attachment 313902 [details] > Patch > > I think this should be fixed by having DRT set the IndexedDB directory. If > there is not a way to do so, we should make a way and use the default > directory if it isn't set to avoid breaking existing apps by having them not > find existing files after updating WebKit. Sounds good, Alex, I think I will create a new preference for the IndexedDB directory. Sorry for the long response time!
Ahmad Saleem
Comment 8 2023-10-27 18:11:08 PDT
Seems to be AppleWin port related, I think we can mark this as 'RESOLVED CONFIGURATION CHANGED'.
Note You need to log in before you can comment on or make changes to this bug.