[webkit-changes] [WebKit/WebKit] 54db0d: Some `fast/xpath` tests hit an assertion in releas...

Vitaly Dyachkov noreply at github.com
Wed Aug 28 07:50:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 54db0db4919d22c2502dbf56382093ed8515251b
      https://github.com/WebKit/WebKit/commit/54db0db4919d22c2502dbf56382093ed8515251b
  Author: Vitaly Dyachkov <vitaly at igalia.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M Source/WebCore/xml/XPathNodeSet.cpp

  Log Message:
  -----------
  Some `fast/xpath` tests hit an assertion in release with `ENABLE_ASSERTS=1`
https://bugs.webkit.org/show_bug.cgi?id=278781

Reviewed by Anne van Kesteren.

The code assumes that `ASSERT()` macro is only enabled in debug builds,
but it can be enabled in release builds too using `ENABLE_ASSERTS=1`.

* Source/WebCore/xml/XPathNodeSet.cpp:
(WebCore::XPath::sortBlock):

Canonical link: https://commits.webkit.org/282842@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list