Hi Benjamin,

> Looks llke nobody objects. Please make sure to #ifdef everything and
disable the feature on OS X and iOS.

Ok, let me add #ifdef guard for WK2 ports which don't use this feature.


There are already basic test cases for this feature. But I think this isn't
enough to test all use cases.
  -
http://trac.webkit.org/browser/trunk/LayoutTests/fast/dom/NavigatorContentUtils

After landing WK2 implementation, I'm going to improve the test cases or
add new tests for some use cases.

Thanks,
Gyuyoung.


On Thu, May 21, 2015 at 3:32 PM, Benjamin Poulain <benja...@webkit.org>
wrote:

>  Looks llke nobody objects. Please make sure to #ifdef everything and
> disable the feature on OS X and iOS.
>
> What is your plan for testing?
>
>
> On 5/19/15 6:31 PM, Gyuyoung Kim wrote:
>
>  Hello,
>
>  I would like to listen what do you think to support
> 'registerProtocolHandler' in WebKit2.
>
>  This feature is to execute web content through registered custom
> protocol.
> - For example, web content can register "mailto" custom protocol using
> this feature,
>     <script>
>         navigator.registerProtocolHandler("mailto",
>                                           "https://mail.naver.com/";,
>                                           "Web Mail");
>     </script>
>
>      <html>
>     <head>
>         <title>Web Protocol Handler Sample - Test</title>
>     </head>
>         <body>
>             <p>Send an email : <a href="mailto://";>this !</a></p>
>         </body>
>     </html>
>
>  Besides this feature has been supported by Mozilla and Chromium (From
> Mozilla 3.0, Chromium 13).
>   -
> https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler
>   - https://developer.mozilla.org/en/docs/Web-based_protocol_handlers
>
>  The feature is included in the W3C recommendation 28 released on Oct.
> 2014.
>   - W3C spec : http://www.w3.org/TR/html5/webappapis.html#custom-handlers
>
>  IIRC, some WebKit1 ports supported this feature though, those ports were
> deprecated. Now WebKit port supports this feature no more.
>
>  There is a very old bug to support this feature though, it wasn't
> maintained so far. Recently I updated it based on latest WebKit.
> - https://bugs.webkit.org/show_bug.cgi?id=92749
>
>  Feel free to give me any feedback about this feature.
>
>  Gyuyoung.
>
>
> _______________________________________________
> webkit-dev mailing 
> listwebkit-dev@lists.webkit.orghttps://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to