⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 236487 in webkit


Ignore:
Timestamp:
Sep 25, 2018, 4:29:34 PM (8 years ago)
Author:
Chris Dumez
Message:

Unreviewed, rolling out r236420 and r236458.

This change is not fully correct

Reverted changesets:

"Do not do early processing of incoming sync IPC unless we're
waiting for a sync IPC reply"
​https://bugs.webkit.org/show_bug.cgi?id=186941
​https://trac.webkit.org/changeset/236420

"Unreviewed, update bug number of http/tests/misc/blob-
size.html crash on Windows"
​https://trac.webkit.org/changeset/236458

Location:
trunk
Files:
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r236484 r236487  
     12018-09-25  Chris Dumez  <cdumez@apple.com>
     2
     3        Unreviewed, rolling out r236420 and r236458.
     4
     5        This change is not fully correct
     6
     7        Reverted changesets:
     8
     9        "Do not do early processing of incoming sync IPC unless we're
     10        waiting for a sync IPC reply"
     11        https://bugs.webkit.org/show_bug.cgi?id=186941
     12        https://trac.webkit.org/changeset/236420
     13
     14        "Unreviewed, update bug number of http/tests/misc/blob-
     15        size.html crash on Windows"
     16        https://trac.webkit.org/changeset/236458
     17
    1182018-09-25  Justin Fan  <justin_fan@apple.com>
    219
  • trunk/LayoutTests/platform/win/TestExpectations

    r236458 r236487  
    41744174webkit.org/b/188948 fast/events/dblclick-event-getModifierState.html [ Failure ]
    41754175
    4176 webkit.org/b/189948 http/tests/misc/blob-size.html [ Crash ]
    4177 
    41784176# Tests failing on EWS after updating to iTunes 12.8
    41794177webkit.org/b/189194 http/tests/IndexedDB/collect-IDB-objects.https.html [ Failure ]
  • trunk/Source/WebKit/ChangeLog

    r236486 r236487  
     12018-09-25  Chris Dumez  <cdumez@apple.com>
     2
     3        Unreviewed, rolling out r236420 and r236458.
     4
     5        This change is not fully correct
     6
     7        Reverted changesets:
     8
     9        "Do not do early processing of incoming sync IPC unless we're
     10        waiting for a sync IPC reply"
     11        https://bugs.webkit.org/show_bug.cgi?id=186941
     12        https://trac.webkit.org/changeset/236420
     13
     14        "Unreviewed, update bug number of http/tests/misc/blob-
     15        size.html crash on Windows"
     16        https://trac.webkit.org/changeset/236458
     17
    1182018-09-25  Jiewen Tan  <jiewen_tan@apple.com>
    219
  • trunk/Source/WebKit/Platform/IPC/Connection.cpp

    r236420 r236487  
    720720    // a sync reply. If it is, and we're waiting for a sync reply this message needs to be dispatched.
    721721    // If we don't we'll end up with a deadlock where both sync message senders are stuck waiting for a reply.
    722     {
    723         LockHolder locker(m_syncReplyStateMutex);
    724         // If the m_onlySendMessagesAsDispatchWhenWaitingForSyncReplyWhenProcessingSuchAMessage flag is set, then our sync messages will not be processed by the destination process while it is waiting for a sync IPC reply.
    725         // As a result, we need to process incoming sync messages early here, even if we're not waiting for a sync IPC reply in order to prevent deadlocks.
    726         if ((m_onlySendMessagesAsDispatchWhenWaitingForSyncReplyWhenProcessingSuchAMessage || !m_pendingSyncReplies.isEmpty()) && SyncMessageState::singleton().processIncomingMessage(*this, message))
    727             return;
    728     }
     722    if (SyncMessageState::singleton().processIncomingMessage(*this, message))
     723        return;
    729724
    730725    // Check if we're waiting for this message.
Note: See TracChangeset for help on using the changeset viewer.