Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-128208

Add support in QML for missing JS console methods

XMLWordPrintable

      Currently, QML supports the Console API functions listed at: https://doc.qt.io/qt-6/qtquick-debugging.html

      Though, JavaScript is capable of many more useful console functions: https://developer.mozilla.org/en-US/docs/Web/API/console
       
      The suggestion is to add support for the console methods that not already supported by the QML Console API, notably the group methods:

      • console.group()
      • console.groupCollapsed()
      • console.groupEnd()

      The other unsupported console methods would possibly be useful if it were easy to add in at the same time as the group ones.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtqmlteam Qt Qml Team User
            lysandra.sola Lysandra Sola
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes