Changeset 176728 in webkit


Ignore:
Timestamp:
Dec 3, 2014 11:08:53 AM (9 years ago)
Author:
mitz@apple.com
Message:

REGRESSION(r176687): Caused webkit2 test assertion failure crashes in WebKit::WebPage::willStartDrag()
https://bugs.webkit.org/show_bug.cgi?id=139224

Reviewed by Alexey Proskuryakov.

Source/WebKit2:

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::mouseEventSyncForTesting): Wait for the UI process to start dragging if
needed before handling the event.

LayoutTests:

  • platform/wk2/TestExpectations: Unskip the tests.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r176726 r176728  
     12014-12-03  Dan Bernstein  <mitz@apple.com>
     2
     3        REGRESSION(r176687): Caused webkit2 test assertion failure crashes in WebKit::WebPage::willStartDrag()
     4        https://bugs.webkit.org/show_bug.cgi?id=139224
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        * platform/wk2/TestExpectations: Unskip the tests.
     9
    1102014-12-03  Mark Lam  <mark.lam@apple.com>
    211
  • trunk/LayoutTests/platform/wk2/TestExpectations

    r176726 r176728  
    223223
    224224webkit.org/b/132297 svg/custom/bug79798.html [ Skip ]
    225 
    226 # These tests started crashing with assertion failures only on debug builds after r176687:
    227 webkit.org/b/139224 [ Debug ] fast/events/clear-drag-state.html  [ Skip ]
    228 webkit.org/b/139224 [ Debug ] fast/css/user-drag-none.html  [ Skip ]
    229 webkit.org/b/139224 [ Debug ] editing/pasteboard/dataTransfer-setData-getData.html [ Skip ]
    230 webkit.org/b/139224 [ Debug ] editing/pasteboard/drop-text-events-sideeffect-crash.html [ Skip ]
    231 webkit.org/b/139224 [ Debug ] editing/pasteboard/drag-drop-iframe-refresh-crash.html [ Skip ]
    232 webkit.org/b/139224 [ Debug ] editing/pasteboard/drop-text-events-sideeffect.html [ Skip ]
    233 webkit.org/b/139224 [ Debug ] editing/selection/user-drag-element-and-user-select-none.html [ Skip ]
    234225
    235226### END OF (1) Classified failures with bug reports
  • trunk/Source/WebKit2/ChangeLog

    r176724 r176728  
     12014-12-03  Dan Bernstein  <mitz@apple.com>
     2
     3        REGRESSION(r176687): Caused webkit2 test assertion failure crashes in WebKit::WebPage::willStartDrag()
     4        https://bugs.webkit.org/show_bug.cgi?id=139224
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        * WebProcess/WebPage/WebPage.cpp:
     9        (WebKit::WebPage::mouseEventSyncForTesting): Wait for the UI process to start dragging if
     10        needed before handling the event.
     11
    1122014-12-03  Michael Catanzaro  <mcatanzaro@igalia.com>
    213
  • trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp

    r176687 r176728  
    19561956void WebPage::mouseEventSyncForTesting(const WebMouseEvent& mouseEvent, bool& handled)
    19571957{
     1958#if ENABLE(DRAG_SUPPORT)
     1959    if (m_isStartingDrag)
     1960        messageSenderConnection()->waitForAndDispatchImmediately<Messages::WebPage::DidStartDrag>(messageSenderDestinationID(), std::chrono::seconds(60));
     1961#endif
     1962
    19581963    handled = false;
    19591964#if !PLATFORM(IOS)
Note: See TracChangeset for help on using the changeset viewer.