Diff
Modified: trunk/ChangeLog (121896 => 121897)
--- trunk/ChangeLog 2012-07-05 10:33:54 UTC (rev 121896)
+++ trunk/ChangeLog 2012-07-05 10:52:48 UTC (rev 121897)
@@ -1,3 +1,12 @@
+2012-07-05 Dongwoo Im <dw...@samsung.com>
+
+ [EFL] Enable the CUSTOM_SCHEME_HANDLER feature as default.
+ https://bugs.webkit.org/show_bug.cgi?id=88608
+
+ Reviewed by Hajime Morita.
+
+ * Source/cmake/OptionsEfl.cmake: Enable the CUSTOM_SCHEME_HANDLER feature as default.
+
2012-07-05 Ryuan Choi <ryuan.c...@samsung.com>
[Wk2][EFL] EFL needs a WebKitTestRunner
Modified: trunk/LayoutTests/ChangeLog (121896 => 121897)
--- trunk/LayoutTests/ChangeLog 2012-07-05 10:33:54 UTC (rev 121896)
+++ trunk/LayoutTests/ChangeLog 2012-07-05 10:52:48 UTC (rev 121897)
@@ -1,3 +1,12 @@
+2012-07-05 Dongwoo Im <dw...@samsung.com>
+
+ [EFL] Enable the CUSTOM_SCHEME_HANDLER feature as default.
+ https://bugs.webkit.org/show_bug.cgi?id=88608
+
+ Reviewed by Hajime Morita.
+
+ * platform/efl/fast/dom/unregister-protocol-handler-expected.txt: Expected result of the EFL port.
+
2012-07-05 Kristóf Kosztyó <kkris...@inf.u-szeged.hu>
[Qt] Unreviewed gardening after r121891.
Added: trunk/LayoutTests/platform/efl/fast/dom/unregister-protocol-handler-expected.txt (0 => 121897)
--- trunk/LayoutTests/platform/efl/fast/dom/unregister-protocol-handler-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/efl/fast/dom/unregister-protocol-handler-expected.txt 2012-07-05 10:52:48 UTC (rev 121897)
@@ -0,0 +1,20 @@
+This test makes sure that navigator.unregisterProtocolHandler throws the proper exceptions and has no-op default implementation.
+
+Pass: window.navigator.unregisterProtocolHandler is defined.
+Pass: Invalid protocol "http" threw SECURITY_ERR exception.
+Pass: Invalid protocol "https" threw SECURITY_ERR exception.
+Pass: Invalid protocol "file" threw SECURITY_ERR exception.
+Pass: Valid protocol "irc" allowed.
+Pass: Valid protocol "mailto" allowed.
+Pass: Valid protocol "mms" allowed.
+Pass: Valid protocol "news" allowed.
+Pass: Valid protocol "nntp" allowed.
+Pass: Valid protocol "sms" allowed.
+Pass: Valid protocol "smsto" allowed.
+Pass: Valid protocol "tel" allowed.
+Pass: Valid protocol "urn" allowed.
+Pass: Valid protocol "webcal" allowed.
+Pass: Invalid url "" threw SYNTAX_ERR exception.
+Pass: Invalid url "%S" threw SYNTAX_ERR exception.
+Pass: Valid call succeeded.
+
Modified: trunk/Source/WebKit2/ChangeLog (121896 => 121897)
--- trunk/Source/WebKit2/ChangeLog 2012-07-05 10:33:54 UTC (rev 121896)
+++ trunk/Source/WebKit2/ChangeLog 2012-07-05 10:52:48 UTC (rev 121897)
@@ -1,3 +1,15 @@
+2012-07-05 Dongwoo Im <dw...@samsung.com>
+
+ [EFL] Enable the CUSTOM_SCHEME_HANDLER feature as default.
+ https://bugs.webkit.org/show_bug.cgi?id=88608
+
+ Reviewed by Hajime Morita.
+
+ * WebProcess/WebCoreSupport/WebChromeClient.h:
+ (WebKit::WebChromeClient::isProtocolHandlerRegistered): Add a stub function.
+ (WebKit::WebChromeClient::unregisterProtocolHandler): Add a stub function.
+ (WebChromeClient):
+
2012-07-05 Ryuan Choi <ryuan.c...@samsung.com>
[Wk2][EFL] EFL needs a WebKitTestRunner
Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h (121896 => 121897)
--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h 2012-07-05 10:33:54 UTC (rev 121896)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h 2012-07-05 10:52:48 UTC (rev 121897)
@@ -220,6 +220,11 @@
virtual void registerProtocolHandler(const String& scheme, const String& baseURL, const String& url, const String& title) OVERRIDE { }
#endif
+#if ENABLE(CUSTOM_SCHEME_HANDLER)
+ virtual CustomHandlersState isProtocolHandlerRegistered(const String&, const String&, const String&) { return CustomHandlersDeclined; }
+ virtual void unregisterProtocolHandler(const String&, const String&, const String&) { }
+#endif
+
String m_cachedToolTip;
mutable RefPtr<WebFrame> m_cachedFrameSetLargestFrame;
mutable bool m_cachedMainFrameHasHorizontalScrollbar;
Modified: trunk/Source/cmake/OptionsEfl.cmake (121896 => 121897)
--- trunk/Source/cmake/OptionsEfl.cmake 2012-07-05 10:33:54 UTC (rev 121896)
+++ trunk/Source/cmake/OptionsEfl.cmake 2012-07-05 10:52:48 UTC (rev 121897)
@@ -71,6 +71,7 @@
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_BLOB ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_IMAGE_SET ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_VARIABLES ON)
+WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CUSTOM_SCHEME_HANDLER ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_DATALIST ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_DRAG_SUPPORT ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_FAST_MOBILE_SCROLLING ON)
Modified: trunk/Tools/ChangeLog (121896 => 121897)
--- trunk/Tools/ChangeLog 2012-07-05 10:33:54 UTC (rev 121896)
+++ trunk/Tools/ChangeLog 2012-07-05 10:52:48 UTC (rev 121897)
@@ -1,3 +1,12 @@
+2012-07-05 Dongwoo Im <dw...@samsung.com>
+
+ [EFL] Enable the CUSTOM_SCHEME_HANDLER feature as default.
+ https://bugs.webkit.org/show_bug.cgi?id=88608
+
+ Reviewed by Hajime Morita.
+
+ * Scripts/webkitperl/FeatureList.pm: Enable the CUSTOM_SCHEME_HANDLER feature as default.
+
2012-07-05 Ryuan Choi <ryuan.c...@samsung.com>
[Wk2][EFL] EFL needs a WebKitTestRunner
Modified: trunk/Tools/Scripts/webkitperl/FeatureList.pm (121896 => 121897)
--- trunk/Tools/Scripts/webkitperl/FeatureList.pm 2012-07-05 10:33:54 UTC (rev 121896)
+++ trunk/Tools/Scripts/webkitperl/FeatureList.pm 2012-07-05 10:52:48 UTC (rev 121897)
@@ -178,7 +178,7 @@
define => "ENABLE_CSS_VARIABLES", default => isEfl(), value => \$cssVariablesSupport },
{ option => "custom-scheme-handler", desc => "Toggle Custom Scheme Handler support",
- define => "ENABLE_CUSTOM_SCHEME_HANDLER", default => isBlackBerry(), value => \$customSchemeHandlerSupport },
+ define => "ENABLE_CUSTOM_SCHEME_HANDLER", default => (isBlackBerry() || isEfl()), value => \$customSchemeHandlerSupport },
{ option => "datalist", desc => "Toggle Datalist support",
define => "ENABLE_DATALIST", default => isEfl(), value => \$datalistSupport },