Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-17640 Fix autotest failures for V8-based QtScript back-end
  3. QTBUG-17664

XFAIL : tst_QScriptEngine::newVariant() FIXME: newly created QObject's prototype is an JS Object

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Invalid
    • P2: Important
    • None
    • Qt Script
    • None

    Description

      Autotest: tst_QScriptEngine::newVariant()

      The failure comment refers to QObject but this is testing QVariant. The QVariant prototype object should itself be a QVariant (i.e. wrapping an invalid QVariant) and have methods valueOf and toString. I don't know if anyone really relies on the QVariant prototype itself being a variant; it's just for consistency with the ECMA classes (The Number prototype is a number, the Array prototype is an array, etc).

      Attachments

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

        Activity

          People

            kenthans Kent Hansen (Inactive)
            kenthans Kent Hansen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes