Changeset 172592 in webkit


Ignore:
Timestamp:
Aug 14, 2014 10:52:35 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

WebKit2GTK - WebKitWebProcess assertion fails when dragging and dropping a file into the view
https://bugs.webkit.org/show_bug.cgi?id=127576

Patch by Michael Catanzaro <Michael Catanzaro> on 2014-08-14
Reviewed by Carlos Garcia Campos.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::performDragControllerAction): Assume read access
to any file that has been dragged into the web view when compiling for
GTK, since we don't support sandbox extensions.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r172548 r172592  
     12014-08-14  Michael Catanzaro  <mcatanzaro@igalia.com>
     2
     3        WebKit2GTK - WebKitWebProcess assertion fails when dragging and dropping a file into the view
     4        https://bugs.webkit.org/show_bug.cgi?id=127576
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * UIProcess/WebPageProxy.cpp:
     9        (WebKit::WebPageProxy::performDragControllerAction): Assume read access
     10        to any file that has been dragged into the web view when compiling for
     11        GTK, since we don't support sandbox extensions.
     12
    1132014-08-13  Wenson Hsieh  <wenson_hsieh@apple.com>
    214
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp

    r172307 r172592  
    13621362    UNUSED_PARAM(sandboxExtensionHandle);
    13631363    UNUSED_PARAM(sandboxExtensionsForUpload);
     1364
     1365    String url = dragData.asURL(nullptr);
     1366    if (!url.isEmpty())
     1367        m_process->assumeReadAccessToBaseURL(url);
    13641368    m_process->send(Messages::WebPage::PerformDragControllerAction(action, dragData), m_pageID);
    13651369#else
Note: See TracChangeset for help on using the changeset viewer.