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

Changeset 271282 in webkit


Ignore:
Timestamp:
Jan 7, 2021, 7:58:06 PM (6 years ago)
Author:
achristensen@apple.com
Message:

Remove assertions in MESSAGE_CHECK definition
https://bugs.webkit.org/show_bug.cgi?id=220401

  • Platform/IPC/Connection.h:

The unit test associated with r271263 hits these assertions in debug builds.
Since we plan to increase this type of unit testing, I remove the assertions.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r271279 r271282  
     12021-01-07  Alex Christensen  <achristensen@webkit.org>
     2
     3        Remove assertions in MESSAGE_CHECK definition
     4        https://bugs.webkit.org/show_bug.cgi?id=220401
     5
     6        * Platform/IPC/Connection.h:
     7        The unit test associated with r271263 hits these assertions in debug builds.
     8        Since we plan to increase this type of unit testing, I remove the assertions.
     9
    1102021-01-07  Mark Lam  <mark.lam@apple.com>
    211
  • trunk/Source/WebKit/Platform/IPC/Connection.h

    r270573 r271282  
    8181
    8282#define MESSAGE_CHECK_COMPLETION_BASE(assertion, connection, completion) do { \
    83     ASSERT(assertion); \
    8483    if (UNLIKELY(!(assertion))) { \
    8584        (connection)->markCurrentlyDispatchedMessageAsInvalid(); \
     
    9089
    9190#define MESSAGE_CHECK_WITH_RETURN_VALUE_BASE(assertion, connection, returnValue) do { \
    92     ASSERT(assertion); \
    9391    if (UNLIKELY(!(assertion))) { \
    9492        (connection)->markCurrentlyDispatchedMessageAsInvalid(); \
Note: See TracChangeset for help on using the changeset viewer.