WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
76824
[Qt] In the inspector it is not showing any dynamically loaded Javascript files
https://bugs.webkit.org/show_bug.cgi?id=76824
Summary
[Qt] In the inspector it is not showing any dynamically loaded Javascript files
andy.shaw
Reported
2012-01-23 06:06:36 PST
In the inspector it is not showing any dynamically loaded Javascript files, this was working with the WebKit version with Qt 4.7.x but not with Qt 4.8.x.
Attachments
Add attachment
proposed patch, testcase, etc.
bohdan.korniyenko
Comment 1
2012-03-02 01:01:26 PST
--- /Users/user/QtCommercialSdk/Src/qt/480/src/3rdparty/webkit/Source/JavaScriptCore/parser/SourceProvider.h.orig 2012-03-02 10:48:40.000000000 +0200 +++ /Users/user/QtCommercialSdk/Src/qt/480/src/3rdparty/webkit/Source/JavaScriptCore/parser/SourceProvider.h 2012-03-01 18:59:45.000000000 +0200 @@ -82,6 +82,10 @@ public: static PassRefPtr<UStringSourceProvider> create(const UString& source, const UString& url) { + QRegExp rxlen("//[ \\t]*@[ \\t]*sourceURL[ \\t]*=[ \\t]*(\\S+).*$"); + if (rxlen.indexIn(source.utf8().data()) > -1) + return adoptRef(new UStringSourceProvider(source, UString(rxlen.cap(1).toAscii().data()))); + return adoptRef(new UStringSourceProvider(source, url)); }
Jocelyn Turcotte
Comment 2
2014-02-03 03:19:45 PST
=== 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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug