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?
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.