[webkit-changes] [WebKit/WebKit] 1a9f2a: Fix bug in VTTCue::toJSON() found by new libcpp as...

Chris Dumez noreply at github.com
Wed Feb 1 11:31:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1a9f2a2c95a6f5469424a880f82818f37b21710d
      https://github.com/WebKit/WebKit/commit/1a9f2a2c95a6f5469424a880f82818f37b21710d
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-02-01 (Wed, 01 Feb 2023)

  Changed paths:
    M Source/WebCore/html/track/VTTCue.cpp

  Log Message:
  -----------
  Fix bug in VTTCue::toJSON() found by new libcpp assertions
https://bugs.webkit.org/show_bug.cgi?id=251476
rdar://104893184

Reviewed by Jer Noble.

Fix bug in VTTCue::toJSON() found by new libcpp assertions. This was
causing media/track/track-extended-descriptions.html to crash on some
bots.

The if condition was reversed.

* Source/WebCore/html/track/VTTCue.cpp:
(WebCore::VTTCue::toJSON const):

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




More information about the webkit-changes mailing list