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

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

    XMLWordPrintable

Details

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

    Description

      The QObject prototype object should itself be a QObject (i.e. wrapping a null pointer) and have methods valueOf and toString.
      I don't know if anyone really relies on this; it's 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