This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Web Inspector: Improve rendering of GLenums in WebGL canvas recordings.
https://bugs.webkit.org/show_bug.cgi?id=239586 Patch by Dan Glastonbury <email@example.com> on 2022-04-27 Reviewed by Devin Rousso. * Source/WebInspectorUI/UserInterface/Models/RecordingAction.js: (WI.RecordingAction.constantNameForParameter): Arrays are also objects, so checking for typeof x == "object" is not enough to distinguish arrays from dictionaries. Since the if above the failing check was handling arrays, turn "object" check into an `else if` handles arrays and dictionaries correctly. Canonical link: https://commits.webkit.org/250062@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@293541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 2 changed files with 18 additions and 4 deletions.