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

Changeset 259640 in webkit


Ignore:
Timestamp:
Apr 7, 2020, 9:09:43 AM (6 years ago)
Author:
youenn@apple.com
Message:

REGRESSION (r259383-259384): ASSERTION FAILED: 'Completion handler should always be called' seen with http/wpt/service-workers/service-worker-different-process.https.html
https://bugs.webkit.org/show_bug.cgi?id=209977

Reviewed by Chris Dumez.

  • UIProcess/AuxiliaryProcessProxy.cpp:

(WebKit::AuxiliaryProcessProxy::~AuxiliaryProcessProxy):
In case AuxiliaryProcessProxy has some enqueued messages but process crashes on launch for instance,
we should call the completion handlers and fail.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r259637 r259640  
     12020-04-07  Youenn Fablet  <youenn@apple.com>
     2
     3        REGRESSION (r259383-259384): ASSERTION FAILED: 'Completion handler should always be called' seen with http/wpt/service-workers/service-worker-different-process.https.html
     4        https://bugs.webkit.org/show_bug.cgi?id=209977
     5
     6        Reviewed by Chris Dumez.
     7
     8        * UIProcess/AuxiliaryProcessProxy.cpp:
     9        (WebKit::AuxiliaryProcessProxy::~AuxiliaryProcessProxy):
     10        In case AuxiliaryProcessProxy has some enqueued messages but process crashes on launch for instance,
     11        we should call the completion handlers and fail.
     12
    1132020-04-07  David Kilzer  <ddkilzer@apple.com>
    214
  • trunk/Source/WebKit/UIProcess/AuxiliaryProcessProxy.cpp

    r258018 r259640  
    4949        m_processLauncher = nullptr;
    5050    }
     51    auto pendingMessages = WTFMove(m_pendingMessages);
     52    for (auto& pendingMessage : pendingMessages) {
     53        if (pendingMessage.asyncReplyInfo)
     54            pendingMessage.asyncReplyInfo->first(nullptr);
     55    }
    5156}
    5257
Note: See TracChangeset for help on using the changeset viewer.