Changeset 67278 in webkit


Ignore:
Timestamp:
Sep 10, 2010 10:21:17 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-09-10 Balazs Kelemen <kb@inf.u-szeged.hu>

Reviewed by Andreas Kling.

Application cache directory should be checked before sending to the web process
https://bugs.webkit.org/show_bug.cgi?id=45462

  • UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::WebProcessProxy): Check the return value of m_context->applicationCacheDirectoy() to avoid sending a null string to the web process what makes it asserting.
Location:
trunk/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit2/ChangeLog

    r67274 r67278  
     12010-09-10  Balazs Kelemen  <kb@inf.u-szeged.hu>
     2
     3        Reviewed by Andreas Kling.
     4
     5        Application cache directory should be checked before sending to the web process
     6        https://bugs.webkit.org/show_bug.cgi?id=45462
     7
     8        * UIProcess/WebProcessProxy.cpp:
     9        (WebKit::WebProcessProxy::WebProcessProxy): Check the return value of
     10        m_context->applicationCacheDirectoy() to avoid sending a null string
     11        to the web process what makes it asserting.
     12
    1132010-09-10  Sam Weinig  <sam@webkit.org>
    214
  • trunk/WebKit2/UIProcess/WebProcessProxy.cpp

    r66146 r67278  
    6767    // FIXME: Instead of sending three separate initialization related messages here, we should just send a
    6868    // single "Initialize" messages with a struct that has all the needed information.
    69     send(WebProcessMessage::SetApplicationCacheDirectory, 0, CoreIPC::In(m_context->applicationCacheDirectory()));
     69    String applicationCacheDirectory = m_context->applicationCacheDirectory();
     70    if (!applicationCacheDirectory.isEmpty())
     71        send(WebProcessMessage::SetApplicationCacheDirectory, 0, CoreIPC::In(applicationCacheDirectory));
    7072
    7173    // FIXME: We could instead send the bundle path as part of the arguments to process creation?
Note: See TracChangeset for help on using the changeset viewer.