RESOLVED FIXED 61417
[Chromium] WebDatabase::closeDatabaseImmediately fails sometimes.
https://bugs.webkit.org/show_bug.cgi?id=61417
Summary [Chromium] WebDatabase::closeDatabaseImmediately fails sometimes.
Michael Nordman
Reported 2011-05-24 21:24:13 PDT
Attachments
SimplerStringKey (9.82 KB, patch)
2011-05-24 21:28 PDT, Michael Nordman
webkit.review.bot: commit-queue-
SimplerStringKey (8.83 KB, patch)
2011-05-25 12:50 PDT, Michael Nordman
no flags
Michael Nordman
Comment 1 2011-05-24 21:28:30 PDT
Created attachment 94741 [details] SimplerStringKey
WebKit Review Bot
Comment 2 2011-05-24 21:38:14 PDT
Comment on attachment 94741 [details] SimplerStringKey Attachment 94741 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/8733453
Michael Nordman
Comment 3 2011-05-24 23:09:26 PDT
Looks like the DEPs roll in the other direction hasn't happened yet (pulling a newer set of webkit_support stuff from chrome-land) The callsite causing the compile error was altered to no longer use the deprecated method in r86537 (ealier today). http://src.chromium.org/viewvc/chrome?view=rev&revision=86537
WebKit Review Bot
Comment 4 2011-05-24 23:19:44 PDT
Comment on attachment 94741 [details] SimplerStringKey Attachment 94741 [details] did not pass cr-mac-ews (chromium): Output: http://queues.webkit.org/results/8726968
Michael Nordman
Comment 5 2011-05-25 12:50:52 PDT
Created attachment 94841 [details] SimplerStringKey leaving the deprecated method in for a little longer
Darin Fisher (:fishd, Google)
Comment 6 2011-05-25 13:03:27 PDT
Comment on attachment 94841 [details] SimplerStringKey View in context: https://bugs.webkit.org/attachment.cgi?id=94841&action=review > Source/WebCore/storage/DatabaseTracker.h:181 > + typedef HashMap<String, DatabaseNameMap*> DatabaseOriginMap; I guess duplicating the above typedefs and the definition of m_openDatabaseMapGuard is helpful since the type of DatabaseOriginMap is different now? This way you can keep all of these together? Another approach would be to #ifdef just the definition of DatabaseOriginMap. Then, the rest of the code duplication would not need to exist.
Michael Nordman
Comment 7 2011-05-25 13:17:03 PDT
(In reply to comment #6) > (From update of attachment 94841 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=94841&action=review > > > Source/WebCore/storage/DatabaseTracker.h:181 > > + typedef HashMap<String, DatabaseNameMap*> DatabaseOriginMap; > > I guess duplicating the above typedefs and the definition of m_openDatabaseMapGuard > is helpful since the type of DatabaseOriginMap is different now? This way you can > keep all of these together? Another approach would be to #ifdef just the definition > of DatabaseOriginMap. Then, the rest of the code duplication would not need to exist. I chose to keep the typedefs and datamembers together for the sake of readability, but I'd be willing to chop it up differently. Aside from the .h file hygiene, wdyt?
WebKit Commit Bot
Comment 8 2011-05-25 20:44:57 PDT
The commit-queue encountered the following flaky tests while processing attachment 94841 [details]: http/tests/xmlhttprequest/cross-origin-no-authorization.html bug 33357 (author: ap@webkit.org) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 9 2011-05-25 20:46:15 PDT
Comment on attachment 94841 [details] SimplerStringKey Rejecting attachment 94841 [details] from commit-queue. Failed to run "['./Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=cr-jail-7', 'land-a..." exit_code: 1 Last 500 characters of output: erListBox.cpp r87352 = 802dc9d1e34c714064594dc4bd0624b23fc04c8c (refs/remotes/trunk) M ChangeLog M Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp M Source/WebKit/chromium/public/WebGraphicsContext3D.h M Source/WebCore/platform/graphics/GraphicsContext3D.h M Source/WebCore/html/canvas/WebGLRenderingContext.cpp r87353 = d0ac4bc7d41d88e8327c241a7200d3286d031cda (refs/remotes/trunk) First, rewinding head to replay your work on top of it... Fast-forwarded master to refs/remotes/trunk. Full output: http://queues.webkit.org/results/8734624
Michael Nordman
Comment 10 2011-05-26 12:06:13 PDT
bah... got up to the point of being committed (built tests ran the whole deal) only to be rejected because the change log was missing a Reviewed By line :) will land manually
Michael Nordman
Comment 11 2011-05-26 12:44:39 PDT
Note You need to log in before you can comment on or make changes to this bug.