Changeset 89658 in webkit
- Timestamp:
- Jun 24, 2011, 1:25:50 AM (14 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r89652 r89658 1 2011-06-24 Vsevolod Vlasov <vsevik@chromium.org> 2 3 Reviewed by Darin Fisher. 4 5 Web Inspector: [Chromium] Successfully prefetched page shows up as an error in console 6 https://bugs.webkit.org/show_bug.cgi?id=62396 7 8 * public/WebURLError.h: 9 (WebKit::WebURLError::WebURLError): 10 * src/WebURLError.cpp: 11 (WebKit::WebURLError::operator=): 12 (WebKit::WebURLError::operator ResourceError): 13 1 14 2011-06-23 Yury Semikhatsky <yurys@chromium.org> 2 15 -
trunk/Source/WebKit/chromium/public/WebURLError.h
r50682 r89658 53 53 int reason; 54 54 55 // A flag showing whether this error should be treated as a cancellation, 56 // e.g. we do not show console errors for cancellations. 57 bool isCancellation; 58 55 59 // The url that failed to load. 56 60 WebURL unreachableURL; 57 61 58 WebURLError() : reason(0) { }62 WebURLError() : reason(0), isCancellation(false) { } 59 63 60 64 #if defined(WEBKIT_IMPLEMENTATION) -
trunk/Source/WebKit/chromium/src/WebURLError.cpp
r56825 r89658 53 53 reason = error.errorCode(); 54 54 unreachableURL = KURL(ParsedURLString, error.failingURL()); 55 isCancellation = error.isCancellation(); 55 56 } 56 57 return *this; … … 62 63 return ResourceError(); 63 64 CString spec = unreachableURL.spec(); 64 return ResourceError(domain, reason, 65 String::fromUTF8(spec.data(), spec.length()), 66 String()); 65 ResourceError resourceError = ResourceError(domain, reason, 66 String::fromUTF8(spec.data(), 67 spec.length()), String()); 68 resourceError.setIsCancellation(isCancellation); 69 return resourceError; 67 70 } 68 71
Note:
See TracChangeset
for help on using the changeset viewer.