Update change log and spec for wrt-plugins-tizen_0.4.14-1
authorKisub Song <kisubs.song@samsung.com>
Mon, 8 Apr 2013 12:07:20 +0000 (21:07 +0900)
committerKisub Song <kisubs.song@samsung.com>
Mon, 8 Apr 2013 12:12:56 +0000 (21:12 +0900)
[Issue#] N/A
[Problem] NetworkBearerSelection Unit Test Failed
[Cause] Error code handling policy changed
[Solution] Changed error code accordingly

[SCMRequest] N/A

Change-Id: I06cbaf75742b6ea66d0056eec2cdead493084e12

packaging/wrt-plugins-tizen.spec
src/NetworkBearerSelection/JSNetworkBearerSelection.cpp

index 73485ba..157e72b 100755 (executable)
@@ -1,7 +1,7 @@
 Name:       wrt-plugins-tizen
 Summary:    JavaScript plugins for WebRuntime
 Version:    0.4.14
-Release:    0
+Release:    1
 Group:      Development/Libraries
 License:    Apache License, Version 2.0
 Source0:    %{name}-%{version}.tar.gz
index 3b2f00c..166a3f3 100755 (executable)
@@ -242,7 +242,7 @@ JSValueRef JSNetworkBearerSelection::releaseRouteToHost(JSContextRef context, JS
     std::string networkType = converter.toString(arguments[0]);
     std::string domainName = converter.toString(arguments[1]);
     if (strcmp(networkType.c_str(), "CELLULAR") != 0) {
-        return JSTizenExceptionFactory::postException(context, exception, JSTizenException::INVALID_VALUES_ERROR, "Invalid values error");        
+        return JSTizenExceptionFactory::postException(context, exception, JSTizenException::TYPE_MISMATCH_ERROR, "Type missmatch error");        
     }
 
     JSValueRef onSuccessForCbm = NULL, onErrorForCbm = NULL;