[Webkit-unassigned] [Bug 87424] New: Web Inspector: Resource object has no methods getContent and setContent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 24 13:47:26 PDT 2012


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

           Summary: Web Inspector: Resource object has no methods
                    getContent and setContent
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://code.google.com/chrome/extensions/devtools.insp
                    ectedWindow.html#type-Resource
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: janx at chromium.org
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


DOCUMENTATION:
- http://code.google.com/chrome/extensions/devtools.panels.html#method-setOpenResourceHandler
- http://code.google.com/chrome/extensions/devtools.inspectedWindow.html#type-Resource

STEPS TO REPRODUCE:
- Write a devtools extension using `chrome.devtools.panels.setOpenResourceHandler(function callback)`.
- The handler callback `function(object Resource) {...};` receives a `Resource` object whenever the user clicks on a resource link.

EVENT: User clicks on a valid resource link.

EXPECTED: Handler called with `Resource` object, having attributes `type` and `url`, and methods `getContent` and `setContent`.

OBSERVED: Handler called with `Resource` object, having attributes `type` and `url, but no methods.

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