Source/WebKit2/ChangeLog

 12012-07-19 Zoltan Nyul <zoltan.nyul@intel.com>
 2
 3 [EFL][WK2] Using different cache directory for each WTR process
 4 https://bugs.webkit.org/show_bug.cgi?id=91719
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 Make sure we return a valid application cache directory in
 9 WebContextEfl.
 10
 11 * UIProcess/efl/WebContextEfl.cpp:
 12 (WebKit::WebContext::applicationCacheDirectory):
 13
1142012-07-15 Christophe Dumez <christophe.dumez@intel.com>
215
316 [EFL][WK2] Define destructors for Ewk structures

Source/WebKit2/UIProcess/efl/WebContextEfl.cpp

2727#include "WebContext.h"
2828
2929#include <WebCore/ApplicationCacheStorage.h>
 30#include <WebCore/FileSystem.h>
3031#include <WebCore/NotImplemented.h>
3132
3233namespace WebKit {
3334
3435String WebContext::applicationCacheDirectory()
3536{
36  return WebCore::cacheStorage().cacheDirectory();
 37 String cacheDir = WebCore::cacheStorage().cacheDirectory();
 38
 39 // The WebKitTestRunner sets the cacheDirectory and
 40 // we should not overwrite it.
 41 if (cacheDir.isEmpty())
 42 cacheDir = makeString(WebCore::homeDirectoryPath(), "/.webkit/Applications");
 43
 44 return cacheDir;
3745}
3846
3947void WebContext::platformInitializeWebProcess(WebProcessCreationParameters&)

Tools/ChangeLog

 12012-07-19 Zoltan Nyul <zoltan.nyul@intel.com>
 2
 3 [EFL][WK2] Using different cache directory for each WTR process
 4 https://bugs.webkit.org/show_bug.cgi?id=91719
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 The testrunner script may be running multiple processes in
 9 parallel, and it makes appcache tests fail if they are using the same
 10 directory. I modified the EFL's LayoutTestController to use the
 11 DUMPRENDERTREE_TEMP for application cache directory because it's
 12 different for each process.
 13
 14 * WebKitTestRunner/CMakeLists.txt:
 15 * WebKitTestRunner/InjectedBundle/efl/LayoutTestControllerEfl.cpp:
 16 (WTR::LayoutTestController::platformInitialize):
 17
1182012-07-15 Gyuyoung Kim <gyuyoung.kim@samsung.com>
219
320 Unreviewed. Add EFLWebKit2PublicAPI, EFLWebKit2PlatformSpecific to watch list.

Tools/WebKitTestRunner/CMakeLists.txt

@@SET(WebKitTestRunner_INCLUDE_DIRECTORIES
2424 ${JAVASCRIPTCORE_DIR}
2525 ${JAVASCRIPTCORE_DIR}/ForwardingHeaders
2626 ${WEBCORE_DIR}/editing
 27 ${WEBCORE_DIR}/page
2728 ${WEBCORE_DIR}/platform
2829 ${WEBCORE_DIR}/platform/graphics
2930 ${WEBCORE_DIR}/platform/network
 31 ${WEBCORE_DIR}/platform/sql
3032 ${WEBCORE_DIR}/platform/text
3133 ${WEBCORE_DIR}/testing/js
3234 ${WEBKIT2_DIR}/Shared

Tools/WebKitTestRunner/InjectedBundle/efl/LayoutTestControllerEfl.cpp

2222
2323#include "InjectedBundle.h"
2424#include <Ecore.h>
 25#include <WebCore/ApplicationCacheStorage.h>
2526
2627namespace WTR {
2728

@@static Eina_Bool waitToDumpWatchdogTimerCallback(void*)
3334
3435void LayoutTestController::platformInitialize()
3536{
 37 // The testrunner script is may be running multiple processes in parallel,
 38 // and it makes appcache tests fail if they are using the same directory.
 39 // DUMPRENDERTREE_TEMP points to a different directory for each process.
 40 String appCacheDirectory = makeString(String::fromUTF8(getenv("DUMPRENDERTREE_TEMP")), "/Applications");
 41 WebCore::cacheStorage().setCacheDirectory(appCacheDirectory);
3642 m_waitToDumpWatchdogTimer = 0;
3743}
3844