Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-11475 QtScript's patches to JavaScriptCore
  3. QTBUG-11691

[QtScript/JavaScriptCore] Provide error message when Function.prototype.toString is called on incompatible object

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • P4: Low
    • None
    • Qt Script
    • None

    Description

      See http://gitorious.org/+qtwebkit-developers/qtwebkit/qtwebkit-qtscript-integration/commit/8a5fa99bb544699551f5a83aaf055512624ba827

      There are a ton of functions that throw a TypeError without providing a message. Fixing it for just this one function (just because it happens to be tested by a Qt autotest) seems silly.

      OTOH, FireFox (SpiderMonkey) does give the desired error message.

      Suggested action: Create an upstream bug pointing out the lack of error messages, and drop this patch.

      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