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

Result of QScriptContext::popScope() for a native context depends on whether activationObject() has been called first

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.0
    • 4.6.0
    • Qt Script
    • None
    • 1f40fe507e6b6c74144cbb998cc91f88f9e33168

    Description

      The attached program gives the result

      1 "TypeError: No default value"

      If the "// ctx->activationObject();" line is uncommented, the program gives the result

      1 "[object global]"

      which is the expected result.

      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:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes