[Webkit-unassigned] [Bug 47085] Web Inspector: set XHR breakpoint from resource panel

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 4 07:27:24 PDT 2010


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





--- Comment #2 from Alexander Pavlov (apavlov) <apavlov at chromium.org>  2010-10-04 07:27:23 PST ---
(From update of attachment 69631)
View in context: https://bugs.webkit.org/attachment.cgi?id=69631&action=review

> WebCore/inspector/front-end/ResourcesPanel.js:1255
> +        var resource = null;

Seems like there's no need to initialize this explicitly

> WebCore/inspector/front-end/ResourcesPanel.js:1268
> +        if (resource && resource.category.name === "xhr") {

(... && resource.category === WebInspector.resourceCategories.xhr)
looks cleaner

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