[Webkit-unassigned] [Bug 86015] New: [Qt] Exceptions in JavaScript sources loading from the qrc:/ scheme do not contain a stacktrace object, nor an associated line number or description/message text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 9 13:59:15 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=86015

           Summary: [Qt] Exceptions in JavaScript sources loading from the
                    qrc:/ scheme do not contain a stacktrace object, nor
                    an associated line number or description/message text
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: Qt
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jarred at webkit.org


Firstly, I am not sure if this should be marked as a "WebCore JavaScript" component, but it is Qt specific obviously.

When a JavaScript source loaded from qrc:/ throws an exception, that exception object does not contain a stacktrace. Additionally the console error does not have an associated line number or exception message/description, instead showing a line number of 0 and a description of "undefined".

If a JS source is from any other remote (http://) or local (file://) origin, then the line number and exception message are accurately and readily available with the console error message.

qrc is of course recognized as a local scheme in WebCore, but perhaps JSC doesn't know what to do with qrc files in terms of providing exception information?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list