Changeset 182703 in webkit


Ignore:
Timestamp:
Apr 13, 2015, 3:41:51 AM (10 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r182285 - Make checkURLReceivedFromWebProcess not rely on details of platform URL implementation.
https://bugs.webkit.org/show_bug.cgi?id=143222
rdar://problem/19978997

Reviewed by Sam Weinig.

  • UIProcess/WebProcessProxy.cpp:

(WebKit::WebProcessProxy::checkURLReceivedFromWebProcess):

Location:
releases/WebKitGTK/webkit-2.8/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.8/Source/WebKit2/ChangeLog

    r182694 r182703  
     12015-04-02  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Make checkURLReceivedFromWebProcess not rely on details of platform URL implementation.
     4        https://bugs.webkit.org/show_bug.cgi?id=143222
     5        rdar://problem/19978997
     6
     7        Reviewed by Sam Weinig.
     8
     9        * UIProcess/WebProcessProxy.cpp:
     10        (WebKit::WebProcessProxy::checkURLReceivedFromWebProcess):
     11
    1122015-03-31  Carlos Garcia Campos  <cgarcia@igalia.com>
    213
  • releases/WebKitGTK/webkit-2.8/Source/WebKit2/UIProcess/WebProcessProxy.cpp

    r182688 r182703  
    329329    String path = url.fileSystemPath();
    330330    for (WebBackForwardListItemMap::iterator iter = m_backForwardListItemMap.begin(), end = m_backForwardListItemMap.end(); iter != end; ++iter) {
    331         if (URL(URL(), iter->value->url()).fileSystemPath() == path)
     331        URL itemURL(URL(), iter->value->url());
     332        if (itemURL.isLocalFile() && itemURL.fileSystemPath() == path)
    332333            return true;
    333         if (URL(URL(), iter->value->originalURL()).fileSystemPath() == path)
     334        URL itemOriginalURL(URL(), iter->value->originalURL());
     335        if (itemOriginalURL.isLocalFile() && itemOriginalURL.fileSystemPath() == path)
    334336            return true;
    335337    }
Note: See TracChangeset for help on using the changeset viewer.