[webkit-changes] [WebKit/WebKit] 1171f4: Improve assertion in ValidatedFormListedElement()

Chris Dumez noreply at github.com
Thu Mar 9 08:55:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1171f470c98f05f8aed033d8cbe6f1c135a847b8
      https://github.com/WebKit/WebKit/commit/1171f470c98f05f8aed033d8cbe6f1c135a847b8
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

  Changed paths:
    M Source/WebCore/html/ValidatedFormListedElement.cpp

  Log Message:
  -----------
  Improve assertion in ValidatedFormListedElement()
https://bugs.webkit.org/show_bug.cgi?id=253626

Reviewed by Darin Adler and Tim Nguyen.

Include supportsReadOnly() check as part of the assertion instead of doing it
outside. This makes 100% sure we don't call supportsReadOnly() on release
builds.

* Source/WebCore/html/ValidatedFormListedElement.cpp:

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




More information about the webkit-changes mailing list