[webkit-changes] [WebKit/WebKit] 8cf368: Debug assertion hit in `WebCore::FrameLoader::chec...

Richard Robinson noreply at github.com
Mon Jul 3 18:57:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8cf368ed3d211063f591761aaa24bf3d5e4deda3
      https://github.com/WebKit/WebKit/commit/8cf368ed3d211063f591761aaa24bf3d5e4deda3
  Author: Richard Robinson <richard_robinson2 at apple.com>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/editing/cocoa/DataDetectorType.h

  Log Message:
  -----------
  Debug assertion hit in `WebCore::FrameLoader::checkLoadCompleteForThisFrame`
https://bugs.webkit.org/show_bug.cgi?id=258830
rdar://111709160

Reviewed by Wenson Hsieh.

It is prohibited for enum classes that are used in OptionSets to have cases whose value is `0`,
and leads to a debug assertion, because an enum with a value of `0` in an `OptionSet` is
equivalent to an empty OptionSet.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/editing/cocoa/DataDetectorType.h:

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




More information about the webkit-changes mailing list