Change the default return value of Certificate Error handling function.
authorSungman Kim <ssungmai.kim@samsung.com>
Thu, 28 Mar 2013 02:12:09 +0000 (11:12 +0900)
committerSungman Kim <ssungmai.kim@samsung.com>
Thu, 28 Mar 2013 02:23:04 +0000 (11:23 +0900)
[Title] Change the default return value for certificate error handling.
[Issue#] N/A
[Problem] When the xmlhttprequest load request synchronously and in case of https, Page doesn't be displayed normally.
[Cause] When receive the header, didReceiveCertificateError function that is needed to continue for https return always false. It is a default value.
[Solution] Change the default value to true so that can continue about https resource handling.
[SCMRequest] N/A

Change-Id: Iacdecab429015a2e70919b02ba7633f7c389ccdb

Source/WebCore/platform/network/ResourceHandleClient.h

index 013ce2b..1f73582 100644 (file)
@@ -93,7 +93,7 @@ namespace WebCore {
         virtual void receivedCancellation(ResourceHandle*, const AuthenticationChallenge&) { }
 
 #if ENABLE(TIZEN_CERTIFICATE_HANDLING)
-        virtual bool didReceiveCertificateError(ResourceHandle*, bool, const char*, const char*, int) { return false; }
+        virtual bool didReceiveCertificateError(ResourceHandle*, bool, const char*, const char*, int) { return true; }
 #endif
 
 #if PLATFORM(MAC)