[Webkit-unassigned] [Bug 76824] [Qt] In the inspector it is not showing any dynamically loaded Javascript files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 2 01:01:26 PST 2012


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


bohdan.korniyenko at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bohdan.korniyenko at gmail.com




--- Comment #1 from bohdan.korniyenko at gmail.com  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));
         }

-- 
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