Add API to check wheter the given encoding is supported by WebKit
authorGrzegorz Czajkowski <g.czajkowski@samsung.com>
Tue, 20 Aug 2013 13:33:40 +0000 (15:33 +0200)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Thu, 26 Sep 2013 09:16:06 +0000 (09:16 +0000)
commit345dd646dbf22dbd1cf2af411856f3c1fa95be47
treeb8516ffa2014d6d42d4684298f55606cbee5fcc2
parent9674b1456e2de90fc79e28d57c6db773b9df6190
Add API to check wheter the given encoding is supported by WebKit

[Title] Add API to check whether the given encoding is supported by WebKit
[Issue] N/A
[Problem] The client is able to set encoding even if WebKit does not support it.
[Solution] Expose ewk_settings_is_encoding_valid(const char*) API to check
           whether WebKit supports the requested encoding.
           This checking could be done while setting the encoding in
           ewk_settings_default_encoding_set. However, WRT Team prefers
           separated API.

Change-Id: Ib38fc266082d30c35a0716ee859894bd7fd702a1
Source/WTF/wtf/Platform.h
Source/WebKit2/UIProcess/API/efl/ewk_settings.cpp
Source/WebKit2/UIProcess/API/efl/ewk_settings.h
TC/unit_test/webkit2/Makefile
TC/unit_test/webkit2/tslist
TC/unit_test/webkit2/utc_webkit2_ewk_settings_is_encoding_valid_func.c [new file with mode: 0644]