[webkit-reviews] review denied: [Bug 89666] [Qt] Separate WebKit2 instances use the same local storage : [Attachment 149754] patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 27 22:18:02 PDT 2012
Simon Hausmann <hausmann at webkit.org> has denied Szilard Ledan
<szledan at inf.u-szeged.hu>'s request for review:
Bug 89666: [Qt] Separate WebKit2 instances use the same local storage
https://bugs.webkit.org/show_bug.cgi?id=89666
Attachment 149754: patch
https://bugs.webkit.org/attachment.cgi?id=149754&action=review
------- Additional Comments from Simon Hausmann <hausmann at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=149754&action=review
I do think that the idea is good, but I don't think the implementation is
correct.
This is not an issue that is specific to the Qt port, so support for this
should be present for all ports using WTR. And that appears to be the case,
given that WTR's TestController.cpp already has code for reading the
DUMPRENDERTREE_TEMP variable and then uses WKContextSetDatabaseDirectory to
direct the databases to the location pointed to by the environment variable.
I suspect that what's happening in our case is that we end up running our
initialization code afterwards and over-write the previously set database
directory - for example the PlatformWebView is created after the call to the C
API.
Consequently I think the cleanest fix would involve us correctly taking the
existing cross-platform code path.
> Source/WebKit2/ChangeLog:4
> + [Qt] Separate WebKit2 instances use the same local storage
> + https://bugs.webkit.org/show_bug.cgi?id=89666
Can you elaborate a bit more (either in the changelog or bugzilla) what the
_symptom_ is that you're trying to fix?
Is this an issue when using NWRT with multiple WTR instances writing to the
same directory?
> Tools/ChangeLog:9
> + directory.If ther is the DUMPRENDERTREE_TEMP environment
Space between punctuation and the If. And "ther" -> "there" :)
More information about the webkit-reviews
mailing list