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.
I am writing a patch to fix this, and a test to assert correct behavior.
Created attachment 143911 [details] Patch
Comment on attachment 143911 [details] Patch LGTM. Thanks for fixing this and welcome to WebKit!
Vsevolod, could you please stamp this.
Committed r118492: <http://trac.webkit.org/changeset/118492>
Thanks Andrey!