[Webkit-unassigned] [Bug 95187] Web Inspector: Add ability to replay XHR in network panel.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 30 23:58:58 PDT 2012


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


Vsevolod Vlasov <vsevik at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #161487|review?                     |review-
               Flag|                            |




--- Comment #31 from Vsevolod Vlasov <vsevik at chromium.org>  2012-08-30 23:59:04 PST ---
(From update of attachment 161487)
View in context: https://bugs.webkit.org/attachment.cgi?id=161487&action=review

> Source/WebCore/inspector/InspectorResourceAgent.cpp:212
> +        OwnPtr<CrossThreadHTTPHeaderMapData> headerMapData = headers.copyData();

Please remove

> Source/WebCore/inspector/InspectorResourceAgent.cpp:614
> +        xhr->setRequestHeader(it->first, it->second, code);    xhr->sendFromInspector(xhrData->m_formData, code);

New line

> Source/WebCore/inspector/NetworkResourcesData.cpp:276
> +void NetworkResourcesData::setXHRReplayData(const String& requestId, PassRefPtr<XHRReplayData> XHRData)

zhrData

> Source/WebCore/inspector/NetworkResourcesData.h:51
> +    String m_method;

Please make fields private an add getters.

> Source/WebCore/inspector/NetworkResourcesData.h:108
> +        void setXHRReplayData(PassRefPtr<XHRReplayData> XHRData) { m_xhrReplayData = XHRData;};

space between ; and }

> Source/WebCore/loader/DocumentThreadableLoader.cpp:404
> +    if (m_actualRequest)

Please surround with #if ENABLE(INSPECTOR)

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