[android-porting] Can you help me to explain the comments about webkit?

2010-03-02 Thread Philip Wang
The comments comes from android/framework/../webkit/LoadListener.cancel(). * Cancel a request. * FIXME: This will only work if the request has yet to be handled. This * is in no way guarenteed if requests are served in a separate thread. * It also causes major problems if cancel

[android-porting] How to enable logging function in webkit?

2010-01-20 Thread Philip Wang
Hello all, I'm researching the webkit on Android. Now I have a problem. I want to enable the logging function in webcore, such as LOGV in WebFrame::reportError(WebCoreFrameBridge.cpp). I think there is a powser switch to do this. I add #define LOG_NDEBUG 1 at the top of WebCore/config.h and