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

[QtScript/JavaScriptCore] Allow setting timeout check interval, and make timeout check virtual

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Invalid
    • Fix Version/s: None
    • Component/s: Qt Script
    • Labels:
      None
    • Technical Risk:
      Normal

      Description

      Patch: http://gitorious.org/+qtwebkit-developers/qtwebkit/qtwebkit-qtscript-integration/commit/1710893a8320b0abdc615fe9f52d10395bfd36cf

      Reason: We want a timeout hook, so we can do e.g. event processing (for QScriptEngine::setProcessEventsInterval()).

      This patch can't be upstreamed as-is. It needs a justification / real usage upstream.

      Proposed action: Try to introduce a timeout/interval notification in the JSC C API, possibly using this patch to provide the plumbing.

      Dropping this patch would cause setProcessEventsInterval() and abortEvaluation() to stop working.
      An alternative might be to install a debugger client (so we get callbacks at every statement and can measure the time ourselves), at the potential expense of greatly reduced performance.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kenthans Kent Hansen (Inactive)
              Reporter:
              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