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

QtScript crashes in Date.prototype.setMonth() on win32-g++

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.7.0
    • 4.6.1
    • Qt Script
    • None
    • win32-g++

      The following script causes a crash:

      d = new Date;
      d.setMonth();
      d.setMonth(2);

      It doesn't crash on Linux.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes