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

QML/JS should implement globalThis

    XMLWordPrintable

Details

    • All

    Description

      Apparently, JavaScript has globalThis global property, and it's marked as fully supported in Browser compatibility table on MDN:

      https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis

      QML/JS engine has to implement it as well, both in QML components and JavaScript modules/sources.

      I guess, the value would be this thing? https://doc.qt.io/qt-5/qtqml-javascript-qmlglobalobject.html

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            ratijas ivan tkachenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes