[Webkit-unassigned] [Bug 50644] New: [Qt] tagging network replies created by webkit with useful information

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 7 13:59:42 PST 2010


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

           Summary: [Qt] tagging network replies created by webkit with
                    useful information
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: Qt
          Severity: Enhancement
          Priority: P3
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: robert at webkit.org


On 12/03/2010 06:38 PM, ext Piotr Dobrogost wrote:
> I'm creating a screen scraper. The information I'm looking for come in response to ajax calls so I need to monitor all ajax calls and check incoming data. To do so I need to know if an incoming reply is the reply to ajax request or not.
> I'd like to know if there were any thoughts on tagging each QNetworkReply created by webkit (QNetworkManager of QWebPage) with some additional information describing the request? In my case this would be information if it originates from XmlHttp object but mgoetz on #qt-labs suggested other information like type of a resource; script, image etc.

There is no such tags currently. I also think that would be useful.

Such information is needed when implementing filters for AdBlock, this 
cannot be done with the current implementation.

For example ( see http://adblockplus.org/en/filters ):
  * script — external scripts loaded via HTML script tag
  * image — regular images, typically loaded via HTML img tag
  * xmlhttprequest — requests started by the XMLHttpRequest object

Using http://doc.trolltech.com/4.5/qnetworkrequest.html#Attribute-enum
is one possible way of doing this. QtWebKit would tag the request depending on the origin of the request.
This same problem was solved in the case of originating frames at: https://bugs.webkit.org/show_bug.cgi?id=29975

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