Changeset 115086 in webkit
- Timestamp:
- Apr 24, 2012 11:32:58 AM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/Platform/ChangeLog
r114983 r115086 1 2012-04-24 Yuzhu Shen <yzshen@chromium.org> 2 3 [chromium] Add a description field in WebURLError and show failure description in the inspector network tab. 4 https://bugs.webkit.org/show_bug.cgi?id=84566 5 6 Reviewed by Pavel Feldman. 7 8 * chromium/public/WebURLError.h: 9 (WebURLError): 10 1 11 2012-04-18 James Robinson <jamesr@chromium.org> 2 12 -
trunk/Source/Platform/chromium/public/WebURLError.h
r112501 r115086 60 60 WebURL unreachableURL; 61 61 62 // A description for the error. 63 WebString localizedDescription; 64 62 65 WebURLError() : reason(0), isCancellation(false) { } 63 66 -
trunk/Source/WebCore/ChangeLog
r115085 r115086 1 2012-04-24 Yuzhu Shen <yzshen@chromium.org> 2 3 [chromium] Add a description field in WebURLError and show failure description in the inspector network tab. 4 https://bugs.webkit.org/show_bug.cgi?id=84566 5 6 Reviewed by Pavel Feldman. 7 8 * inspector/front-end/NetworkPanel.js: 9 (WebInspector.NetworkDataGridNode.prototype._refreshStatusCell): 10 * platform/chromium/support/WebURLError.cpp: 11 (WebKit::WebURLError::operator=): 12 (WebKit::WebURLError::operator ResourceError): 13 1 14 2012-04-24 Rob Buis <rbuis@rim.com> 2 15 -
trunk/Source/WebCore/inspector/front-end/NetworkPanel.js
r114504 r115086 1859 1859 1860 1860 if (this._request.failed) { 1861 if (this._request.canceled) 1862 this._statusCell.setTextAndTitle(WebInspector.UIString("(canceled)")); 1863 else 1864 this._statusCell.setTextAndTitle(WebInspector.UIString("(failed)")); 1861 var failText = this._request.canceled ? WebInspector.UIString("(canceled)") : WebInspector.UIString("(failed)"); 1862 if (this._request.localizedFailDescription) { 1863 this._statusCell.appendChild(document.createTextNode(failText)); 1864 this._appendSubtitle(this._statusCell, this._request.localizedFailDescription); 1865 this._statusCell.title = failText + " " + this._request.localizedFailDescription; 1866 } else { 1867 this._statusCell.setTextAndTitle(failText); 1868 } 1865 1869 this._statusCell.addStyleClass("network-dim-cell"); 1866 1870 this.element.addStyleClass("network-error-row"); -
trunk/Source/WebCore/platform/chromium/support/WebURLError.cpp
r112754 r115086 54 54 unreachableURL = KURL(ParsedURLString, error.failingURL()); 55 55 isCancellation = error.isCancellation(); 56 localizedDescription = error.localizedDescription(); 56 57 } 57 58 return *this; … … 65 66 ResourceError resourceError = ResourceError(domain, reason, 66 67 String::fromUTF8(spec.data(), 67 spec.length()), String()); 68 spec.length()), 69 localizedDescription); 68 70 resourceError.setIsCancellation(isCancellation); 69 71 return resourceError;
Note: See TracChangeset
for help on using the changeset viewer.