Title: [212340] trunk/Source/WebCore
- Revision
- 212340
- Author
- [email protected]
- Date
- 2017-02-14 18:50:58 -0800 (Tue, 14 Feb 2017)
Log Message
[CURL] ResourceError created with error information should have default type Type::General
https://bugs.webkit.org/show_bug.cgi?id=168345
Patch by Basuke Suzuki <[email protected]> on 2017-02-14
Reviewed by Alex Christensen.
ResourceError has separate implementaion for each platform
so that the interface should be same.
On CURL port, the constructor with error information has
different default value on `type` parameter. It is Type::Null but other implementaitons have Type::General.
This causes some ResourceError is created inconsistent.
* platform/network/curl/ResourceError.h:
(WebCore::ResourceError::ResourceError):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (212339 => 212340)
--- trunk/Source/WebCore/ChangeLog 2017-02-15 01:50:27 UTC (rev 212339)
+++ trunk/Source/WebCore/ChangeLog 2017-02-15 02:50:58 UTC (rev 212340)
@@ -1,3 +1,19 @@
+2017-02-14 Basuke Suzuki <[email protected]>
+
+ [CURL] ResourceError created with error information should have default type Type::General
+ https://bugs.webkit.org/show_bug.cgi?id=168345
+
+ Reviewed by Alex Christensen.
+
+ ResourceError has separate implementaion for each platform
+ so that the interface should be same.
+ On CURL port, the constructor with error information has
+ different default value on `type` parameter. It is Type::Null but other implementaitons have Type::General.
+ This causes some ResourceError is created inconsistent.
+
+ * platform/network/curl/ResourceError.h:
+ (WebCore::ResourceError::ResourceError):
+
2017-02-14 Youenn Fablet <[email protected]>
[WebRTC] Add support for libwebrtc negotiation needed event
Modified: trunk/Source/WebCore/platform/network/curl/ResourceError.h (212339 => 212340)
--- trunk/Source/WebCore/platform/network/curl/ResourceError.h 2017-02-15 01:50:27 UTC (rev 212339)
+++ trunk/Source/WebCore/platform/network/curl/ResourceError.h 2017-02-15 02:50:58 UTC (rev 212340)
@@ -46,7 +46,7 @@
{
}
- ResourceError(const String& domain, int errorCode, const URL& failingURL, const String& localizedDescription, Type type = Type::Null)
+ ResourceError(const String& domain, int errorCode, const URL& failingURL, const String& localizedDescription, Type type = Type::General)
: ResourceErrorBase(domain, errorCode, failingURL, localizedDescription, type)
, m_sslErrors(0)
{
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes