[prev in list] [next in list] [prev in thread] [next in thread]
List: webkit-dev
Subject: Re: [webkit-dev] Support "registerProtocolHandler" in WebKit2
From: Gyuyoung Kim <gyuyoung.kim () webkit ! org>
Date: 2015-05-21 7:08:30
Message-ID: CA+94+n65i_cUyRPFCybQhFqepqX0Xch8JZcJh6y14Yu_L+fCAA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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 <benjamin@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
>
>
[Attachment #5 (text/html)]
<div dir="ltr">Hi Benjamin,<div><br></div><div><div><span \
style="font-size:12.8000001907349px">> Looks llke nobody objects. Please make \
sure to #ifdef everything and disable the feature on OS X and \
iOS.</span><br></div><div><br></div><div>Ok, let me add #ifdef guard for WK2 ports \
which don't use this feature.</div></div><div><br></div><div><br></div><div>There \
are already basic test cases for this feature. But I think this isn't enough to \
test all use cases.</div><div> - <a \
href="http://trac.webkit.org/browser/trunk/LayoutTests/fast/dom/NavigatorContentUtils" \
>http://trac.webkit.org/browser/trunk/LayoutTests/fast/dom/NavigatorContentUtils</a><br></div><div><br></div><div>After \
> landing WK2 implementation, I'm going to improve the test cases or add new \
> tests for some use \
> cases.</div><div><br></div><div>Thanks,</div><div>Gyuyoung.</div><div><br></div></div><div \
> class="gmail_extra"><br><div class="gmail_quote">On Thu, May 21, 2015 at 3:32 PM, \
> Benjamin Poulain <span dir="ltr"><<a href="mailto:benjamin@webkit.org" \
> target="_blank">benjamin@webkit.org</a>></span> wrote:<br><blockquote \
> class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
> solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Looks llke nobody objects. Please make sure to #ifdef everything and
disable the feature on OS X and iOS.<br>
<br>
What is your plan for testing?<div><div class="h5"><br>
<br>
<div>On 5/19/15 6:31 PM, Gyuyoung Kim wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>Hello,</div>
<div><br>
</div>
<div>I would like to listen what do you think to support
'registerProtocolHandler' in WebKit2.</div>
<div><br>
</div>
<div>This feature is to execute web content through registered
custom protocol.</div>
<div>- For example, web content can register "mailto" custom
protocol using this feature,</div>
<div> <script></div>
<div> navigator.registerProtocolHandler("mailto",</div>
<div> "<a \
href="https://mail.naver.com/" \
target="_blank">https://mail.naver.com/</a>",</div>
<div> "Web \
Mail");</div> <div> </script></div>
<div><br>
</div>
<div> <html></div>
<div> <head></div>
<div> <title>Web Protocol Handler Sample -
Test</title></div>
<div> </head></div>
<div> <body></div>
<div> <p>Send an email : <a
href=<a>"mailto://"</a>>this !</a></p></div>
<div> </body></div>
<div> </html></div>
<div><br>
</div>
<div>Besides this feature has been supported by Mozilla and
Chromium (From Mozilla 3.0, Chromium 13).</div>
<div> - <a \
href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler" \
target="_blank">https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler</a></div>
<div> - <a href="https://developer.mozilla.org/en/docs/Web-based_protocol_handlers" \
target="_blank">https://developer.mozilla.org/en/docs/Web-based_protocol_handlers</a></div>
<div><br>
</div>
<div>The feature is included in the W3C recommendation 28
released on Oct. 2014.</div>
<div> - W3C spec : <a \
href="http://www.w3.org/TR/html5/webappapis.html#custom-handlers" \
target="_blank">http://www.w3.org/TR/html5/webappapis.html#custom-handlers</a></div> \
<div><br> </div>
<div>IIRC, some WebKit1 ports supported this feature though,
those ports were deprecated. Now WebKit port supports this
feature no more.</div>
<div><br>
</div>
<div>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.</div>
<div>- <a href="https://bugs.webkit.org/show_bug.cgi?id=92749" \
target="_blank">https://bugs.webkit.org/show_bug.cgi?id=92749</a></div> <div><br>
</div>
<div>Feel free to give me any feedback about this feature.</div>
<div><br>
</div>
<div>Gyuyoung.</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
webkit-dev mailing list
<a href="mailto:webkit-dev@lists.webkit.org" \
target="_blank">webkit-dev@lists.webkit.org</a> <a \
href="https://lists.webkit.org/mailman/listinfo/webkit-dev" \
target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-dev</a> </pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
webkit-dev mailing list<br>
<a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a><br>
<a href="https://lists.webkit.org/mailman/listinfo/webkit-dev" \
target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-dev</a><br> \
<br></blockquote></div><br></div>
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic