[webkit-dev] Add a set of new APIs for the Custom Scheme and Content Handler.

DongWoo Im dw.im at samsung.com
Mon Nov 28 20:54:46 PST 2011


Hi webkit-dev,

I would like to let you know that I'm planning to add a set of new APIs for the Custom Scheme and Content Handler.
  ** Specification link : http://dev.w3.org/html5/spec/Overview.html#custom-handlers
  ** Bugs
     - Custom Scheme Handler :  https://bugs.webkit.org/show_bug.cgi?id=73176
     - Custom Content Handler : https://bugs.webkit.org/show_bug.cgi?id=73177

Originally, there just defined a kind of set functions, 'registerProtocolHandler' and 'registerContentHandler'.

In this patch (73176, 73177), two more APIs are added per each handler.
  (1) an API if a specific URL has been registered or not: 'isProtocolHandlerRegistered' and 'isContentHandlerRegistered'.
  (2) an API to remove a registered URL: 'unregisterProtocolHandler' and 'unregisterContentHandler'.

I would think these additional APIs could make the Custom Handler more useful. 


Also, I would like to roll back in the implementation of 'registerContentHandler', which was rolled out earlier.
This API was landed in r50477, but it rolled out in r62834 because the implementation was not completed in any WebKit port.
I will implement this API in the EFL port to support the 'registerContentHandler'.

It would be appreciated if you let me know how we could roll back in the 'registerContentHandler'.


Thanks.

Best Regards,
Dongwoo Im.


More information about the webkit-dev mailing list