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

Crash in v8engine object comparison callback

    XMLWordPrintable

Details

    • d2921ffc52fed380326f8abb86d6d659cc47f9d1

    Description

      In debug mode, the v8engine's object comparison callback will crash if one of the arguments to the comparison is a value-type but the other is a non-value type.

      import QtQuick 2.0
      
      Item {
          property variant p1: Qt.point(1,2)
          property variant p2: {"x":1, "y":2}
          Component.onCompleted: {
              console.log("p1 == p2 : " + (p1 == p2))
          }
      }
      

      Attachments

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

        Activity

          People

            chriadam Christopher Adams (closed Nokia identity) (Inactive)
            chriadam Christopher Adams (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes